barilo Posted February 20, 2017 Share Posted February 20, 2017 Hello, I would like to create one of the most simple game but I encounter an issue : My snake will be composed of several parts, one for the head, one for the tail and one for the body. Then, when my snake will ate an item, his size will growth by the addition a body's part. But I don't know how to create my snake (I have the sprite with the different directions). Should I merge the head's sprite with the body's sprite and with the tail's sprite and redefine the final sprite every time the snake grows or I can use group or another method ? Thanks for you help PS : I apologize for my English mistakes, English is not my native language ^^ Link to comment Share on other sites More sharing options...
samme Posted February 20, 2017 Share Posted February 20, 2017 I would try it with 3 sprites. Link to comment Share on other sites More sharing options...
barilo Posted February 20, 2017 Author Share Posted February 20, 2017 2 hours ago, samme said: I would try it with 3 sprites. So, when my snake grows I add a new sprite to the others ? Link to comment Share on other sites More sharing options...
samme Posted February 21, 2017 Share Posted February 21, 2017 19 hours ago, barilo said: So, when my snake grows I add a new sprite to the others ? Yes, I think that should work. Link to comment Share on other sites More sharing options...
barilo Posted February 21, 2017 Author Share Posted February 21, 2017 Okay, thank you, I will try that tomorrow Link to comment Share on other sites More sharing options...
Recommended Posts