Game Development Reference
In-Depth Information
Figure 15-10. A screenshot of the map used for this exercise. Note how the bridges connect directly with the ledges
The first bridge uses the horizontal stone bridge tiles, while the second bridge uses the vertical stone bridge tiles.
You can find both of the tiles in tab B of the Exterior tileset
When working with bridge tiles, be warned that they have selective passability. so, if you want a bridge that
goes from left to right, you need the horizontal tiles. Bridges that go north to south require the vertical tiles. otherwise, the
player will be unable to walk on your bridges as intended.
Caution
@>Control Variables: [0002:X] = Player's Map X
@>Control Variables: [0003:Y] = Player's Map Y
@>Conditional Branch: Variable [0003:Y] == 5
@>Conditional Branch: Variable [0002:X] >= 2
@>Conditional Branch: Variable [0002:X] <= 4
@>Control Switches: [0040:BridgeAbove] = OFF
@>
: Branch End
@>
: Branch End
@>
:Branch End
@>Conditional Branch: Variable [0003:Y] == 6
@>Conditional Branch: Variable [0002:X] >= 2
 
Search WWH ::




Custom Search