2D-ParkourSystem
A downloadable asset pack
Plugin/Script: Region-Based Jumping for MV-2D
Author: [Ryumon91/AI] Compatibility: RPG Maker MV (Untested in MZ) Requires: RPGMaker Mv
Overview
Everything Should Work Just Like MV3D_Parkour
I’ve spent the last 3 hours Re-developing with the Ai and testing a jumping system For 2D Designed specifically for horror games or "chase" sequences. The core mechanic uses Map Regions to control where the player can and cannot jump. This is perfect for creating obstacles where you have to jump over something to escape a monster!
How it Works: Region Control
The script checks for specific region IDs on the map to determine jumping behavior. You can change these in the code to fit your needs:
Default Regions
Region A: 1 Disables Jumping Can Change 1-255
Region B: 2 Disables Jumping Can Change 1-255
Region C: 3 Disables Jumping Can Change 1-255
Region D: 251 Disables Jumping Can Change 1-255
Region E: 252 Disables Jumping Can Change 1-255
Region F: 253 Disables Jumping Can Change 1-255
Region G: 254 Disables Jumping Can Change 1-255
Region H: 255 Disables Jumping Can Change 1-255
Key Features
Designed to work within a 2D environment.
Custom Key-bindings: Currently set to the Spacebar (JavaScript Key-Code 32), but this can be changed manually in the script.
Open Source: This code is free for anyone to use, edit, or adapt for their own projects.
Known Issues / Work in Progress
Stamina System: I attempted to integrate a stamina bar using SRD_SuperToolsEngine and SRD_HUDmaker, but it isn’t working quite yet. But Is Not Needed
MZ Compatibility: Currently only confirmed to work on RPG Maker MV. But Should Work Fine On MZ
Tips for Users
Note: If you want to change the jump key, look for the number 32 in the code. You can replace it with other JavaScript KeyCodes (like 16 for Shift or 17 for Control).
More info
* 1. Save this file as 2D-ParkourSystem.js (Exactly this name). *
2. Place this plugin Above SRD_SuperToolsEngine & * SRD_HUDMaker in the list. But Not Needed
* 3. Map Tags: Put <jumpdisable> in Map Notes to block jumping.
* 4. Region Blocks: Use Region IDs (A-H) to stop jumps over walls/objects.
* 5. Use Region 249/250 to allow jumping over water/holes. * - The player CAN jump over these tiles if the other side is solid ground. * - The player can NEVER land on these tiles (prevents getting stuck in water). Video Below.
* 6. Player can't not jump over "Same as Character" events.
* 6. New Jumping Controls Spacebar= long Jump X= medium Jump Z= Short Jump
*7. R= Action/Talk
Download
Click download now to get access to the following files:

Leave a comment
Log in with itch.io to leave a comment.