Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice. The answers to the quiz can be found in Appendix A, "Quiz Answers."

Quiz

1:

In addition to the title of the game, what kind of information is good to place on the splash screen for a game?

2:

What is the purpose of the _bSplash global variable in the Space Out 2 game?

3:

Why are the background and the desert bitmaps drawn in the Space Out 2 game regardless of whether the game is in splash screen mode?

Exercises

  1. Create your own splash screen bitmap image for the Space Out 2 game and incorporate it into the game.

  2. Modify the splash screen for the Space Out 2 game so that it consists of two splash screen modes that display two images in succession for the splash screen. In other words, create one splash screen image for the game's title and another that describes how to play the game and what keys to use.



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