home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
251-275
/
apd273
/
text.amos
/
text.amosSourceCode
< prev
Wrap
AMOS Source Code
|
1990-09-06
|
2KB
|
73 lines
Procedure IRO
Break Off
Screen Open 0,320,256,4,0
Flash Off
Curs Off
Cls 0
Hide
Colour 1,$0
Ink 3
Update Off
Colour 3,$FFF
N=1
A$=" the bladerunners present ------------ beer mania ------------ "
T$=" abcdefghijklmnopqrstuvwxyz1234567890.,:;[]!?#-/"
For Y=10 To 230 Step 26
For X=10 To 300 Step 25
E$=Mid$(A$,N,1)
POS=Instr(T$,E$)
Paste Bob X,Y,POS
Inc N
Next X
Next Y
Set Rainbow 0,1,26,"","(1,1,13)(1,-1,13)","(1,1,13)(1,-1,13)"
Rainbow 0,0,50,220
Screen Open 1,640,16,2,Hires
Screen Display 1,128,40+240,640,16
Curs Off
Cls 0
Colour 1,$FFF
Print "CODE:- WASTER GFX:- WASTER PRESS LEFT MOUSE BUTTON"
Screen 0
Double Buffer
Colour 1,$F00
Synchro Off
For N=1 To 40
Channel N-1 To Bob N
Bob N,Rnd(319),Rnd(240),$34
Next N
A$="Loop:P;Let Y=Y+2;Let X=X+2;If Y>240 Jump Kop;If X>320 Jump Mj;Jump Loop;Kop:Let Y=Y-240;Jump Loop;Mj:Let X=X-320;Jump Loop"
B$="Loop:P;Let Y=Y+4;Let X=X+4;If Y>240 Jump Kop;If X>320 Jump Mj;Jump Loop;Kop:Let Y=Y-240;Jump Loop;Mj:Let X=X-320;Jump Loop"
C$="Loop:P;Let Y=Y+8;Let X=X+8;If Y>240 Jump Kop;If X>320 Jump Mj;Jump Loop;Kop:Let Y=Y-240;Jump Loop;Mj:Let X=X-320;Jump Loop"
D$="Loop:P;Let Y=Y+12;Let X=X+12;If Y>240 Jump Kop;If X>320 Jump Mj;Jump Loop;Kop:Let Y=Y-240;Jump Loop;Mj:Let X=X-320;Jump Loop"
For N=1 To 10
Amal N-1,A$
Next N
For N=11 To 20
Amal N-1,B$
Next N
For N=21 To 30
Amal N-1,C$
Next N
For N=31 To 40
Amal N-1,D$
Next N
Amal On
Music 1
Do
Wait Vbl
Synchro
Update
If Mouse Click=1 Then Goto FRED
Loop
FRED:
Update On
Music Off
Rainbow Del
Screen Close 1
Screen Close 0
Synchro On
Show
Run "mania1:autoexec.amos"
End Proc
IRO