Hi,
I'm rying to make a Classic Snake game.
So far, I've been able to make my snake and the tail.
What I can't figure out is how to incrase the tail's enght when a pellet is eaten.
Any help would be great thanks!
Develop games in your browser. Powerful, performant & highly capable.
Hi, how did you make the snake? From what I remember of the old school snake you just increase the length of the whole snake object.
So, I sued this tutorial:https://www.scirra.com/tutorials/4789/chain-of-sprites-with-pin-behavior-multi-sprite-snakedragon
Because I wanted the snake to move like a "real" snake.
Dam that tutorial is complex, you probably have a better idea than me on how to add to that. I would have to make it myself from the tutorial to work out what is going on, looks like he is using 2 variables to track the uid of last and next created tiles so you would just follow in that trend. There are some snake templates on the store, you could try one of those too.
Ok. Thanks!