Today we are going to move on to creating the object to go with our sprites (graphics). The object will later be associated with actions. (Like making the ball start moving.
Objects are one of the choices on the left. If you have saved last time and are coming back you will need to reload our file from Part 2.
We will now right click on Objects and choose Create Object.
We will need to create four objects:
To stick with naming conventions we are naming each object with a name that starts with Obj.
After entering a name we need to associate a Sprite with the Object. So for the objBat object we will choose the sprBat sprite to go with.
After the sprite is associated you will see the name and graphic…..
We also want these objects to all be solid objects so that they will not pass through each other. (Ball won’t pass through the Bat and so on….) So choose the Solid checkbox.
Once the name, sprite, and Solid are taken care of Choose OK.
and go on to create the additional three objects:
After all four objects are created you will see the above Objects in your directory. Now save your projects for tomorrow when we will go on to create the Room and add our objects to the room.
Subscribe To Our Newsletter
Thank you! Sign up for my newsletter to receive periodic news, updates, and more. As a special thank you, you will receive a free copy of our Programming the Game Break Out Tutorial. I look forward to connecting with you!
Following you back 🙂
Thanks for the follow and back at you.
Moms Online Garage Sale
Thanks for the follow. Following you back!
I would really like to thank you so much for your work you have made in writing this article. I am hoping the same most reliable job by you later on too.
Many thanks for trying to describe the terminlogy for the noobs!