check off screen conditions to prevent be stuck when jump forward.

Yeah I was making a fighting game but I need off screen conditions if the player jumps forward.


Tales of Crossover Worlds 2024-05-11 10_46_37 AM (1).png
hellllp.png
We don't know how any of your movement works, how are we supposed to help you figure out to implement "off screen conditions"?
We don't know how any of your movement works, how are we supposed to help you figure out to implement "off screen conditions"?
Edit: nevermind. I found the condition. $gameMap.isValid(x, y) It Describes to Checks whether the coordinates are within the map's range

I tested it and it turns out, false when the player faces off screen or walk out of the map. True when the player is in the map.

Tales of Crossover Worlds 2024-05-11 4_35_29 PM.png
Tales of Crossover Worlds 2024-05-11 4_35_33 PM.png


..and Please close the thread.
or you could have used the evbent command get location info...

Original thread: https://forums.rpgmakerweb.com/threads/check-off-screen-conditions-to-prevent-be-stuck-when-jump-forward.168580/