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 the purpose of a bounding rectangle?
2:
How does a bounds action work?
3:
Why does the Sprite class contain a pointer to a Bitmap object?
Exercises
Try modifying the velocities of the golf ball sprites in the Fore program example to see how it changes their movements.
Create a new sprite of a bird that flies across the top of the screen in the Fore program example. (Hint: This isn't as hard as it sounds ”just study the code for the golf ball sprites and take note of what it takes to incorporate a new sprite into the mix.)