In order to support non-endless modes, there needs to be a way to win the game. TileGenerator should have an EndGame tile that, when encountered by the map, triggers end game (winning) logic. The spaceship will get a speedboost and move off the screen to the right, followed by GameOver Dialog.
In order to support non-endless modes, there needs to be a way to win the game. TileGenerator should have an EndGame tile that, when encountered by the map, triggers end game (winning) logic. The spaceship will get a speedboost and move off the screen to the right, followed by GameOver Dialog.