home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
576-600
/
apd600
/
amos_turbo
/
demos
/
hit_sprzone2.amos
/
hit_sprzone2.amosSourceCode
Wrap
AMOS Source Code
|
1994-02-02
|
837b
|
33 lines
Screen Open 1,640,200,2,Hires
Extension_12_0016
Reserve Zone 3
Sprite 2,128,80,2
Set Zone 1,0,0 To 50,100
Set Zone 2,51,0 To 200,100
Set Zone 3,0,101 To 200,200
For J=1 To 2
T=Timer
For I=1 To 5000
A=Hzone(X Sprite(2),Y Sprite(2))
Next
Print "TIME IN VBL";Timer-T;" ZONE";A;" Hzone(X Sprite(2),Y Sprite(2)"
T=Timer
For I=1 To 5000
A= Extension_12_0118(0,0,2)
Next
Print "TIME IN VBL";Timer-T;" ZONE";A;" Hit Spr Zone(0,0,2)"
T=Timer
For I=1 To 5000
A=Hzone(X Sprite(2)+50,Y Sprite(2)+2)
Next
Print "TIME IN VBL";Timer-T;" ZONE";A;" Hzone(X Sprite(0)+50,Y Sprite(0)+2)"
T=Timer
For I=1 To 5000
A= Extension_12_0118(50,5,2)
Next
Print "TIME IN VBL";Timer-T;" ZONE";A;" Hit Spr Zone(50,2,0)"
Print
Next
Extension_12_0006
Print "Press any key"
Wait Key