CSE 203 Lab 2

Table of Contents


1. Objectives

To practice moving sprites around in a window, and to detect a special location, such as the window's edges.


2. Set Up

Two students may work together on this out-of-class assignment.  If so, place both students' names at the top of the Phrogram program file.  Alternatively, it's okay for one student to create this program alone.

3. Assignment

Create an interesting animation.  (By animation here we just mean a scene in which some of the sprites are moving.)  Place at least six different sprites (as many more as you would like!) in a window.  Move at least three of those sprites (or more or all of them, if you wish).  Have at least one of the moving sprites do something special (like stop or change direction or "bounce") when it reaches some special location in the window, such as the window's edge.  When the certain sprite does something special, have at least one other sprite still moving.  Make this animation something you (and your partner) are reasonably happy with.

4. Method

  1. Feel free to ask questions through Carmen or email about anything at all.
  2. If you choose to make your own pictures using some other program, or if you wish to use copyright-free images you get from the WWW, please include those images in your submission.