Book Image

Gamemaker Essentials

4 (1)
Book Image

Gamemaker Essentials

4 (1)

Overview of this book

Table of Contents (16 chapters)

Object creation


With our sprites created and a room ready to go, we can now make our objects and program our game.

To start with, let's create the wall as there is no actual programming to make it work. Create a new object and name it obj_Wall. Link the wall sprite to the object, tick the solid option, and click on OK to close and save the new object.

At this point, we need to perform these steps for the collectable items. Create a new object and name it obj_Collect. Now, link the sprite to this new object and click on OK once again to save the object and make it ready for use.

Now, we will create the player object where we will do the programming and make the actual game. Create a new object and name it obj_Player. Then, give it the player sprite and we are ready to start programming.