Your Game Design Starting point for beginner and hobbyist game developers

19Jan/104

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:

  1. Animated menus in Game Maker 8 tutorial
  2. Breakout in Game Maker 8 tutorial
  3. Making Pong with Game Maker 8
  4. Making Pong with Game Maker 7
  5. Menus in Game Maker 7 tutorial
Comments (4) Trackbacks (0)
  1. how do you make a sprite that you have already drawn animated?

  2. 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).

  3. but if I move it stops…


Leave a comment

(required)

No trackbacks yet.