Lab 1 - 2D Graphics
Objectives
- Create an animation
- Transform images
- Download the chapter 2 source code and import this project into Eclipse.
- Run SpriteTest2 and test it out.
- It is time for you to make some changes! Add another Sprite.
Under the images directory there are three images which should animate a
fly. The fly should bounce around the window with the other sprites
but should not do the flips like the others.
- Scale your sprites (except the fly) to half size. Beware -- you
will have to alter the bounds of the bounce now that the images are smaller
in appearance.
- Have the sprites (except the fly) flip upside down when they are
traveling up on the screen but have them remain right side up when traveling
down on the screen.
- Email the modified SpriteTest2.java file to me for grading.