In this project we are going to make a Maze game with code.
This section will cover the following:
Creating Sprites
Creating Objects
Splash Room
Game movement
Room creation with blocks
Special blocks for slow, hurt and spring jump.
Room Backgrounds
Enemies
Player throwing object to defend
You always want to name sprites with the s prefix followed by the name of the sprite example sGem
Make sure the width and height are both 64 px
Block Sprite
Right Click on the Sprite Folder then select Create Sprite Rename the sprite to sBlock
Click Edit Image then use Drawing Tools to create sBlock
Do the same for your other sprites here are some examples
You now have four sprites in your sprite resource folder
You always want to name objects with the o prefix followed by the name of the object example oGem
Block Object
Right Click on the Objects Folder then select Create Objects Rename the object oBlock
Select the sBlock sprite as the objects sprite
Select Solid for the oBlock object this will be the only solid object in the game
Player Object
Right Click on the Objects Folder then select Create Objects Rename the object oPlayer
You now have two Objects in your Objects resource folder
Do the same for your door and spikes sprites