Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Gamemaker Essentials

You're reading from  Gamemaker Essentials

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781784396121
Pages 154 pages
Edition 1st Edition
Languages

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.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}