If you were making a platform game the how would you make the character stand on the platform and be able to jump then go onto the next platform?
Btw I know how to make the charcter jump so you don't need to explain that.
Offline
Oops I meant to put it under all about scratch.
Offline
To make that you would have the y velocity variable then whenever the sprite is touching a platform set that variable to 0 for further details go to Archmage's sprite movement done right
Offline
<forever if><touching[ platform
<change y by( 1
<forever if>< <not> <touching[ platform
<change y by( -1
Last edited by rockie (2008-05-23 20:33:56)
Offline
ok thanks all of you for your answers
Offline
<when green flag clicked>
<forever>
<if><touching[ platform ]>
<set y to( platforms y)>
Last edited by techy (2008-12-29 12:50:17)
Offline