Quote:
Originally posted by NoteMe
Are you using my movement method from the tutorial? Then check the facing of the head in an inner If test in the code....
Algorithm:
- The user pressed left
- Check to see if the snake head is facing right
- If then do nothing
- If NOT then face left
Do the same with all directions..
DId you get it? If not I can make you a code sample...but it's great learning for you, if you figgure it out after reading my Algorithm...
I am using the movement from the tutorial. SO owuld it be something like this: