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:

What is a game cycle?

2:

What is the minimum speed you should shoot for with games , and why?

3:

What does it mean to "put a game to sleep?"

Exercises

  1. Try out different sizes for the game screen to see how it impacts the Game Skeleton example program. Remember, the width and height of the game screen are set as the last two arguments to the GameEngine() constructor.

  2. Experiment with different frame rates for the Game Skeleton program to see how they impact the speed at which the skeleton icons are drawn.



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