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

Single animation cyclus

P

phaleron

Guest
Hi all :)

I was wondering what the best way to make a single animation cyclus is.

Explaind:

I have a character with a sword, every time i press space i want to show the "attack" animation ones..

I hope someone can help me with this struggle ^^
 
B

bojack29

Guest
keyboard space pressed event:
image_speed = 1;

animation end event:
image_speed = 0;
image_index = 0;
 
Top