I've used This Project's Script to jump, but I can't be able to move, help?
Offline
Just do the normal movement scripts.
/When [right arrow] pressed\
[Move (5) steps]
Most projects do something to make it smoother, but that's enough for it to work in the air.
I don't really see what you are having a problem with.
I will get a tinypic if you want one, but that is clear enough to see I think.
Last edited by colorfusion (2010-07-24 14:52:36)
Offline
Upload the project?
I don't see any reason why it should not work
Offline
Ah - it's because the script has gravity. I'll try to help (sorry that these are forum blocks, but they should still help...
[blocks]
JOIN ON TO BOTTOM OF JUMP SCRIPT
<if><< <key[ right arrow ]pressed?> <or> <key[ left arrow ]pressed?> >>
<if><< <key[ right arrow ]pressed?>
<move( 10 )steps>
<else>
<move( -10 )steps>
<else>
GRAVITY SCRIPT HERE (the "change y by ( - something)" bit)[/blocks]
Hope this helps
Offline
Wolfie1996 wrote:
Ah - it's because the script has gravity. I'll try to help (sorry that these are forum blocks, but they should still help...
[blocks]
JOIN ON TO BOTTOM OF JUMP SCRIPT
<if><< <key[ right arrow ]pressed?> <or> <key[ left arrow ]pressed?> >>
<if><< <key[ right arrow ]pressed?>
<move( 10 )steps>
<else>
<move( -10 )steps>
<else>
GRAVITY SCRIPT HERE (the "change y by ( - something)" bit)[/blocks]
Hope this helps![]()
That would stop gravity working when moving, I think he means that you can move while still falling
Offline
Ohhh - starting a whole new script for left and right controls would work, then Something like:
[blocks]
<when green flag clicked>
<forever>
<if><key[ left arrow ]pressed?>
<change x by( -10
<end>
<if><key[ right arrow ]pressed?>
<change x by( 10
<end>[/blocks]
Offline