(2) Level Layer

22 Create a new layer at the top

Call it Level

All of the world elements will live on this layer

LEVEL DESIGN

23 Add a new Tile Map Game Object

Call it: level

24 Load the tilemap provided in the TERRAIN folder

25 Adjust tile width and height

26 Paint your level using the Draw Tool

Sample Level

Adding Level Features

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)

Set size of Jumpthru to 48 x 6


29 Duplicate the Jumpthru  and place as shown.

Set initially visible to false.

30 (On same layer) Tile over your Jumpthru with wood as shown:


Explanation of Jumpthrus: 

Player can jump up through platforms from below

Player can fall down through platforms from above


31 Add new Sprite

Name it Solid

Make it a purple square

Solid sprite will cover all solid parts of level: (floors, walls, ceilings.)

32 Duplicate your solid

Block out the level, areas you want to be solid - see image

33 Select your Solid Object

Add Solid behaviour

Untick Initially visible

34 Select your JumpThru Object

Add Jumpthru behaviour

Untick Initially visible

35 Lock the Level Layer

Add a new layer at the top

Name it Player

This layer includes anything the player interacts with.

Eg: collectibles, enemies, spawn points etc.