1. You just send me a quick mail message saying that you are using it. 2. You send me the http address of the page(s) using this applet. I like to look at these, it's nice to see how people are using it. 3. If you do not want me to include your pages in any links listing that I might make, please let me know. Otherwise I will assume that I can. (if you say no, then I will respect that). 4. A link back to the games homepage http://svwhite.com/games, would be appreciated, but is not a condition of the applets use. 5. I ask that you do not redistribute the applet either in part or as the the zip file without my permission.and require that,
1. (*)All class and jar files MUST NOT be tampered with or modified in any way. 2. (*)All class and jar files MUST NOT be reverse engineered or decompiled. 3. Commercial sites MUST ask for, and receive written permission from me BEFORE using the applet.in addition,
I do not accept responsibility or liability for any damage or loss caused either directly or indirectly by the use of the applet or any component part. Neither do I accept any responsiblity or liability for any damage or loss caused by the download or extraction of any or all of the supplied files. This applet is supplied on an "as is" basis, I do not guarantee it's ability to function or it's fitness for use in any way.Commercial user's MUST ask for permission before using this applet. I DO NOT charge for this applet, but I do reserve the right to decide if I want to allow it's use on individual commercial sites. My decision on commercial sites is based on how you intend using the applet and the type of site.
this contains all of the necessary class files. To use the applet you need to transfer the "Jigsaw.jar" file to the server in binary mode. You do not need to extract anything from the jar file the jar file is just a "wrapper" for the class files. Most browsers understand what to do with jar files. For those users who wish to use class files instead of the jar file, these have also been included in the zip file. |
Changes in MrPotato 1.3 |
The image handler has been replaced. This has corrected a problem where under some circumstances, images (jpeg images), were only partially drawn in the playing area. |
All class files have been packed into a single jar file. |
Parameter | Value | Description |
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). |
Imagen | "Display Name, path/image.fil" |
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, a list-box is automatically added to the applet window so that the player can select the different main images. |
Piecen | "Qty, Image.gif, X Position, Y Position, Orientation, Width, Height" |
Add a game piece.
A maximum of 300 pieces can be used. This is something of a "complex" definition, but looking at the example html files will also help you to understand how this works. 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. |
ShowPositions | true |
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.