home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
subroutines
/
sonicblastapd.amos
/
sonicblastapd.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1990-12-28
|
2KB
|
65 lines
Screen Open 0,320,200,16,Lowres
Break Off
Hide
Erase 3
Unpack 10 To 0
Screen Open 1,320,200,16,Lowres
Flash Off
Curs Off
Cls 0 : Hide
Screen To Front 0
A1$="Let A=17;A: If V(0)=0 Jump A; Anim 1,(1,3)(2,3)(3,3)(4,3)(5,3);Jump A;"
A2$="Let A=17;A: If V(1)=0 Jump A; Anim 1,(1,3)(2,3)(3,3)(4,3)(5,3);Jump A;"
A3$="Let A=17;A: If V(2)=0 Jump A; Anim 1,(1,3)(2,3)(3,3)(4,3)(5,3);Jump A;"
A4$="Let A=17;A: If V(3)=0 Jump A; Anim 1,(1,3)(2,3)(3,3)(4,3)(5,3);Jump A;"
Screen 0 : Bob 1,90,17,1
Screen 0 : Bob 2,105,17,1
Screen 0 : Bob 3,120,17,1
Screen 0 : Bob 4,135,17,1
Channel 1 To Bob 1
Channel 2 To Bob 2
Channel 3 To Bob 3
Channel 4 To Bob 4
Amal 1,A1$
Amal 2,A2$
Amal 3,A3$
Amal 4,A4$
Amal On
Screen 0 : Double Buffer
Screen 1
Pen 2 : Paper 0
Screen 1 : Locate 0,22 : Print "Tempo: ";T : Curs Off
TITLE:
Do
Clear Key
If Mouse Key=3 Then Music Off : End
If Key State(64) Then End
If Mouse Key=1 Then Goto BANKTHATMUSIC
If Mouse Key=2 Then Goto SETTEMPO
Loop
BANKTHATMUSIC:
F$=""
Clear Key
Show On
F$=Fsel$("df0:","","Pick Music")
If F$="" Then Goto TITLE
Load F$
Screen 0 : Bob 1,90,17,1
Screen 0 : Bob 2,105,17,1
Screen 0 : Bob 3,120,17,1
Screen 0 : Bob 4,135,17,1
Screen 1
Pen 2 : Paper 0
Locate 0,20 : Cline : Print F$+"" : Curs Off
Hide
Music 1 : Tempo 17 : T=17 : Locate 0,22 : Print "Tempo: ";T;" "
Goto TITLE
SETTEMPO:
Screen 1
Pen 2 : Paper 0
Locate 0,22 : Input " Tempo:";T
Locate 0,22 : Print " "
Tempo T : Locate 0,22 : Print "Tempo: ";T;" "
OKAY:
Curs Off
Goto TITLE