Flatland

Tutorial

6 | Navigation in Multi-level Spots

Visitors to your spots can’t fly through them. Spots have gravity, so if you want your visitors to be able climb to the upper levels of your spot, then you will have to provide a path for them to do so.

The half block “h”
The half block is just the bottom half of a full block.

The nramp block “N”
The nramp block is a ramp that rises to the height of a full Block, going up towards the north.

The nbottomramp block “k”
The nbottomramp block is a ramp that rises to the height of a half block, going up towards the north.

The ntopramp block “K”
The ntopramp block is a ramp that rises from the height of a half block to the height of a full block, going up towards the north.

Provide a path onto the roof of your spot.

Change level 1 of your Tall Spot to look like this:

< level number="1">
###…###
#…….#
##……#
##……#
#K……#
#h……#
#k……#
#…….#
#########
< /level>

Change level 2 of your Tall spot to look like this:

< level number="2">
###—###
#——-#
#N——#
#.——#
#——-#
#——-#
#——-#
#——-#
#########
< /level>

Save your Tall Spot and open it in your browser. You should now be able to climb the ramps up to the roof!

navigation spot1 navigation spot 2

show me the code show me the spot next lesson

Welcome | Starting | Head Tag | Body Tag | Multilevels | Navigation | Textures | Orientation | Linking | Sound | Lighting | Popups | Sprites | Actions | Streaming 1 | Streaming 2 | More Blocks | Tips & Tricks | Orientation Guide | Texture Styles