2.1. Your First Allegro Game
Learning Objectives
When you have finished section 2.1, you should be able to:
- Create tanks or other objects for a game.
- Fire weapons.
- Move tanks or other objects in a game.
- Detect collisions in a game.
Required Tasks
- Study Chapter 4, Writing Your First Allegro Game, in the eTextbook.
- Study each of the functions for the Tank War game by carefully typing the source code from the book into your Dev-C++.
- Create your own project for the Tank War game using the files you made for the previous task.
- Complete the Chapter 4 quiz, and check your answers in Appendix A.
Optional Tasks
- From the Files link below, load the Tank War project, and build the game.
- Modify the program to see how the game's behaviour changes.
Files (tankwar)
Updated May 24 2016 by FST Course Production