Alien-Factory Logo JavaMappy Logo

JavaMappy Examples :: Applet

This example demonstrates how to use JavaMappy in an Applet. It is the same Applet as the one used in the "applet demo" page on the JavaMappy website.

This example loads the Alien Epidemic test map, sets up a game loop and scrolls the map around. Different parameters (map name, speed, etc...) can be passed into the Applet to override default values.

 

Source code:

 

Go to applet/example.html to run the example.