Room Tiles

Here we use a standard technique. Rather than using objects for all the different wall and floor elements, we use so-called tiles. Tiles are pieces of background images that are drawn at particular places in the room. They do not have associated events nor do they create collision. The good part is that they are fast and use little memory. So you can create large rooms without the need for large images.  

Backgrounds

Set background as tiles

Go to Backgrounds... and open "tiles"... 

Set it to "transparent" and "use as tile set". 

New Rooms

First delete the testing room you made (or delete every single object in that room!)

Create a new room. Call it "Room 1".

Add 2 more new rooms.

Room Backgrounds

  • In Room 1, set the background to "TestingRoom1".
  • In Room 2, set the background to "Testing Room 2".

Draw Tiles

tiles tab

For each room, go to the tiles tab. Select the tiles background. 


Draw tiles (Room 1)

  • Draw tiles by clicking on the appropriate tile and next left-clicking where you want to place them in the room, like you would do for objects.
  • You can hold SHIFT to keep adding the same tile.
  • The right mouse button deletes tiles. 

Keep selecting different pieces of the tile set and place on the room as demonstrated below...

  • grass (and edges)
  • columns
  • platforms (and edges)
  • pits
  • clouds

When you're done, go to the backgrounds tab: change the background to the "sky" picture ...

...and turn off the grid to see how it would look when you're playing the game.

Draw tiles (Room 2)

Add the tiles to the room, same as Room 1:

  • ground, grass, platforms, columns, edges, pits, clouds
  • also add ladders (can use any of the ladder tiles or a combination of them)
  • ramps - use all 3 types of platform tiles - the one the fills the whole grid square

Turn off the grid and it should look like this...

Set the background to "sky" and make sure you're not missing any tiles.

Room 3

Now design a 3rd room of your own design - it should have platforms, clouds, pits, ramps and ladders