Introduction to Design and Programming of an Application
The main objective of this chapter is to put everything you have learned into building a game with the support of a step-by-step breakdown and explanations of all the code. The game is available from www.sprite.net/understanding and is made up of a simple syntax:
The Game Loop
A game can be decomposed into five processes that continually run into a loop. It is a basic formula that almost every game has to have. The game loop is a series of processes for getting input from and displaying output to the user and updating the game. The five basic processes are:
- The Introduction – The start screen has an animation ...