• 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!

GML Random choice between sprites when preforming an action

K

Klear

Guest
I'm trying to make my game choose between several options of sprites to show when I make my character jump.
So for example I have three sprite animations of my character jumping. Each jump is different.
I would like to make it so that when I press the 'jump button' the game randomly chooses to show one of the three jumps.
 
Top