Closed Janfiderheld closed 5 years ago
Testing today revealed that it only works once ¯_(ツ)_/¯ Fix idea: Create a new Array for the snake body Parts everytime the snake gets created
Since the newest fix the snake gets created correctly everytime, so there are no more obsolete body parts "lying around"
Current situation: 1) The game is finished and the main menu is opened 2) you touch to start a new game 3) all snake body parts which are more than the starting amount are just lying around and only disappear when you collect coins to "gain" them back to the snake 4) you finish this game 5) the game crashes as soon as you want to start a third game in a row WHY!?