If I draw a maze in the stage and use the "if touching color" to let my pacman know when to not cross the line. What piece of code will I use to not making her cross the line.
Now it just works with "go to sprite". My pacman goes back to the starting point (in my case sprite no 4).
Is there a piece(s) I can use to let the pacman just stop by the line or do I have to draw every line and program them?
Thanks
[blocks]
<when green flag clicked>
<forever>
<if><touching color[green] <go to[sprite4]
[/blocks]
Offline
I didn't get a word of that, but try looking at the pacman sample game.
Also I don't normally have a starting point sprite. I just remember the xy position and use the
[blocks]<go to x )y
[/blocks]
block.
Last edited by Stickman704 (2010-05-05 14:55:41)
Offline
I know how to make this work, but can you upload what you have so far so I can take a look? It would be easier to help you.
Offline