home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
amos
/
amosfrac
/
showm.amos
/
showm.amosSourceCode
Wrap
AMOS Source Code
|
1995-03-16
|
1KB
|
60 lines
'*******************
'*** SLIDESHOW ***
'*** mandelbrots ***
'*** B.HILLS ***
'*******************
Screen Open 0,320,260,32,Lowres
Flash Off : Curs Off : Hide : Cls 0
Fade 1 : Wait 16 : Auto View Off
Load Iff "df0:smtitle.iff",0 : Screen Clone 1
Ink 10 : Paper 0
Locate 8,28 : Print "press spacebar to pause"
Locate 8,29 : Print "press mousekey to quit"
Screen To Front 0
For X=0 To 31 : Colour X,0 : Next X
View : Auto View On
Fade 3 To 1 : Screen Close 1
Read P$ : Read C
PIC$="df0:"+P$+".iff"
Load Iff PIC$,1
Screen Hide 1
Wait Vbl
Screen 0
Fade 7 To 1
Wait 100
Appear 1 To 0,C
CYCLE
Do
Read P$ : If P$="end" Then Wait 100 : Fade 3 : Wait 50 : Run "df0:MENU.AMOS"
Read C
Auto View Off
PIC$="df0:"+P$+".iff"
Load Iff PIC$,1
Screen Hide 1
Wait Vbl
Auto View On
Screen 0
Fade 7 To 1
Wait 100
Appear 1 To 0,C
CYCLE
If Inkey$=" " Then Wait Key
If Mouse Key>0 Then Run "df0:MENU.AMOS"
Loop
Data "m1",121,"m2",131,"m3",141
Data "m4",151,"m5",163,"m6",171,"end"
Procedure CYCLE
For CY=1 To 250
CYCLOID
Next CY
End Proc
Procedure CYCLOID
For ROT=1 To 31
C=Colour(1)+ROT
Colour ROT,Colour(ROT+1)
If Inkey$=" " Then Wait Key
If Mouse Key>0 Then Run "df0:MENU.AMOS"
Next ROT
Colour 31,C
Wait 2
End Proc