Hour 16. Example Game: Battle Office


Hour 16. Example Game: Battle Office

Well here you are, ready to embark on your third complete game. At this point in the book, you've successfully added wave sound effects and MIDI music programming to your repertoire of game development skills. What better way to celebrate than to design and develop another game to put the skills to good use? This hour leads you through the construction of a game called Battle Office that chronicles an interoffice war between co-workers. Don't worry: It's not as violent as it sounds. The job of the player in the game is to use the mouse to fire at co-workers as they appear in various places on the game screen. The game makes interesting use of the sprite classes, as well as wave sound effects and music.

In this hour, you'll learn:

  • How to design a game called Battle Office that simulates a battle between co-workers within an office

  • How to write the code for the Battle Office game

  • About the joys of testing a completely new game



Sams Teach Yourself Game Programming in 24 Hours
Sams Teach Yourself Game Programming in 24 Hours
ISBN: 067232461X
EAN: 2147483647
Year: 2002
Pages: 271

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net