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...
>
>--Joshua


Yeah, that's what I should have said.