Skip To Content

Athabasca University

4.2. Introduction to Sprite Programming

Learning Objectives

When you have finished section 4.2, you should be able to:

  1. Explain what sprites are.
  2. Draw regular and scaled sprites.
  3. Draw flipped sprites.
  4. Draw rotated and pivoted sprites.
  5. Further enhance the tank war game.

Required Tasks

  1. Study Chapter 8, Introduction to Sprite Programming, in the eTextbook.
  2. Carefully study the routines for manipulating sprites.
  3. Enhance the Tank War project game by using sprites as detailed in Chapter 8 (download Sprites files from the Files link below).
  4. Complete the Chapter 8 quiz, and check your answers in Appendix A.

Files (drawsprite, flipsprite, pivotsprite, rotatesprite, scaledsprite, tankwar_r3, transsprite)

Optional Task

  1. Play with the Tank War game, and carefully study the strategy of the game.
  2. Write a summary of the game strategy.

Updated May 24 2016 by FST Course Production