Today we are going to continue working on our game of Breakout. It will take shape by the end of this activity and be ready for us to add actions to the objects. Start by reloading the project that you saved at the end of the last Part. You should see your Sprites and Objects. If there is a plus beside Sprites or Objects you can click on it to expand the category and see each item.
We now will right click on the Rooms folder on the left, and choose Create Room. this will create our room to lay out our objects within.
The room window should look like the following:
Up in the top right corner you see:
Click on the
to expand the window to take up the entire window.
You can now add objects to the window by choosing the objects in the objects section and then left clicking in the room grid where you would like them to go. (Right click takes them away)
Which object you are placing can be changed down near the bottom of this section with the selection icon like shown:
You will need to choose each object and place them.
For the Wall you will place them around the edges of the window.
You can use some ‘cheat’ keys to simplify it. For Example holding down the shift button while holding and dragging using the left mouse button will place multiple objects.
Walls should be placed around the edges of the room.
Next we need to place Barriers. We will place 50 of these. For scoring it’s best to start with a predefined number.
these can be randomly placed throughout the screen:
We will also place the Ball and the Bat…. defining a screen like below.
You can now save today’s work and we will continue with adding actions tomorrow.