home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
576-600
/
apd593
/
o_lens_effect_three.amos
/
o_lens_effect_three.amosSourceCode
Wrap
AMOS Source Code
|
1986-08-03
|
854b
|
55 lines
'
'********************************
'
' LENS EFFECT.
' RIPPLE TWO
' ------------
'
' By Malcolm Lavery 1993
'
'********************************
'
Load ":PIX/SNOW_MAN.abk",10
Unpack 10 To 0
GRA=Screen Colour
Double Buffer
'
Screen Open 1,320,100,GRA,Lowres
Get Palette 0
Flash Off
Hide On
Cls 0
'
Screen Hide 1
'
XSIZE=60
YSIZE=60
'
Do
'
X=X Screen(X Mouse)
Y=Y Screen(Y Mouse)
Screen 1
Wait Vbl
Bob Clear
Screen Copy 0,X,Y,X+XSIZE,Y+YSIZE To 1,0,0
Bob Draw
'
For XP=0 To XSIZE
Screen Copy 1,XP,0,XP+1,YSIZE To 1,100+XP,YP
If YP=3
DY=-1
End If
If YP=0
DY=1
End If
Add YP,DY
Next XP
'
Box 100,0 To 99+XSIZE+INL,YSIZE+INL-1
Get Bob 1,100,0 To 100+XSIZE+INL,YSIZE+INL
Screen 0
Bob 1,X,Y,1
Wait Vbl
'
Loop