RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Jump Fix (incl. Jump Function)

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 82
aka DigiDeity
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:



 
Script
Note
Feel free to report any bugs and/ or suggestions for improvements! :)
Greetings
DigiDeity

├Work┤
├Contact┤


*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
Multiple cool things in one script. I like. :boe:
&&&&&&&&&&&&&&&&

***
Rep:
Level 82
aka DigiDeity
Thank you very much! :)
Greetings
DigiDeity

├Work┤
├Contact┤