home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
demos
/
chaos_vec_intro.amos
/
chaos_vec_intro.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1992-02-09
|
2KB
|
89 lines
Extension_4_04D6 "chaos:objects/"
Extension_4_0016 "vector"
Extension_4_0016 "chaos"
SRAL[N,TX$]
Procedure SRAL[N,TX$]
Shared N,TX$
Z=6000
Screen Open 1,320,200,4,Lowres : Curs Off : Cls 0 :
Autoback 0 : Flash Off
STARS
Screen Open 0,320,200,16,Lowres
Double Buffer : Autoback 0 : Cls 0 : Flash Off
Bob Update Off
Extension_4_0548
Extension_4_0054 200
Extension_4_0036 1,"vector",0,0,5000,1000,-6500,7000
Extension_4_0036 2,"chaos",0,0,5000,-10000,-6500,7000
Extension_4_0164 1,"(1,-900,9)L"
Extension_4_0164 2,"(1,1000,9)L"
Extension_4_00EC 1,0,-400,Z
Extension_4_00EC 2,0,600,Z
Extension_4_0318
STARS
Randomize Timer
SCROL[TX$]
BOPA:
SCOL
Inc N : If N>15 : N=1 : End If : Inc POS
LET$="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789s "
If POS>Len(TX$) Then POS=1
If Mouse Key=1
CLD
End If
E$=Mid$(TX$,POS,1) : E=Instr(LET$,E$)
Set Bob N,-1,%1111,%11001010
Channel N To Bob N : Bob N,340,5,E
Amal N,"M -120,5,60;M -120,-5,60;M -120,5,60"
Amal On
SCOL
Extension_4_053C
Extension_4_0318
Extension_4_049E 1,0,0,320,200 To 0,0
Bob Clear
Bob Draw
Screen Swap
Goto BOPA
End Proc
Procedure SCROL[TX$]
Shared TX$
TX$=" A TEST INTRO BY ANGELDUST TO SEE WHAT POSSIBILITIES AMOS "
TX$=TX$+" 3D HOLDS FOR THE FUTURE ...."
TX$=TX$+" LATER "
End Proc
Procedure CLD
Fade 5
Cls 0
End
End Proc
Procedure STARS
Rem KBYTE starscrolly routine 1.1
Screen 1
Colour 1,$FFF : Flash Off
Def Scroll 1,0,0 To 339,16,-1,0
Def Scroll 2,1,16 To 339,32,-2,0
Def Scroll 3,1,32 To 339,48,-3,0
Def Scroll 4,1,48 To 339,64,-1,0
Def Scroll 5,1,64 To 339,80,-2,0
Def Scroll 6,1,80 To 339,96,-1,0
Def Scroll 7,1,96 To 339,112,-2,0
Def Scroll 8,1,112 To 339,128,-3,0
Def Scroll 9,1,128 To 339,144,-1,0
Def Scroll 10,1,144 To 339,160,-2,0
Def Scroll 11,1,160 To 339,176,-1,0
Def Scroll 12,1,176 To 339,192,-3,0
Def Scroll 13,1,192 To 339,208,-2,0
Def Scroll 14,1,208 To 339,224,-1,0
Def Scroll 15,1,224 To 339,240,-3,0
Def Scroll 16,1,240 To 339,256,-1,0
End Proc
Procedure SCOL
Screen 1
M=256-(B*2)
Y=Rnd(M)
Plot 316,(B+Y),2
Scroll 1 : Scroll 2 : Scroll 3 : Scroll 4 : Scroll 5 : Scroll 6
Scroll 7 : Scroll 8 : Scroll 9 : Scroll 10 : Scroll 11 : Scroll 12
Scroll 13 : Scroll 14 : Scroll 15 : Scroll 16
Screen 0
End Proc