I tried setting the sprite on a slant line, and it sorta did that for 1 path, but then for the other paths (maybe I put too many wrong codes, or too many codes), now the sprite gets stuck at the beginning point, does in one direction only... how can I fix that problem?
Or better, yet, what are the codes for walking let's say, in like a zig zag line, where the background is a landscape (not just 2 colours)?
Thanks
Offline
I'm really confused. From what i understand, you need sensing of the ground, right? Something like:
[blocks]<forever>[/blocks]
[blocks]<if><touching color[ A color[/blocks]
[blocks]<change y by( 1[/blocks]
[blocks]<end>[/blocks]
[blocks]<if>< <not> <touching color[ A color >>[/blocks]
[blocks]<change y by( -1[/blocks]
[blocks]<end>[/blocks]
[blocks]<end>[/blocks]
Offline