Introduction

The applet requires a Java enabled browsers. The applet was designed with compatibility in mind, and will run on Java Virtual Machines as early as version 1.1.8. To use the applet, basicly upload the lark.jar file to your website. To display the applet in a web page, insert the following code into your html editor:


<APPLET CODE="com.pokw.nibbles.Nibbles.class" ARCHIVE="lark.jar" WIDTH="500" HEIGHT="430">
<PARAM NAME="soundon" VALUE="true">
<PARAM NAME="lives" VALUE="10">
</APPLET>

You can change the WIDTH and HEIGHT setting to fit your website layout, but changing the size will cause the applet to scale the image to fit the new size. This does cause a small performance penalty to the game. The two PARAM tags pass two values to the applet. You can pass as many parameters to the applet as you like. More information about parameters are explained in the next section.




Applet Parameters

There is a PARAM tag you can use between the APPLET tag to pass parameters to the applet. This applet accepts the following parameters:

Name: Value: Description
General Settings
sound boolean Set whether the sound effect is on or off. The value "true" will turn sound effects on, the the value "false" will turn them off.
lives number Set the number of lives a player will start with. The value must be an integer greater than 0. If no value is specified, the default value is 5.
startscreen URL Overrides the default image shown at the start.
rate number Ovverides the default game speed. Smaller number will result in faster game play. The value cannot be negative. Default value is 80.
Branding Options
appkey String Allows you to change the logo on the bottom right corner.
homepage String The url the link on the bottom right will click to. Requires a valid appkey.
logo URL The url to the image that will be displayed on the bottom right corner. Requires a valid appkey.
Custom Levels
stage1 URL Overrides the 1st stage with a custom level.
stage2 URL Overrides the 2nd stage with a custom level.
stage3 URL Overrides the 3rd stage with a custom level.
stage4 URL Overrides the 4th stage with a custom level.
stage5 URL Overrides the 5th stage with a custom level.
stage6 URL Overrides the 6th stage with a custom level.
stage7 URL Overrides the 7th stage with a custom level.
stage8 URL Overrides the 8th stage with a custom level.
stage9 URL Overrides the 9th stage with a custom level.
stage10 URL Overrides the 10th stage with a custom level.



Commercial Options

By default, my website logo is displayed on the bottom right which will click through to my website. This is how I can offer the games for free. You do have the option to purchase an appkey which will allow you to put your own url and image instead of mines. There is also a level editor for the game. To try it out, go to the editor folder and click on editor.exe file to run the program. A registration code is also avaiable for purchase. Sales are done on a person to person bias. Please contact Pok-Ching Lee for more information.

Price Description
$39.95 USD Appkey code for custom logo.
$39.95 USD Registration code for level editor.
$69.95 USD Purchase both and save $10!




Contact Information

Author: Pok-Ching Lee
Email: l_pok@yahoo.com
Website: http://www.pokw.com


Happy as a Lark?

Have you ever heard of the saying "happy as a lark".....well, me neither until I encountered it in a spanish textbook some years back. That just shows how poorly some text books are written, honestly who uses that expression? I heard of "happy as a clam", "happy as a bee", "happy as a child in a candy store", but never "happy as a lark". Well, that's how the game got its name.