Breakout Part 3 (Object Creation)

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:

  1. ObjBall
  2. ObjBat
  3. ObjWall
  4. ObjBarrier

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.

Checked:

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. 

Share
UncategorizedPermalink

5 Responses to Breakout Part 3 (Object Creation)

  1. Jen says:

    Thanks for the follow and back at you.

    Jen
    Moms Online Garage Sale

  2. MuMuGB says:

    Thanks for the follow. Following you back!

  3. Conrad says:

    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.

  4. Alfredo says:

    Many thanks for trying to describe the terminlogy for the noobs!

Leave a Reply

Your email address will not be published. Required fields are marked *


3 + = seven

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>