Advanced Bridges
#1
Advanced Bridges
Demo

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.
Reply }
#2
Thanks for this tutorials...now i can use it in my game...does it work in isometric view maps?
Reply }
#3
Doncreek Wrote: Thanks for this tutorials...now i can use it in my game...does it work in isometric view maps?
Your welcome DonCreek. ^_^
As for isometric maps, I have no idea but I suspect that it wouldn't.
Reply }
#4
I'll try to mix some ideas so that it would work...thanks again
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Bridges in XP MagitekElite 0 4,844 02-14-2012, 06:09 AM
Last Post: MagitekElite
   Advanced RMVX Windowskin Template Xilef 0 8,468 10-08-2009, 11:41 PM
Last Post: Xilef



Users browsing this thread: 2 Guest(s)