Call me stupid, but can somebody tell me, how should i make my sprite jump?
And, if, for example, half of the stage is a black line which is the "ground", and the other side is just white which is the "edge". How should i make him fall when he reaches the "edge"?
Last edited by ChainzzDB (2008-08-12 02:15:34)
Offline
Do you mean like gravity? OR as someone pointed out, I guess it's also velocity...
Offline
why dont you use these blocks add this on you player thats going to jump.
<when green flag clicked>
<forever if> << <not> <touching[ ground >>
<change y by( -2
<forever if> touching[ ground >>
<change y by( 2
<when green flag clicked>
<forever>
<if> << <key[ up ]pressed?> <and><touching[ the ground >>
<change y by( 70
thats the easy way to do it
Offline
ChainzzDB wrote:
Call me stupid, but can somebody tell me, how should i make my sprite jump?
And, if, for example, half of the stage is a black line which is the "ground", and the other side is just white which is the "edge". How should i make him fall when he reaches the "edge"?
there is nothing stupid in asking questions
Offline