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

Play sprite through, then loop middle sprites

J

Just a guy

Guest
I want to play a sprite where said object burns. The startup burn animations and continuous burn animation are in the same sprite. So sprites 1&3 are the startup burn animations, and the rest is a loop burn animation. How can I get a sprite to do this?
 
S

spoonsinbunnies

Guest
this should get you on the right track, although there isn't any reason to not split it, another 3 frame animation isn't going to add to your game
create
start=false;
step
if start==false && image_index==3
start=true;
if start=true && image_index<4
image_index=4
 
Top