Re: A83: Need a vertical clipping AND sprite routine


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

Re: A83: Need a vertical clipping AND sprite routine




Well, I needed an AND routine because I'm drawing white sprites onto a black 
background, and XORing causes 2 sprites to become invisible if they take the 
same space.  Drawing white sprites onto a dark backround allows a fast 
moving game on lower contrast (lower batteries).


>From: "David Phillips" <david@acz.org>
>Reply-To: assembly-83@lists.ticalc.org
>To: <assembly-83@lists.ticalc.org>
>Subject: Re: A83: Need a vertical clipping AND sprite routine
>Date: Mon, 19 Feb 2001 14:07:30 -0700
>
>
>Not sure what you are trying to do with an ANDed routine, but my guess is
>that you need to set the blank parts in the mask to 1 instead of 0.
>
> > I tried that...
> > At first, That gave 2 white boxes next to where the sprite is drawn.
> > Then replacing 'xor  a' with ld a,255 worked fine if it was aligned, but
> > then I got a nasty leftmost white line on every sprite if it wasn't
>aligned.
> >   Then I added a SFC after the ld a,255, then it worked.
> >
> > Would removing the Horizontal Clipping code help at all?
>
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




Follow-Ups: