Game Development Reference
In-Depth Information
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 op-
tion, 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.