Collision Check Ledges
BMM_Archive · July 15, 2026
Original Source
- Original title: Collision Check Ledges
- Original author: DeviousSiddy
- Original date: March 18, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/collision-check-ledges.58949/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support
Summary
Hi there, I am fairly new to all this, but am not that new to programming. Just a heads up that I am ok with script solutions. I believe this is a common problem and I have been searching a lot, but did not find anything concrete. I attached an image. In there you should see a red line. I want the player to not move past the red line from left or right. However the tiles next to the line, I still want to be passable.
Archived First Post
I am fairly new to all this, but am not that new to programming. Just a heads up that I am ok with script solutions.
I believe this is a common problem and I have been searching a lot, but did not find anything concrete.
I attached an image. In there you should see a red line. I want the player to not move past the red line from left or right. However the tiles next to the line, I still want to be passable.
I tried to solve this by putting an event on the grass tiles, saying that when the player touches the event from the left, turn THROUGH off. Else turn THROUGH on. (Indeed this is not the complete solution but I am testing for now.)
What happens is that I indeed can't pass the line left to right, but the moment I enter the grass tile from another angle, I can pass over the line from left to right again. As if the event can't be triggered again or the Through flag cant be turned off again.
If : Player is facing Right
Set Movement Route : This Event
: Through Off
Else
Set Movement Route : This Event
: Through On
End
Also my Option for through is checked off in this case.
Is it something I did? Or am I missing some wait or closing commands? or just improper handling?
Protected download
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
