(This is important, please read this)
The "Mr.Potato" applet is supplied FREE of charge for use on personal homepages where the "personal" site does not
a) Contain adult material. b) Promote any form of racism. c) Promote extreme political or religious views. d) Can be generally considered offensive.If you are in any doubt whatsoever as to whether or not this does or might disqualify your site, either DO NOT use the applet, or e-mail me at, firstname.lastname@example.org asking for permission to use it along with a description of your web site (in English), why you are unsure if you meet the conditions of use, and the URL(s) for your site.
Commercial sites should ask for, and recieve, written permission from me BEFORE using this applet. I do not make any sort of charge for the use of this applet whether commercial or otherwise, but I do reserve the right to refuse permission to certain types of commercial site.
In addition, I do not accept liability for anything whatsoever arising directly or indirectly from the use or download of this applet or any of its associated files. This applet and its associated files are provided free of charge and are supplied on an "as is" basis. No kind of warranty or guarantee is supplied or implied.
Modifications must not be made in any way whatsoever to either or both of the class files.
Distribution of the zip file or any of the applet components is not allowed without written consent from me.
All images supplied in the unmodified zip file, were created by me and can therefore be freely used in accordance with the conditions previously stated.
If you decide to use the applet, I would appreciate notification. I might add a "links" section later. Also a link back to me would be nice, although this is not a condition or requirement of using the applet.
The page to use for links (and the base page for all games applets) is http://home.sol.no/~svw2/puzzles.
You can contact me at email@example.com.
|ImgWidth||nn||The width for the main image(s).|
|ImgHeight||nn||The height for the main image(s).|
|BgColor||"#rrggbb"||The background color.|
|PickFrameColor||"#rrggbb"||The color used for the "over item" frame.|
|PickSpotColor||"#rrggbb"||The color used for the "item selected" spot.|
|ButtonTitle||"title text"||The text to be used for the "Reset" button. This allows easy conversion to another language.|
|PartsPath||"pathname/"||An optional path to be used to locate all "piece" images (This MUST end with a forward slash).|
Add a primary image. "n" can be between 1 and 10.
Image1 MUST be defined, and this is the image which is used when the game is started. Additional images
are added until the next number in the sequence is not found or you have added 10 images.
Display Name - The name to show in the list.
path/image.fil - The image file (and path) to add to the game.
* If more than one primary image is defined, the list-box is automatically added to the applet window.
Add a game piece.
A maximum of 300 pieces can be used.
Qty - The number of copies of this piece.
Image.gif - The name of the image file
X Position - The starting X coordinate for this piece.
Y Position - The starting Y coordinate for this piece.
Orientation - (Optional) The starting orientation for this piece (0-3).
Width - (Optional) Set the width for this piece.
Height - (Optional) Set the height for this piece.
When set to true, the position and orientation
for pieces is shown in the top right hand panel.
This is mainly intended to help in setting the correct starting locations/orientation for pieces placed on the primary image.
The display shows,
X Position, Y Position, Orientation
value="1,fred.gif, 90, 90" value="1,steve.gif,100, 90"will not work. I might do something about this later.
<param name=Piece1 value="1,a.gif,10,10"> <param name=Piece3 value="1,b.gif,20,10"> <param name=Piece4 value="1,c.gif,30,10"> <param name=Piece2 value="1,d.gif,40,10"> <param name=Piece6 value="1,e.gif,50,10"> <param name=Piece7 value="1,f.gif,60,10">will add pieces 1,2,3 & 4 even though they are not defined in sequence. Pieces 6 & 7 will not be added because "Piece5" is missing (ie; processing of the pieces stops when "Piece5" is not found).
<param name=Piece1 value="1,hat.gif,40,10"> <param name=Piece2 value="1,hair.gif,50,10">Then the "hair.gif" image would always be always be displayed over the top of the "hat.gif" image.
Mr.Potato's homepage is http://home.sol.no/~svw2/puzzles
Send e-mail to firstname.lastname@example.org