What You’ll Learn This Hour:
• Using game states
• Creating a game loop
• Creating a “follow the leader” game
• Saving high scores
• Displaying high scores to the player
Many of the apps in stores today are games. People love playing games. During this hour, we explore how to create a complete game from scratch. We discuss game specifics such as working with game states and using a game loop. We even walk through creating a small demo on the side to show how a game loop can work. Along the way, we style the game and each screen the game uses.
We spend time looking at the logic of the game and work through the flow of the code so that the game works as expected. We implement ...