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.  If you wanted to set up this kind of algorithm
in a game using background storage, you'd have to set up a separate buffer.


>
>> how about a pixel precise collision detection routine?  :-)
>
>Oooh... Let's all visit the dungeon!  And look!  Here's the torture
>chamber, filled with pixel precise collision detection routine
>challenges!  Boy, those look like they would hurt!