Re: A85: Sprite Routines (another solution)


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

Re: A85: Sprite Routines (another solution)





 Instead of punching a hole in the screen, then plotting the sprite, you
can also plot the sprite and mask together. all you do is look at the mask
bit, if its zero, you skip over it, otherwise, you plot the pixel

this does the job without having to plot the sprite twice( its the main
engine for ZFight which makes extensive use of maksing)
Check out Mask.asm on my homepage if you want to see how this works


							           Erik Huizing
						       ehuizing@acs.ucalgary.ca
					       http://www.ucalgary.ca/~ehuizing



References: