While all the animations in this book will be using GIF images for the sake of expediency, it would be remiss if we did not cover how to import a sprite sheet. A sprite sheet is generally a PNG file with all the frames of animation of an object, such as a character, placed evenly in a grid. We can then quickly cut out each frame of animation in GameMaker to build the individual sprites we need. Let's try this out!
Chapter_02
.spr_PlayerSpriteSheet
.Chapter 2/Sprites/PlayerSpriteSheet.png
with nothing selected in the Image Information section. This will open the Loading a strip image editor.6
.3
.64
. The other options for offsets and separation are not necessary for such a small sprite sheet, but they would come in handy if we had a complete set of animations for this character. The setting should look like the following image:3.137.163.197