Setting up the rooms
In the last chapter we built two rooms, Level_01
and Level_12
, for testing the HUD and game difficulty. We now need to make rooms for all the levels in between those two, plus a few additional rooms for the Front End, Shop and Level Select:
Create a new Room for each level from
Level_02
toLevel_11
. Set the size of the rooms as follows:Level_02
–Level_04
is set to Width:640
and Height:480
Level_05
–Level_08
is set to Width:960
and Height:720
Level_09
–Level_11
is set to Width:1280
and Height:960
Each room needs to have Room is Physics World checked in the Physics tab.
Make sure that Views | Port on Screen is set to X:
0
, Y:0
, W:640
, and H:480
so that each room will display properly on screen.We have supplied backgrounds for each level which can be found in
Chapter 7/Backgrounds/
. Make sure that Remove Background is not checked.Each level should have a unique tower built from a variety of Pillars and ideally be made more difficult than the previous level. Start...