Pages: 1
Topic closed
go to [sprite] go to front
I think that's what you're getting at.
Offline
IHeartGaming wrote:
Code:
go to [sprite] go to frontI think that's what you're getting at.
No, I think he's talking about making a platformer.
Try this:
If (not (touching color (color of your choice)))
Change y by (-1)
end if
If (touching color (color of your choice))
Change y by (1)
If space key pressed
change y by (10)
end If
end if
This is the simplest way to do it. You can start playing around with it by adding variables and changing values.
Offline
There are a lot of ways to do it. Post your project and make a link to it here and we can make the best suggestions, otherwise we are kind of guessing.
Offline
Topic closed
Pages: 1