home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 243.lha / WipeDemo_v2.0 / Wipedemo.doc < prev    next >
Text File  |  1989-05-10  |  4KB  |  103 lines

  1. ==============================================================================
  2.                                 WIPEDEMO v2.0
  3. ==============================================================================
  4.  
  5.    To show how this program works, I wrote a little script that works with the
  6. DeluxePaint II Art Disk.  From CLI, type ARUN WIPEDEMO, or double-click the
  7. icon from Workbench.  This program displays a series of lo-res files in
  8. sequence using fadeouts and 35 different screen wipes.  It can also be
  9. programmed to wait in between each picture and to use the narrator device.
  10. The script file, WIPEDEMO.S, can be changed or rewritten to suit your needs.
  11. Read the script file to see how the commands work.  You can use this program
  12. in any software, commercial or otherwise, as long as you give me a bit of
  13. credit somewhere.  If you modify it, do not distribute the modified software.
  14. To show your appreciation, send me $15 or so, and I'll give it to you along
  15. with the MicroEd demo disk that it was originally designed for.  Another way
  16. to show your appreciation is to buy lots of MicroEd educational programs.
  17.  
  18.                             Paul Falstad
  19.                             5415 Abbott Place
  20.                             Edina, MN 55410
  21.                             CIS: 70016,1355
  22.                             GEnie: P.FALSTAD
  23.  
  24.                             MicroEd, Inc.
  25.                             P.O. Box 24750
  26.                             Edina, MN 55424
  27.                             (612) 929-2242
  28.  
  29.  
  30. ========================================================================
  31.                                 COMMANDS
  32. ========================================================================
  33.  
  34. Run program as follows:
  35.  
  36.    <ARUN> WIPEDEMO <script_file>
  37.  
  38. If <script_file> is not specified, it defaults to WIPEDEMO.S.  You might try
  39. using a CON: window as a script file to test out the wipes.
  40.  
  41. Here are the commands used in the script file:
  42.  
  43.    SHOW <filename>        Shows a picture with wipes
  44.    WAIT <num>             Waits a specified number of seconds
  45.    RANDOM                 Uses random selection of wipes
  46.    SELECT <num>           Select a certain wipe
  47.    FADES ON               Turns on random fadeouts
  48.    FADES OFF              Turns off random fadeouts
  49.    LOOP                   Goes back to beginning of script
  50.    #                      Denotes comment
  51.  
  52. If you use your own pictures with this demo, do not make color 1 white.  You
  53. may notice a little white flicker in showing the DPaint II pictures; this is
  54. because of the bright color 1.
  55.  
  56. ========================================================================
  57.                                WIPE NUMBERS
  58. ========================================================================
  59.  
  60.    0   UpAndDownPanel         1   Random
  61.    2   LeftLinePanel          3   Dice
  62.    4   GrowBoxes              5   SideToSide
  63.    6   TwoClock               7   OneClock
  64.    8   RandomOut              9   Spiral
  65.    10  ExpandBox              11  Doors
  66.    12  WipeUp                 13  WipeDown
  67.    14  WipeLeft               15  WipeRight
  68.    16  WipeDiag               17  TwoBox
  69.    18  Shades                 19  RandomShade
  70.    20  SymArr                 21  FourSweep
  71.    22  FourLines              23  HexSweep
  72.    24  DiagSplit              25  Xes
  73.    26  SlideBoxes             27  Cannon
  74.    28  Drip                   29  MovingWindow
  75.    30  Sun                    31  Monolith
  76.    32  Rain                   33  MergeWindows
  77.    34  Slides
  78.  
  79.  
  80. =========================================================================
  81.                              ADDING YOUR OWN
  82. =========================================================================
  83.  
  84. If you have ideas for wipes, add one and send the code fragment to me.
  85. Here is a typical wipe subroutine:
  86.  
  87.    WipeDown(rp,step)
  88.    struct RastPort *rp;    /* RastPort for mask bitmap */
  89.    int step;               /* step = 0-63 */
  90.    {
  91.       RectFill(rp,0L,0L,319L,(step*199L)/63L);
  92.    }
  93.  
  94. You receive a pointer to a RastPort structure one bitplane thick.  The FgPen
  95. will be set to 1.  You simply draw with color 1 on the bitmap where you want
  96. the new picture to show through, and draw with color 0 where you want the
  97. old picture.  Check the 35 examples.
  98.  
  99. If I get a lot of good wipes, I will use them all in the next version.  Send
  100. me a code fragment like the one above, with just the subroutine.
  101.  
  102. =========================================================================
  103.