• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

or statement

  1. D1Project

    GML Visual Drag and Drop if [...] or [...]

    Hello, Using Drag and Drop, is there a way to do if [...] or [...] ? The only workaround I found is to use an "If Expression" and put the whole expression in. For example, if I have a boss with 4 phases, but I want him to execute the same action on phase 2 and 4. In GML, we would put "if phase...
  2. N

    GameMaker How to use != as an or statement

    Here is the code I need to alter : if (variable01 != "fire") { sprite_index = default_sprite; } I need this to be come if variable01 is 'fire' OR 'water' then change the sprite index. How do you make it into an 'or' statement? I couldn't find an example of this. Thanks!
Top