Java Puzzle 2.0 This text file is for extremely limited amount of use. It is not designed to help the beginner. The web page is more for that. http://www.visi.com/~shoefly/puzzle/ This is how you reference the puzzle in your web document. Fields defined: width = Width of the picture you plan on making into a puzzle (minimum) height = Height of the picture + 20 (minimum) num = total number of pieces in puzzle (*) numx = Total number of pieces horizontally (*) numy = Total number of pieces vertically (*) src = Source of image (relative to web page) soundsrc = Source of .au format sound file (relative to web page) url = URL to display after puzzle is completed (*) You only need two of these. If you use the 'num' parameter, make sure that it is EVENLY DIVISIBLE by both 'numx' and 'numy'. In other words, don't specify num=13 and numx=7. The url field is good if you want it to display the finished image along with a message of "You solved it in X moves". The X will be passed into the URL as a parameter. X will be a number greater than 0. See below chart for more info. Your puzzle's url is assumed to be http://www.com/~user/puzzle.html What URL is defined as What it becomes --------------------------------------------------------- done.cgi http://www.com/~user/done.cgi?X http://hi.com/whatever http://hi.com/whatever?X ../weird.cgi http://www.com/weird.cgi?X If you don't specify the "http://..../.../.../" part, the applet should figure it out for you. The ?X added to the end will not mess up normal web pages, and if you don't specify this field, it is ok. It just won't go anywhere when it gets done. No problem! The applet will play the sound file you specify (url format same as above). The example sound file is just a round of applause. If you don't specify this parameter, you will get no sound. The applet will get an image that you specify (url format same as above). It will chop it up into little squares, so you only need one file. History: 2.0 * Only uses one image instead of a bunch. * Now you can specify where the image is. * Display is much improved * You can specify sound file 1.0 * Does not display images until all are loaded * Made it display them faster * Does not load sound until images are all loaded (for people on modems like me). Any questions? E-mail me at fidian@juno.com or visit the puzzle's web site at http://www.visi.com/~shoefly/puzzle/