01-31-2009, 01:27 AM
This tutorial explains how you can create bridges that your party can travel both over and under. In addition, it demonstrates the creation of a proper mountain rope bridge and a dungeon of disappearing bridges! To start it all off, here's a complete description of the event options you will need to use.
'Through'
When checked, this option ignores the passability data of the event, using the highest edited layer's data instead. It does not, automatically set tile to passable.
'Always on Top'
When checked, this option displays the event graphic over everything including the player. In addition, if the graphics of two events with this option enabled overlap the graphic of the event with the higher event id will be layered on top of those with a lower id.
First of all, create a variable and name it height, level, floor etc. Any time you go up or down a staircase, ladder, ramp etc. use a player touch event to change the variable to your new height. This will allow you to control the passability and visibility status of the bridge events.
Secondly, create the bridge itself. It's simple enough, each event only takes two pages. The first page for when you are under the bridge and the second for when you are on the same level or above the bridge.
Most Bridges
Horizontal Railing, Rope and Stone Bridges
Finally, you need to create the ends of the bridge. Once again, it will take 2 pages.
Most Bridges
Horizontal Rope Bridge (overlaps cliff edge)
Be sure to add shadows under the bridges. If you are planning on having the bridge appear and disappear the shadows should be in events with 'Through' as an option.
To make the bridges invisible use a simple switch. Add it as a condition to both pages of the bridge event and page 2 of the cliff event with most bridges. If you are using the rope bridge both pages of the bridge end event should have it as a condition. In addition, be sure to add the switch to the bridge's shadow events.
Bridges in the Editor
Bridges Ingame
Thanks Kraft for pointing out that I should add shadows under the bridges.
Demo
Advanced Bridges
Alternate Methods
There are many other ways to construct overpass bridges.
For a scripted answer I recommend Ccoa's Tileset Swap.