home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d07xx / d0779.lha / AAP_AAC / gfx_stuff / +script_demo next >
Text File  |  1992-12-06  |  2KB  |  63 lines

  1. ; AAP Demo Script
  2. ;
  3. ; This AAP-script shows a demo presentation
  4. ; of some pictures and animations
  5. ; of different sizes and screenmodes
  6. ;
  7. ; if you have 1.5MB of Ram or more you can preload and play
  8. ; the whole presentation in your RAM.
  9. ; All you need to do is to select the icon of this script
  10. ; and then shift-double-click the AAP icon.
  11. ;
  12.  
  13. _PIC_TIME 400              ;pictures are displayed for 100 jiffies
  14.  
  15. _BEG_LOOP 1000
  16.   _SPEED                   ;use the timing stored in the anim files
  17.   Anim.countdown           ;playing our first animation
  18.   _PAUSE 10
  19.  
  20.   pic.pencil.LO            ;display a single picture
  21.  
  22.  
  23.   ; Now we want to show brushes that are smaller than the full display
  24.   ; therefore we set view ofsets to center the brushes on the screen
  25.   _VIEW_DX 80
  26.   _VIEW_DY 30
  27.  
  28.   Brush.night.HI
  29.   Brush.Karen.HAMLC
  30.  
  31.   ; reset the view ofsets
  32.   _VIEW_DX
  33.   _VIEW_DY
  34.  
  35.   ;
  36.   ; The following part of the AAP-script shows smooth joined animation
  37.   ; playback.
  38.   ; (for more details see AAP.doc file)
  39.   ;
  40.  
  41.   _SPEED 12                   ;set timing to 12 jiffies per second
  42.                               ;(ignoring the stored timing information)
  43.   Anim.Hans+Liesl.1.HI -M2    ;play the anim 2 times
  44.                               ;M == show the last 2 frames at last loop
  45.                               ;(this are usually deltas to frame#0 and #1)
  46.  
  47.   _SPEED 9                    ;now speed up
  48.   Anim.Hans+Liesl.1.HI -JM6   ;J == skip over frame#0 and #1 at 1.st loop
  49.  
  50.   _SPEED 6                    ;speed up again
  51.   Anim.Hans+Liesl.1.HI -JM8
  52.  
  53.   _SPEED 4
  54.                      ;J == skip #0, #1 at 1.loop and
  55.                      ;C == skip the last 2 frames at last loop
  56.                      ;     (this are usually detas to frame#0 and #1)
  57.  
  58.   Anim.Hans+Liesl.2.HI -JC1
  59.   _PAUSE 300
  60.  
  61.  
  62. _END_LOOP
  63.