Create a new scene with Node2D as root
Add a new TileMapLayer node
WorldLayer
ItemsLayer
DangerLayer
Click the TileSet to expand
Drag tileset.png to Tile Sources
Click the up/down arrows to open/close tileset mode
We need to manually paint collisions on each tile
In the Inspector locate TileSet Properties
Now you can click on tiles
To paint a square collision shape
Modify the shape by using the point tools above the tile
Add a TileSet for ItemsLayer
cherry_spawn.png
gem_spawn.png
props.png
Add a TileSet to DangerLayer
We will use the spike tiles in our level
Since these tiles will need to register collisions
We must add a Physics Layer
You must also then Paint a collision shape
Onto the tiles in the TileSet
Remember to add the DangerLayer
Select the ItemsLayer node
In Inspector find Custom Data Layers
Switch to the TileSet tab at the bottom dock and select your sprite sheet / atlas.
Under the Paint properties on the left/middle pane, expand Custom Data.
Click on your cherry tile and set the type field to cherry.
Click on your gem tile and set the type field to gem.
Select the BaseLevel node
This will be where the player spawns
You can also add an instance of the Player