Re: A86: ASM Programming Test


[Prev][Next][Index][Thread]

Re: A86: ASM Programming Test





> >> it's actually an easy problem at its barest elements (easier than
collision
> >> detction proper): all you have to do is look at the each byte of
video mem
> >> with the sprite you are checking collision with and AND it with
the byte of
> >> the sprite you are checking collision against.  If the result
isn't zero,
> >> then you'd have a collision.
> >
> >
> >Wouldn't that be true only if you are using alligned sprites, or am I
> >missing something?
> >
> if it's not aligned, you have to AND with two bytes of screen mem...
> 
Yeah, huh... that makes sense. Thanks!
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com