The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: Deity on July 08, 2015, 12:55:46 PM

Title: Jump Fix (incl. Jump Function)
Post by: Deity on July 08, 2015, 12:55:46 PM
Jump Fix
by DigiDeity


Description
This Script fixes some "bugs" which can be caused by using the jump feature of the game. If you're jumping around you can land on places which are not passable (Events,Tiles etc), you can also land on coordinates which are out of the map.
Another feature of the Script is that the party members (follower) wont jump if you use the standard jump function, with this fix it will be possible to let them jump as well. Last "feature" is the after jump delay, since it depends on how you implement jumping the player could be able to spam it which would be faster than running or casual walking.
Its more or less easy to implement a jumping function via events but since it kind of belongs to the fix I also wrote a script which will allow the player to jump by pressing a button.
 
 
Usage
It is pretty much a "plug 'n play" script but there are some settings included which should be set up by everyone individually before starting.
Tipp!
Since it is more efford to the user to setup scripts (cause its text based) than add some events I didn't add a feature to change the sprite during a jump. But here is a simple tipp to do it via events (look at Screenshots for an proper example).
Just use
Code: auto:1 [Select]
$game_player.jumping?

as a condition to check if the player is performing a jump and change the sprite.

 
 
Screenshots
Spoiler for:
  • (https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.mediafire.com%2Fconvkey%2Ff6a1%2Fyfd27dmteafhqx6zg.jpg%3Fsize_id%3D5&hash=721fff3beeb15c9e25fb8066a7b36f8a640fea0f)
  • (https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.mediafire.com%2Fconvkey%2Fef0f%2Fcay43uk8713ef6bzg.jpg%3Fsize_id%3D6&hash=c972090cc487cf7fa1fcd77126cdbf933b14b69e)

 
Script
Note
Feel free to report any bugs and/ or suggestions for improvements! :)
Title: Re: Jump Fix (incl. Jump Function)
Post by: &&&&&&&&&&&&& on July 08, 2015, 06:46:54 PM
Multiple cool things in one script. I like. :boe:
Title: Re: Jump Fix (incl. Jump Function)
Post by: Deity on July 08, 2015, 08:26:01 PM
Thank you very much! :)