home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
demos
/
acid.amos
/
acid.amosSourceCode
next >
Wrap
AMOS Source Code
|
1991-01-29
|
3KB
|
111 lines
Close Editor
Dir$="Robots2:"
Load "MUSIC/MUS2"
Led Off
BEGIN
Music 1
LBAR
Auto View On : Screen To Front 6
Wait 1000
Bob Off : Amal Off : Screen Close 6
'
Unpack 15 To 5
Flash 1,"(FFF,1)(000,1)(0F0,1)(000,1)"
Flash 2,"(000,1)(F00,1)(000,1)(FFF,1)"
'
YAAH
'
Procedure BEGIN
Auto View Off
Unpack 10 To 0
Hide On
Unpack 11 To 1
Unpack 12 To 2
Flash 1,"(111,2)(222,2)(444,2)(666,2)(888,2)(BBB,2)(DDD,2)"
Flash 2,"(222,2)(444,2)(666,2)(888,2)(BBB,2)(DDD,2)(111,2)"
Flash 3,"(444,2)(666,2)(888,2)(BBB,2)(DDD,2)(111,2)(222,2)"
Flash 4,"(666,2)(888,2)(BBB,2)(DDD,2)(111,2)(222,2)(444,2)"
Flash 5,"(888,2)(BBB,2)(DDD,2)(111,2)(222,2)(444,2)(666,2)"
Flash 6,"(BBB,2)(DDD,2)(111,2)(222,2)(444,2)(666,2)(888,2)"
Flash 7,"(DDD,2)(111,2)(222,2)(444,2)(666,2)(888,2)(BBB,2)"
Unpack 13 To 3
Unpack 14 To 4
Flash 1,"(FFF,1)(000,1)(F00,1)(000,1)"
Flash 2,"(000,1)(00F,1)(000,1)(FFF,1)"
End Proc
'
Procedure YAAH
ROO:
'
Gosub LEDS
Wait Vbl
Randomize Timer
Goto ROO
LEDS:
V0=Vumeter(0)
V1=Vumeter(1)
V2=Vumeter(2)
V3=Vumeter(3)
P=1
'
If V0>P Then Screen 0 : Shift Up 1,1,31,1
If V1>P Then Screen 0 : Shift Down 1,1,31,1
If Mouse Key=1 Then PAUL
Wait 2
If V2>P Then Screen 1 : Shift Up 1,1,31,1
If V3>P Then Screen 1 : Shift Down 1,1,31,1
If Mouse Key=1 Then PAUL
Wait 2
If V2>P Then Screen 3 : Shift Up 1,2,15,1
If V3>P Then Screen 3 : Shift Down 1,2,15,1
'
If Mouse Key=1 Then PAUL
If V0>P Then A=Rnd(5)
Screen To Front A : Randomize Timer
'
Return
End Proc
'
Procedure PAUL
For B=63 To 0 Step -1
Volume B : Wait 2
Next B
Music Off : Volume 63 : Erase 3
For S=0 To 5
Screen Close S
Next S
Run "AutoExec.Amos"
End Proc
'
Procedure LBAR
Screen Open 6,320,256,2,Lowres : Flash Off : Curs Off : Hide On : Palette $0,$FFF
Hot Spot 1,0,2
Hot Spot 2,0,3
Hot Spot 3,0,6
Hot Spot 4,0,9
Hot Spot 5,0,12
Hot Spot 6,0,20
Hot Spot 7,0,21
'
Bob 1,0,30,1
Bob 2,0,90,1
Bob 3,0,160,1
Bob 4,0,229,1
Channel 1 To Bob 1
Channel 2 To Bob 2
Channel 3 To Bob 3
Channel 4 To Bob 4
A$="AU(Let R6=Vu(0) ; If R6=0 eXit D else A)"
A$=A$+"A: A 1,(7,2)(6,2)(5,2)(4,2)(3,2)(2,2)(1,2) ; W"
Amal 1,A$
B$="AU(Let R7=Vu(1) ; If R7=0 eXit D else B)"
B$=B$+"B: A 1,(7,2)(6,2)(5,2)(4,2)(3,2)(2,2)(1,2) ; W"
Amal 2,B$
C$="AU(Let R6=Vu(2) ; If R6=0 eXit D else C)"
C$=C$+"C: A 1,(7,2)(6,2)(5,2)(4,2)(3,2)(2,2)(1,2) ; W"
Amal 3,C$
D$="AU(Let R7=Vu(3) ; If R7=0 eXit D else E)"
D$=D$+"E: A 1,(7,2)(6,2)(5,2)(4,2)(3,2)(2,2)(1,2) ; W"
Amal 4,D$
Amal On
End Proc