Jammin' Lamps



Can you hear the music?
Hopefully you can...if not use appletviewer

Please be patient, the animation is a bit slow.

Push key "d" to see the desk lamp head-nod
Push key "s" to see the red lamp do the same
Push key "b" to see the desk lamp bounce its head
Push key "l" to see the red lamp do the slide
Drag any of the lamps to different locations.
Click on scene and check the status bar to see if you hit a sprite.

Requirements met/Features:

At least two sprites (desk lamp and screw lamp)
Moving them around playfield (drag lamps)
Properly clipped (move lamps to corners)
Implements transparent pixels (transparent lamps)
Tests for transparency (click scene to see whether lamp is hit)


Sources

AnimatedSprite.java
Jamming.java
Music.java
Playfield.java
Raster.java
Sprite.java