Re: A86: Sprite hits sprite
[Prev][Next][Index][Thread]
Re: A86: Sprite hits sprite
This is the method I use for collision detection.
;Sprite Address for bug = hl | Sprite X,Y = bc
~keyscancode
Left:
push bc
dec b
call FindPixel
jr nc,AddScore
pop bc
call FastSprite
dec b
call FastSprite
ret
~code goes here
You get the point. I think that'll work.
This is the method I use in DLoc. Look for it soon.
InFuZeD at Zone TI - "Making Basic Programming Worth While"
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com