Pages: 1
Topic closed
Hi, All
I have checked the tutorial in scratch wiki.
http://wiki.scratch.mit.edu/wiki/Velocity
I have no problem in using velocity in the moving forward and backward.
However, I find it difficult to apply velocity to jumping and landing movement.
I have also checked http://scratch.mit.edu/projects/archmage/331446 .
It seems that the project is too complex for me to understand.
Please help with this.
at present , the following is the only methon that I know.
But I would like to learn more about advanced scrpit.
<when green flag clicked>
<forever>
<if><key[up arrow ]pressed?>
<repeat( 5)
<change y by( 1)
<wait( 1 )secsc>
<repeat( 5)
<change y by( -1)
<end>
<end>
<end>
Offline
I think you should do it like this:
when green flag clicked forever if <<touching color[ color of your border]> or <key[ up arrow ]pressed?>> change [Y Velocity] by (1) else change [Y Velocity] by (-1)
I'm not sure though...
EDIT: Didn't see you found it. ^^
Last edited by scimonster (2011-06-06 08:26:06)
Offline
Topic closed
Pages: 1