Make it so when the user taps the screen in the “Showing Score” state, the app restarts
Do this by creating a new instance of MyScene, and presenting the new scene with a transition
Play the “pop” sound when you do this
The artwork in this game is by Mike Berg at weheartgames.com. He’s a great guy, highly recommended btw! :] Note that you have permission to use the code from this game in your own apps, but you do not have permission to use the artwork.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.