Bridge

how to build a bridge? the char should be able to move over and under the bridge (like regular bridge)?
You can technically do this purely by eventing it however I'd actually recommend using this script:




Instead as it makes the process a lot less laggy (particularly with larger bridges) compared to eventing the solution.
I was... Working on something like that, but I didn't really came to the effect you and I was looking for, however, I can still post here that way -


Looks like this -

Spoiler
37807279a4904616be1990ec432916bf.png



The thing is, player can't stop on the bridge, because the events trigger and send player across the bridge with Set move route event. The same thing wit hcrossing under the bridge, but with turning transparency on and off before the player crosses.

Little bit ty solution, but I couldn'T find any better :/

(Event for going under -)
 

Spoiler
9d8ca97576f34130ac536f7e8b967426.png



(Event for crossing -)

Spoiler
1b3a845a7a7148839da43d41f1187469.png





You could also combine them and place them onto the bridge so player have to push towards the wall of the bridge, but... I think I actually tried it and did this for some reason (I don't remember anymore)...

Also, if somebody knows better solution (Like somebody definitley does), don't keep it for yourself! ;D
the script worked the way i wanted it to

Untitled.png

Untitled2.png
I was... Working on something like that, but I didn't really came to the effect you and I was looking for, however, I can still post here that way -


Looks like this -

Spoiler
37807279a4904616be1990ec432916bf.png



The thing is, player can't stop on the bridge, because the events trigger and send player across the bridge with Set move route event. The same thing wit hcrossing under the bridge, but with turning transparency on and off before the player crosses.

Little bit ty solution, but I couldn'T find any better :/

(Event for going under -)
 

Spoiler
9d8ca97576f34130ac536f7e8b967426.png



(Event for crossing -)

Spoiler
1b3a845a7a7148839da43d41f1187469.png





You could also combine them and place them onto the bridge so player have to push towards the wall of the bridge, but... I think I actually tried it and did this for some reason (I don't remember anymore)...

Also, if somebody knows better solution (Like somebody definitley does), don't keep it for yourself! ;D

Script much easier
EdgeMaverick, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


If you want to add something, just edit your post.


Also, please do not quote an entire post just to indicate who you are replying to.  The convention @username is sufficient to make it clear.

Original thread: https://forums.rpgmakerweb.com/threads/bridge.67257/