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

Steam Sprite animation too fast

G

GreenGuy

Guest
Hello guys!
I have a Animation ut its too fast.
Its so fast like the room spedd (60FPS).
I tried image_speed but i am too dumb or something xD
Please help.
 

jo-thijs

Member
Hi and welcome to the GMC!

You've already given the solution your own problem, just set image_speed to something lower
and be sure to not overwrite it by using the DnD actions to set the animation or something like that
and to not reset image_index somewhere where it shouldn't be reset.

The animation speed is (if there's no lag) image_speed * room_speed images per second.
 

Yal

šŸ§ *penguin noises*
GMC Elder
Keep in mind that the 'animation speed preview' in the sprite editor preview is "number of frames per image" while image_speed is the "number of images per frame". So if an image looks good with a preview speed of 6, and your room speed is 30, you'd set your image_speed to 0.2, because 6/30 = 0.2.
 
Top