home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-09-02 | 1.0 KB | 50 lines |
- ' End Animation Jobby
- '
- ' Sample from "Eye of The Beholder" by Metallica .
- '
- '
- Sam Loop On
- Volume 0
- Sam Play 1
- For N=0 To 63
- Volume N
- Wait 2
- Next N
- Global WIN
- If Command Line$="black" Then WIN=2
- If Command Line$="red" Then WIN=1
- Proc _ENDBIT
- Procedure _ENDBIT
- Screen Open 0,320,256,16,Lowres
- Unpack 7 To 0
- If WIN=1 Then Paste Bob 30,10,1
- If WIN=2 Then Paste Bob 5,10,2 : Colour 8,$113 : Colour 9,$111
- Paste Bob 110,10,3
- Wait 80
- Proc NUKE
- Wait 120
- Fade 5 : Wait 15*5
- End Proc
- Procedure NUKE
- Restore
- For N=1 To 15
- Read X : Colour 8,X : Wait 3
- Next N
- Wait 30
- For N=1 To 15
- Read X : Colour 8,X : Wait 3
- Next N
- If WIN=1 Then Colour 8,$620
- Data $111,$222,$333,$444,$555,$666,$777,$888,$999,$AAA,$BBB,$CCC,$DDD,$EEE,$FFF
- Data $FFF,$EEE,$DDD,$CCC,$BBB,$AAA,$999,$888,$777,$666,$555,$444,$333,$222,$113
- End Proc
- For N=63 To 0 Step -1
- Volume N
- Wait 2
- Next N
- Sam Stop : Wait 5
- Volume 63
- Screen Open 0,320,256,4096,Lowres : Cls 0 : Curs Off : Flash Off
- Unpack 8 To 0
- Wait 30
- Run "df0:code/barebones.amos"