home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / internet / JSLib / applets / 0113 / parametry.txt < prev   
Text File  |  1997-12-31  |  5KB  |  91 lines

  1. <applet code="fire.class" width=140 height=256>  ; Name, Width, Height
  2. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  3. <param name=regcode value="NO">         ; Register code (if you have it)
  4. <param name=reglink value="NO">         ; URL where go optionally when clicked
  5. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  6. <param name=regframename value="_blank"> ; Name of new frame for reglink
  7. <param name=statusmsg value="Fire applet">  ; Statusbar message
  8. <param name=fwidth value="70">            ; width (1-1024)
  9. <param name=fheigth value="64">           ; height (1-1024)
  10. <param name=resx value="2">               ; horizontal resolution (1-8)
  11. <param name=resy value="4">               ; vertical resolution (1-8)
  12. <param name=fcut value="7">               ; fire cut start (1-127)
  13. <param name=fsub value="4">               ; fire cut value (1-127)
  14. <param name=deflight value="30">          ; minimal lightning at base (0-127)
  15. <param name=fmode value="2">              ; fire mode (1=rectangle 2=convex)
  16. <param name=rndrep value="4">             ; random gen. repeating (1-9)
  17. <param name=paletteR value="5">           ; red value (0-8)
  18. <param name=paletteG value="3">           ; green value (0-8)
  19. <param name=paletteB value="1">           ; blue value (0-8)
  20. <param name=textscroll value="firescr.txt"> ; File for scrolltext or "NO"
  21. <param name=textoffset value="140">         ; Txtscroll y offset
  22. <param name=textspeed value="1">          ; Txtscroll speed
  23. <param name=textfont value="Arial">       ; Txtscroll font name
  24. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  25. <param name=textsize value="24">          ; Txtscroll font size
  26. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  27. <param name=TextColR value="200">         ; Txtscroll color (red component)
  28. <param name=TextColG value="255">         ; Txtscroll color (green component)
  29. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  30. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  31. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  32. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  33. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  34. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  35. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude        
  36. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  37. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel  
  38. <param name=memdelay value="1000">        ; Memory deallocation delay
  39. <param name=priority value="3">           ; Task priority (1..10)
  40. <param name=fixnetscape value="NO">       ; Fix Netscape 3.0 bug ("YES","NO")
  41. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  42. Sorry, your browser doesn't suppor Java.  ; Message for no java browsers.
  43. </applet>                                 ; End of applet tag
  44.  
  45.  
  46.                              ---------
  47.  
  48.  
  49. Here detailed instructions about how to change parameters:
  50.  
  51.  
  52. The credits parameter can't be changed otherwise the applet will not work.
  53.  
  54. To activate the reg parameters read the shareware registration notes.
  55. In the "regcode" parameter you have to place the registration code you
  56. purchase from the author. If it is correct and the applet is run from the
  57. registered domain name, you can use "reglink" parameter, where you can specify
  58. an URL where bring user when the applet is clicked.
  59. If you set to "YES" regnewframe, you can specify a frame where load the
  60. reglink:
  61.  
  62. "_blank"  : To load the link in a new blank unnamed browser window.
  63. "_self"   : To load the link into the same window the applet occupies.
  64. "_parent" : To load the link into the immediate FRAMESET parent.
  65. "_top"    : To load the link into the top body of the window.
  66.  
  67. Otherwise the frame name, for example "myframe1".
  68.  
  69. fwidth and fheight determine the "internal" width and heigth of the fire,
  70. but will be "real" size only is resx=1 and resy=1. In fact, resx and resy
  71. are a sort of "scalers" or "zoomers", or "stretchers", if you prefer: if
  72. fwidth and fheigth are set to 8 and 10, and resx=2 & resy=2, you will have
  73. a "real" size of 16 x 20. The real size is fwidth*resx X pheight*resy.
  74. This effect is better when resy is greater than resx.
  75.  
  76. About the fire cutting values fcut and fsub, consider fcut must be higher
  77. than fsub, and some values will generate wrong effects. Range is 1-127.
  78.  
  79. The deflight (0-127) determine the minimal light at the base of fire... so
  80. placing it to 0 the fire will have more black holes than placing it as 127.
  81.  
  82. If you like the fire as a rectangular block, set fmode=1, otherwise set it
  83. to 2, to have a convex (conical) flame.
  84.  
  85. You can decide the smoothing of random generator with rndrep (1-9)... with
  86. lower values you will have less smoothed flames, and vice-versa.
  87.  
  88. About the palette, there are 3 values for Red Green Blue (RGB), that can
  89. go from 0 (none) to 8 (full), and are named paletteR, paletteG, paletteB.
  90. So you can generate red (fire), green (magic), blue (gas) flames... there
  91. are 700 combinations possible, just select your preferred.