Re: A86: Sprites (More)
[Prev][Next][Index][Thread]
Re: A86: Sprites (More)
In a message dated 1/2/99 3:14:42 PM Pacific Standard Time, Jeanne9005@aol.com
writes:
> 2) What is the difference in the PutSprite routines? I have seen them
AND'
> d
> and XOR'd, but I guess I don't understand the difference.
In an AND sprite, a pixel will be black if one or both of the pixels are
black. For instance, if the the line %10010010 was on top of %01101010, you
would get %11111010. However, in an XOR sprite, a pixel is black only if the
other one is white. The above example would yield %11111000. This is also
called "inverse" because any pixels that are "on" will simply switch the other
pixel.