4.4 Advanced Sprite Programming
Learning Objectives
When you have finished section 4.4, you should be able to:
- Use compressed sprites.
- Use compiled sprites.
- Detect the collision of sprites.
- Create a sprite class.
- Handle angular velocity.
Required Tasks
- Study Chapter 10, Advanced Sprite Programming, in the eTextbook.
- Carefully study the routines for handling compressed and compiled sprites.
- Carefully study the RLESprites example program.
- Carefully study the CollisionTest example program.
- Carefully study the AngularMotion program.
- Complete the Chapter 10 quiz, and check your answers in Appendix A.
Optional Tasks
- Load the Advanced Sprites example programs from the Files link below, and play with the code.
- Build and run the programs.
Files (AngularMotion, collisiontest, compiledsprites, rlesprites, SpriteClass)