Animating sprites in Game Maker 8
If you are well into making your games in Game Maker you probably want to have some animation for your characters and environments. To do this you need to use animated sprites and this is quite simple to setup really.
The first thing you need is a comic strip styled sprite and the import it to Game Maker using the built in tool for this. The short video tutorial will show you an example of how easily a simple animation can be done in Game Maker.
If the animation is too slow or fast you can change this. In the Create event for the object with the animated sprite add the action Execute Code (found under the Control tab). In this enter this line:
image_speed = 0.5
After this save and test your game. Adjusting the value up will make it faster and lower makes it slower.
Related posts you might like:
September 13th, 2010 - 03:20
Very nice
April 28th, 2011 - 14:52
how do you make a sprite that you have already drawn animated?
April 28th, 2011 - 18:18
Ninja: You can import animated GIFs into Game Maker. But would recomend transfering your sprites to the animation system used in GM (the system in the video).
September 25th, 2011 - 17:51
but if I move it stops…