home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / ANJAVA.ZIP / tunnel / tunnel.txt < prev    next >
Encoding:
Text File  |  1998-11-29  |  4.3 KB  |  98 lines

  1.  
  2.           AnfyTunnel - Copyright (C) by Fabio Ciucci 1997/98
  3.  
  4.  
  5. This applet can generate a texture mapped tunnel from any GIF/JPG image.
  6. This applet is fully parametrized, so you can generate all kinds of tunnel
  7. effects.
  8.  
  9. The following 3 ".class" files must be uploaded: tunnel.class, Lware.class
  10. and anfy.class.
  11.  
  12. Insert the <applet> tag in your html document as follows to add this applet
  13. to your page (Comments after the ";" symbol are code explanations and
  14. acceptable min/max values. They are not part of the applet language):
  15.  
  16.  
  17. <applet code="tunnel.class" width=250 height=180> ; Name, Width, Height
  18. <param name=credits value="Applet by Fabio Ciucci (www.anfyjava.com)">
  19. <param name=regcode value="NO">          ; Registration code (if you have it)
  20. <param name=reglink value="NO">          ; Optional URL link when the applet
  21.                                            is "clicked".
  22. <param name=regnewframe value="YES">          ; Reglink opened in new frame?
  23. <param name=regframename value="_blank">      ; Name of new frame for reglink
  24. <param name=statusmsg value="Tunnel applet">      ; Statusbar message
  25. <param name=image value="stone.jpg">        ; Image to load
  26. <param name=res value="1">                  ; resolution (1-8)
  27. <param name=startx value="100">             ; X start
  28. <param name=starty value="100">             ; Y start
  29. <param name=conex value="215">              ; X aspect ratio
  30. <param name=coney value="150">              ; Y aspect ratio
  31. <param name=conez value="1200">             ; Z aspect ratio
  32. <param name=movement value="5">             ; Type of movement (1..8)
  33. <param name=effect value="1">               ; Type of effect (1..2)
  34. <param name=overimg value="NO">                 ; Optional image over applet
  35. <param name=overimgX value="0">                 ; Over image X offset
  36. <param name=overimgY value="0">                 ; Over image Y offset
  37. <param name=memdelay value="1000">            ; Memory deallocation delay
  38. <param name=priority value="3">               ; Task priority (1..10)
  39. <param name=MinSYNC value="10">            ; Min. milliseconds/frame for sync
  40. Sorry, your browser doesn't support Java.  ; Message for no java browsers.
  41. </applet>                                  ; End of applet tag
  42.  
  43.                              ---------
  44.  
  45.  
  46. The following instructions detail how to change parameters:
  47.  
  48. Attempting to change the credits parameter will disable the applet.
  49.  
  50. To activate the reg parameters read the shareware registration notes.
  51. In the "regcode" parameter, place the registration code you
  52. purchased from the author. If the code is correct and the applet is run from
  53. the registered domain name, you can use "link" parameters to link to a URL
  54. when the applet is "clicked".
  55.  
  56. If you set "regnewframe" to "YES", you can specify a specific frame location
  57. for the reglink:
  58.  
  59. "_blank"  : To load the link in a new blank unnamed browser window.
  60. "_self"   : To load the link into the same window the applet occupies.
  61. "_parent" : To load the link into the immediate FRAMESET parent.
  62. "_top"    : To load the link into the top body of the window.
  63.  
  64. You can also set a custom frame name, such as "myframe1".
  65.  
  66. With the "overimg" parameter you can specify the name of an image that will
  67. be painted over the applet. The best options are transparent GIF images.
  68. NOTE: Animated GIF images are supported, but will be displayed as animated
  69. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  70. With "overimgX" and "overimgY" you can center the image over the applet area.
  71.  
  72. The applet can be of any size. If res=1, remember to place the exact
  73. size of image in "width" and "height" tags. If res=2, insert double values,
  74. if res=3 insert triple values, etc.
  75. (In fact, res is a sort of zoomer).
  76.  
  77. The image used as texture can be of any size, and best results are shown
  78. with textures bigger than applet area.
  79.  
  80. The startx,starty,conex,coney,conez parameter values can be varied to change
  81. the tunnel, making it deformed, but the values suggested are the optimal ones.
  82.  
  83. You can select the type of movement with the "movement" parameter:
  84.  
  85. 1) advance
  86. 2) back
  87. 3) anticlockwise rotation
  88. 4) clockwise rotation
  89. 5) advance + clockwise rotation
  90. 6) advance + anticlockwise rotation
  91. 7) back + clockwise rotation
  92. 8) back + anticlockwise rotation
  93.  
  94. You can select between 2 kind of effects: with "1" you are in
  95. a tunnel, with "2"  you are outside the tunnel.
  96.  
  97.  
  98.