Applet Name: Jumping Frog
Applet Source: Frog.java
Import(s): java.applet; java.awt.image, java.io, java.awt, java.net
Feature(s): image, audio, animation
Author: Charles-Edouard Ruault

Usage Guide:

The Jumping Frog takes 4 parameters :

speed : the speed at which the animation runs.

Vy : initial speed along the X axis.

Vx : initial speed along the Y axis.

delta : the time increment used to calculate the next position of the frog.

This applet features a little frog jumping from across the screen. When the frog reaches the screen borders, it goes backwards. During the animation, a background music is playing.

Usage example:
<APPLET CODE="Frog.class" WIDTH=200 HEIGHT=150>
<param name="speed" value="8">
<param name="Vy" value="-80.5">
<param name="Vx" value="30.0">
<param name="delta" value="0.2">
</APPLET>


Return to index.