Game Development Reference
In-Depth Information
Creating a sprite
To create sprites, perform the following steps:
1. The first step we will be taking is to make a sprite so we can actually see our object
move. To do this, click on the green Pac-Man-looking button on the main toolbar
.
2. This will show the sprite properties for the sprite you just created. Let's name the
sprite spr_player . Notice the naming conventions mentioned in Chapter 3 , Re-
source Management being used here.
3. Now, click on the Edit Sprite button to open up the sprite editor. We need to create
a new frame in this sprite to draw in. To do this, go to File | New and then set the
width and height of the sprite to 32 . It should already be this value by default.
Search WWH ::




Custom Search