Last Update: 2012.06.24
Script Download
This script adds a jumping system to the game, you can have the character to jump when the key set is pressed. While jumping, the character will not trigger events and terrain damage.
Requires the Victor Engine – Basic Module
Full instructions at the header of the script.






















I see where a demo is but also is not. This will not do.
For now I’ll fuddle around with this awesome dealie, but I dont think some visual practical help would go amiss, especially since it seems you already have a means of which to accrue such a well of information on visible display. It’d be handy to see how you did that awesome stuff without having to figure it out myself, though I am perfectly willing to do that if it must be.
Noticed that if you jump in the direction of a moving “event” you can get stuck on it.
The problem isn’t with the jump, but with the pixel movement.
Next time use the Bug Report: http://victorscripts.wordpress.com/bug-report/
I didn’t notice this post, if wasn’t by Bizarre Monkey post today i woudn’t have come here and saw this.
I noticed a small error too, same as character events that have sprites bigger than 32×32 are made impassible in the surrounding squares, though there might be a way to negate this via comment or something.
Oh wait no, thats pixel movement doing that, apologies.
Can I use this together with Sapphire Action System by khas?
You could test it by yourself you know?
I don’t know but i suppose it wouldn’t work since this require my pixel movement, and kash ABS also have a pixel movement that would surely clash.
Any chance you’d be willing to add a feature: Jumpable Regions that would make it so we could assign regions that the player can jump over, but not be able to walkthrough.
A question? How I block a normal Jump on 2 cliff block (using Ve | Moving Platform Script)? Or, As I can block a jump over a cliff? (UP + JUMP)
Vere Thanks for this great Script.
I don’t get what you mean.
You want to make a 1 tile high cliff, but not allowing the player to jump back to the upper part?
If so, you can just use the direction passability, and make the tile at the cliff foot to be impassable up.
It not working. I try it when you say, and It don’t work. Maybe, a Cliff Marked tile, is all pasable (when you step on Cliff tile from Left and Right, the Player fall Down too).
See the PNG for see it. https://dl.dropbox.com/u/32297285/vs_pj02.png
Thanks for the reply.
no you don’t get it, you should make the floor bellow the cliff not passable up
https://dl.dropbox.com/u/27014140/Images/block%20for%20cliff.PNG
I try it when you say me, but, when the player Fall Down in the Cliff, the “non passable up” block if consider fall block, than the Cliff Block.
Resumen: the Player fall 3 Block down, and Stop in the 4 block. :(
(Sorry for my english, I spanish speaker).
Sorry, I forget the Link of the example: https://dl.dropbox.com/u/32297285/vs_pj03.png
setup a fixed fall height. also block the side passage or the player will fall when facing the blocked tiles.
I’m seriously thinking in removing this feature from the Moving Platforms and revamping this mechanic on a custom script only for it.
Sorry, but, where can I change the height of the jump? (if it’s possible)
jump_pressed = Input.press?(VE_JUMP_KEY) && !@end_press && @jump_peak < 8
just change the 8, but this will make the jump too long, making the player jumps 2 tiles in a single jump.
No problem :) Thank you!
I don’t mean to sound like a noob, but where/how do you enable jump. I’ve tried map comment
boxes, script calls, actor comments, and class comments and place it bellow required scripts.
Is there any script it is incompatible with?
How i’m supposed to know what scripts are compatible or not? There hundreds of scripts out there i can’t simply test every single script to check for compatibility.
You tried a lot of thing, less the one that is correct: event comment
I love your scripts and most of them have worked so far without problems, but this one is causing me trouble. If I load this script, I can get my character to jump in place and can still open menus or interact with anything in front of me, but attempting to move in any direction instantly crashes the game with a ‘SystemStackError occurred – stack level too deep’ message.
I have all the other scripts listed in the header loaded and in the right order as near as I can tell, and if I disable this script, the game runs fine and lets me move freely (except, or course, for not being able to jump)… what might be the source of this error?
Tested here and everything works fine. If you’re using other scripts beside my script, then it’s a compatibility issue.
Upon testing it a little by disabling all scripts and loading them back up one at a time, it seems to only cause a conflict when I run Free Jump and Terrain States together. They both work fine independently, so this sadly looks like an issue of compatibility between these two scripts. As long as the jump works, though, I’m happy… I can still apply states via events if need be. Thanks a lot for your work on this! Should make for a much larger variety of features and puzzles in my dungeon and map designs. :)
In fact i found the issue, it was caused only if the moving platform, free jump and terrain states were being used at same time
Hello Victor. I love your script. Simply amazing :) I have an idea to give as an update for the script. I know you don’t want to update the script to work for followers, and that’s fine with me. But what about a few lines of code that removes the followers before the jump and adds the followers after the jump. It could be used when jumping off cliffs and falling into water because these normally displace the followers away from the lead actor. I’m trying to imitate this with simple event commands but it requires about two seconds for the followers to “gather”. If you don’t like the idea, forget about it, but I thought I’d suggest it anyway ^^ Thanks for the great script Victor!
The script will not support followers, and i wouldn’t do this kind of poor fix.
Hello Victor. Sorry to bother you but I’m having an issue. I’ve found an amazing dynamic lighting script (Khas Awesome Light Effects) but whenever I walk near a fall region such as water from your your free jump script I get
“Script ‘VE | Free Jump’ line 322: NoMethodError occured.
undefined method ‘+’ for nil:NilClass”
I know your script isn’t tailored to work with other scripts but I really enjoy both yours and Khas’ scripts. Do you know of an edit I can make so that both scripts work?
The line of code that is causing the issue is “self.oy = @ch + @character.position_adjust”
“I’ve found an amazing dynamic lighting script (Khas Awesome Light Effects)”
I stoped reading here.
Issues with third party scripts aren’t my problems.
Well obviously not. It’s my problem otherwise my name and my post wouldn’t be here. All I ask is you read my post. If you know of a simple line change, my problem is solved, my game goes through with your scripts and I pay for them. If there isn’t a quick line fix, well ill just have to suck it up then. But at least be considerate and read it.
I think you don’t get it.
I don’t work on issues caused by scripts made by other people. I have already too much work with my onw, and i won’t stop to work with my own scripts to solve issues with scripts made by someone else.
Hello Victor! I’d like to know how do I tag a tile as “void”.
Sorry for the noobish question, but I tried it and didn’t have success… (By the way, vi que você responde em português alguns posts também, você é brasileiro?)
By the way… sim.
Pra marcar um tile como void, você tem que adicionar a tag <fall terrain: x> onde X é a ID de terreno, então você vai no database e define as Terrain Tags.
Awesome scripts Victor!
Is it possible to jump over Same-Priority events with this script? It doesn’t seem to work with my tests.
You can’t. Same priority events blocks the way.
Thanks! Just one more question:
Is it possible to make the jump stay in the air longer by script call? If not, can the player jump farther?
Theres no way by default to control jump height or distance.
Any change must be hardcoded
Hi, I am only using your scripts and they are placed in the right order. I can get the platform script to work fine but the Free Jump script doesn’t seem to work. I have placed in the events comments as well. I don’t know what I am doing wrong.
Neither do I, since you didn’t post how exactly did you proceed.
The script is working fine, so it’s something with your setup.
Hello victor, im working on a game like valkyrie profile style, what i want to do is to jump from a lower floor to an upper platform or floor but the when the character jumps he pass through the platform or upper floor and he doesnt stand in there, i tried to fix it with the falls and cliffs regions but i can’t make it work, do you know how to fix that or if is it possible? Also a quick question is it posible to use the up arrow button for jump instead of the default buttons that you putted in the script (a,q,x,…etc.)?
This isn’t a side-scroller jump script. You won’t get this effect with it.
thanks :)