Re: A86: Sprites (More)


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

Re: A86: Sprites (More)









---ZeromusMog@aol.com wrote:
>
> 
> 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.
> 

uh... not quite... that's an OR sprite, not an AND sprite... AND is
"the pixle is ONLY on when BOTH the pixles being ANDed are on".
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com