My game i am making is having jumping problems and i need help with movement for example if hits a wall of something bounces (it is scrolling) the stage scrolls by when you push a button you change the position of the sprite. for jump it does not completely go back to the field.
<forever if> up or touching black
<switch to costume[ jump]>
<repeat( 20)>
<end>
<repeat until><<<( <=> )><or><<<( <<> )><or><touching color[black]>>
<switch to costume[ jump 2]>
<change{ y jump }by( -2)>
<change{ y jump }by(<{ gravity }>) >
<end>
<switch to costume[ #5]>
<end>
this jump programing doesn't bring back down to stage almost does is like 10-y off
Offline
Could you upload the project?
Its kind of hard to tell what you mean and some bits you said did not make much sense.
"for example if hits a wall of something bounces (it is scrolling) the stage scrolls by when you push a button you change the position of the sprite."
Offline