Leap Frog - A Sprite Demo



The applet shown below shows contains 3 sprites: a leaping frog, a walking ant, and a pond playfield. As the ant walks to the left, the frog jumps over it on its third leap. Clicking on the applet will move the coordinates of the frog and ant to the location of the mouse click, where the frog will continue to leap over the ant.

The applet may flicker, or not work at all, in Netscape (or any other browser). To view it in this case, please use "appletviewer" on athena.
Make sure you are in my project1 directory:

From athena, you can run the following commands:


    athena% add imagery4
    athena% cd /mit/imagery4/6.837/F98/rielyn/project1
    athena% appletviewer MySprite.html




Back to 6.837 Homepage

Image of frog acquired at Eclipse Digital's GIF Animation Tutorial
Background image acquired at H.D. Specialties Water Gardens
Image of ant acquired at 6.837 Project #1 Homepage