home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
demos
/
lamer.amos
/
lamer.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1991-06-02
|
4KB
|
163 lines
Rem***********************************************************************
Rem*** ***
Rem*** THE LAMER STRIKES BACK DEMO ***
Rem*** ***
Rem*** BY GRAHAM CROWE ***
Rem*** ***
Rem*** APRIL 1991. ***
Rem*** ***
Rem*** Place this disk in df0: ***
Rem*** ***
Rem***********************************************************************
Screen Open 1,320,270,8,Lowres
Screen Display 1,112,30,320,270
Get Sprite Palette
Global J
Cls 0 : Flash Off : Hide
Double Buffer
Autoback 0
Bob Update Off
Synchro Off
For C=1 To 19
Channel C To Bob C
Next C
AAA
BBB
CCC
Music Off
End
Procedure AAA
Bob 1,35,-62,10
Bob 2,66,-63,11
Bob 3,102,-62,12
Bob 4,160,-64,1
Bob 5,189,-63,2
Bob 6,225,-64,3
Bob 7,262,-62,12
Bob 8,286,-64,4
Bob 9,70,292,9
Bob 10,98,294,10
Bob 11,128,292,4
Bob 12,157,294,5
Bob 13,189,293,6
Bob 14,218,294,12
Bob 15,243,292,9
Bob 16,110,352,7
Bob 17,136,351,2
Bob 18,171,349,8
Bob 19,197,351,6
A$="M 0,100,50"
B$=" M 0,-200,50;"
For A=1 To 8
Amal A,A$
Next A
For A=9 To 19
Amal A,B$
Next A
Music 1
Timer=0
Repeat
If Timer>0 Then Amal On 1 : Amal On 2 : Amal On 3
If Timer>80 Then Amal On 4 : Amal On 5 : Amal On 6 : Amal On 7 : Amal On 8
If Timer>160 Then Amal On 9 : Amal On 10 : Amal On 11 : Amal On 12 : Amal On 13 : Amal On 14 : Amal On 15
If Timer>240 Then Amal On 16 : Amal On 17 : Amal On 18 : Amal On 19
Bob Clear
Synchro
Bob Draw
Screen Swap
Wait Vbl
Until Timer>400
End Proc
Procedure BBB
A$="B:M 0,-5,5;M0,10,10;M0,-5,5;JB;"
B$="C:M0,5,5;M0,-10,10;M0,5,5;JC;"
C$="D:M-3,0,3;M3,0,3;JD;"
D$="E:M3,0,3;M-3,0,3;JE;"
For A=1 To 9 Step 2
Amal A,A$
Next A
For A=2 To 8 Step 2
Amal A,B$
Next A
For A=9 To 19 Step 2
Amal A,C$
Next A
For A=10 To 18 Step 2
Amal A,D$
Next A
Amal On
Pen 1
Paper 0
Set Rainbow 1,1,4097,"","",""
For Y=0 To 4095
Rain(1,Y)=Y
Next Y
For C=0 To 4095-255
Rainbow 1,C,40,255
Next C
Screen Swap
Wait Vbl
For Y=0 To 4095
Rain(1,Y)=Y
Next Y
For C=0 To 4095-255
Rainbow 1,C,40,255
Next C
Screen Swap
Wait Vbl
Screen Open 3,500,50,16,Lowres
Screen Display 3,112,250,500,50
Screen 3 : Set Rainbow 3,1,64,"(8,2,8)","","" : Rainbow 3,56,1,255
Def Scroll 1,0,0 To 500,10,-1,0
Locate 0,0
Print " ............GRAHAM'S...FIRST..DEMO....."
Repeat
Bob Clear
Synchro
SSS
Bob Draw
Screen Swap
Wait Vbl
Until Timer>6100
End Proc
Procedure CCC
A$="M -300,0,150;"
B$="M300,0,150;"
For A=1 To 3
Amal A,A$
Next A
For A=4 To 15
Amal A,B$
Next
For A=16 To 19
Amal A,A$
Next A
Amal On
Repeat
S=S+1
If S>32 Then S=1
Bob Clear
Synchro
Cls S
Bob Draw
Screen Swap
Wait Vbl
Until Timer>6780
End Proc
Procedure SSS
Scroll 1
If Timer>650 and J<1 Then Locate 45,0 : Print "...GREETINGS....." : J=1
If Timer>1060 and J=1 Then Locate 45,0 : Print "..TO...TEX..." : J=2
If Timer>1370 and J=2 Then Locate 45,0 : Print "THE BLADE...MIG..." : J=3
If Timer>1780 and J=3 Then Locate 45,0 : Print ".AND...EVERYONE..." : J=4
If Timer>2190 and J=4 Then Locate 45,0 : Print ".ELSE...AT..." : J=5
If Timer>2515 and J=5 Then Locate 45,0 : Print "PREDATOR..BBS..." : J=6
If Timer>2910 and J=6 Then Locate 45,0 : Print "GRAPHICS...BY..." : J=7
If Timer>3300 and J=7 Then Locate 45,0 : Print "G.CROWE..." : J=8
If Timer>3535 and J=8 Then Locate 45,0 : Print "..MUSIC...ADAPTED." : J=9
If Timer>3960 and J=9 Then Locate 45,0 : Print "..BY...G.CROWE..." : J=10
If Timer>4370 and J=10 Then Locate 45,0 : Print "ALL...PROGRAMMING" : J=11
If Timer>4780 and J=11 Then Locate 45,0 : Print "...BY...G.CROWE." : J=12
If Timer>5170 and J=12 Then Locate 45,0 : Print "..USING..." : J=13
If Timer>5500 and J=13 Then Locate 45,0 : Pen 3 : Print "AMOS" : J=14
End Proc