home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
various
/
screen_bounce.amos
/
screen_bounce.amosSourceCode
Wrap
AMOS Source Code
|
1993-01-08
|
604b
|
14 lines
'This procedure will bounce your screen into view
'File$ is thename of your file
'C0L is the number of colours in your picture,
Procedure _SCREEN_BOUNCE[FILE$,C0L]
' Proc by Brett George
Screen Open 0,320,256,C0L,Lowres : Auto View Off : Hide On : Flash Off
Load Iff FILE$,0
Channel 1 To Screen Display 0
BO$="Let Y=-170;M 0,250,180;M 0,-100,100;M 0,-10,12;M 0,110,80;M 0,-50,50;M"
BO$=BO$+" 0,-10,12;M 0,60,40;M 0,-20,20;M 0,-10,12;M 0,30,15;M 0,-5,10"
BO$=BO$+"M 0,-10,12;M 0,15,10"
Amal 1,BO$ : Amal On : Wait 1 : View : Auto View On
Repeat : Until Chanmv(1)=0
End Proc