home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
576-600
/
apd600
/
amos_turbo
/
demos
/
hit_sprzone.amos
/
hit_sprzone.amosSourceCode
Wrap
AMOS Source Code
|
1994-02-02
|
668b
|
32 lines
Extension_12_0016
Sprite 2,X Hard(29),Y Hard(182),2
Extension_12_00B6 650
Reserve Zone 650
X=0
Y=0
_ZONE=1
' Install some zones...
For I=1 To 65
For J=1 To 10
Extension_12_00EE _ZONE,X,Y To X+14,Y+4
Set Zone _ZONE,X,Y To X+14,Y+4
Add X,15
Inc _ZONE
Next
X=0
Add Y,3
Next
T=Timer
For I=1 To 1000
_ZONE= Extension_12_0148(400 To 650,0,0,2)
' Checks from zone 400 to 650
Next
Print "Time in VBL ";Timer-T;" Zone number ";_ZONE
T=Timer
For I=1 To 1000
_ZONE=Hzone(X Sprite(2),Y Sprite(2))
' Checks from zone 1 to 650
Next
Print "Time in VBL ";Timer-T;" Zone number ";_ZONE
Extension_12_00CA
Extension_12_0006