Topic:   GM Toolkit v1.3 to be released soon   (Read 24032 times)


0 Members and 3 Guests are viewing this topic.

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: GM Toolkit v1.3 to be released soon
« Reply #15 on: April 12, 2010, 06:23:53 PM »
Quote
Seems to have trouble formating scripts SELECT CASE in them. It probably only has trouble under certain conditions.

GameMaker does not support SELECT CASE.

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: GM Toolkit v1.3 to be released soon
« Reply #16 on: April 12, 2010, 06:28:19 PM »
Yes it does. If it doesn't then my games don't work.

SELECT CASE keydown$
  CASE "UPARROW"
    go up
  CASE "DOWNARROW"
    go down
  CASE "RIGHTARROW"
    go right
  CASE "LEFTARROW"
    go left
END SELECT

It has to support it because that above is how I do my movement.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: GM Toolkit v1.3 to be released soon
« Reply #17 on: April 12, 2010, 06:52:19 PM »
Nevermind. Al added it sometime ago. I haven't used GM in a long time. I will add support for it in the formatter and also the verifier.

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: GM Toolkit v1.3 to be released soon
« Reply #18 on: April 13, 2010, 08:08:31 AM »
Quote
Yes it does. If it doesn't then my games don't work.

SELECT CASE keydown$
 Â CASE "UPARROW"
 Â   go up
 Â CASE "DOWNARROW"
 Â   go down
 Â CASE "RIGHTARROW"
 Â   go right
 Â CASE "LEFTARROW"
 Â   go left
END SELECT

It has to support it because that above is how I do my movement.
Oh man, I wish I had known about this earlier.  Some of my nested IFs can get pretty hairy.   ;D