(2) Level Layer
22 Create a new layer at the top
22 Create a new layer at the top
Call it Level
Call it Level
All of the world elements will live on this layer
All of the world elements will live on this layer
LEVEL DESIGN
LEVEL DESIGN
23 Add a new Tile Map Game Object
23 Add a new Tile Map Game Object
Call it: level
Call it: level
24 Load the tilemap provided in the TERRAIN folder
24 Load the tilemap provided in the TERRAIN folder
25 Adjust tile width and height
25 Adjust tile width and height
26 Paint your level using the Draw Tool
26 Paint your level using the Draw Tool
Sample Level
Sample Level
Adding Level Features
Adding Level Features
27 Add a new Sprite and all it JumpThru. Use the bucket to fill the square with green
27 Add a new Sprite and all it JumpThru. Use the bucket to fill the square with green
28 Take off Grid Snapping (click on layout and untick grid snapping in properties)
28 Take off Grid Snapping (click on layout and untick grid snapping in properties)
Set size of Jumpthru to 48 x 6
Set size of Jumpthru to 48 x 6
29 Duplicate the Jumpthru and place as shown.
29 Duplicate the Jumpthru and place as shown.
Set initially visible to false.
Set initially visible to false.
30 (On same layer) Tile over your Jumpthru with wood as shown:
30 (On same layer) Tile over your Jumpthru with wood as shown:
Explanation of Jumpthrus:
Explanation of Jumpthrus:
Player can jump up through platforms from below
Player can jump up through platforms from below
Player can fall down through platforms from above
Player can fall down through platforms from above
31 Add new Sprite
31 Add new Sprite
Name it Solid
Name it Solid
Make it a purple square
Make it a purple square
Solid sprite will cover all solid parts of level: (floors, walls, ceilings.)
Solid sprite will cover all solid parts of level: (floors, walls, ceilings.)
32 Duplicate your solid
32 Duplicate your solid
Block out the level, areas you want to be solid - see image
Block out the level, areas you want to be solid - see image
33 Select your Solid Object
33 Select your Solid Object
Add Solid behaviour
Add Solid behaviour
Untick Initially visible
Untick Initially visible
34 Select your JumpThru Object
34 Select your JumpThru Object
Add Jumpthru behaviour
Add Jumpthru behaviour
Untick Initially visible
Untick Initially visible
35 Lock the Level Layer
35 Lock the Level Layer
Add a new layer at the top
Add a new layer at the top
Name it Player
Name it Player
This layer includes anything the player interacts with.
This layer includes anything the player interacts with.
Eg: collectibles, enemies, spawn points etc.
Eg: collectibles, enemies, spawn points etc.