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 does Pac-Man have to do with frame animation?

2:

How are frame images stored in a frame-animated sprite?

3:

What is the purpose of a frame delay?

Exercises

  1. Modify the images for the moving guys in the Battle Office 2 game so that there are more animation frames that better convey the effect of the guys running.

  2. Modify the images for the stationary guys in the Battle Office 2 game so that they wave their arms a little; it shouldn't take more than two or three frames to get this effect. Also, try altering the frame delay for these guys to see how you can speed up and slow down their motions .



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