Yeah I was making a fighting game but I need off screen conditions if the player jumps forward.
check off screen conditions to prevent be stuck when jump forward.
RPG Maker MZ SupportWe 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.
..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/