How to Make an Animated Sprite With Game Maker 7
The basics of animation in Game Maker are similar to the basics of animation in other applications. Animations are created by making a list of images, which give the illusion of an object in motion. Game Maker makes the process a little easier for you: any sprite (or game image) that contains multiple images will automatically be animated.
Instructions
-
-
1
Create a sprite by right-clicking the word "Sprite" in the object list and choosing "Create Sprite." Double-click the newly created sprite to open the sprite editor window. It is within the "Sprites" entry on the object list.
-
2
Click the "Edit Sprite" button.
-
-
3
Double-click the green thumbnail that reads "image 0."
-
4
Click the circle tool. Within the image, click and drag across the image with the mouse pointer to draw a circle. By default, it will be white with a black outline. Click the green check mark to save your work.
-
5
Click "image 0," click "Edit", and click "Copy." Alternatively, you can just click "image 0" and press control-C.
Click "Edit," and click "Paste." Or, press "ctrl"-"V". This will create a new image named "image 1."
-
6
Double-click "image 1." Select the paint bucket tool and choose the color blue from the color picker on the right side of the screen. Click inside the circle to change it to blue.
-
7
Click "Paste" again and double-click the new image which you created in the previous step. Change the color to red. Click inside the circle to make it a red circle. Click the green check marks to get back to the main Game Maker window.
-
8
Create an object using that sprite. In Game Maker, sprites themselves only represent the image. To have an object appear in the game, you'll need to create an "Object" of it and assign it the sprite. To do this, right-click the object tree and choose "Create new object." Choose "sprite 0" from the list box under the sprite tab.
-
9
Create a room, which is Game Maker's term for a game level, by right-clicking the room tree and choosing "Create room." Click anywhere inside the room and this will place your newly created object (and its associated sprite) within it. The first room you create will automatically be made the first level in the game.
-
10
Click the green arrow to run the game. The circle sprite will now be animated, changing color each frame.
Now that you know the steps behind animation in Game Maker, the limits are your own imagination. Create explosions, walk-cycles, or any other animation your game needs.
-
1