Re: A86: Sprites Routines that Save thee background


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

Re: A86: Sprites Routines that Save thee background




3 things:

I used a sprite routine that does that in FD2, but it'd probably take a
whole lot of work to adapt it to your code (enough that you'd probably
be better off writing a new one...).

You might also want to try erasing the sprite directly _before_ drawing
a new one, instead of afterwards.  This would decrease the amount of
time between the erasure and the draw, and hopefully decrease flicker.

If that still isn't good enough, do all your graphics in graph mem (or
anywhere really) and copy everything into video mem when it's done. 
This is the second best way to get rid of flicker...

Matt C wrote:
> 
> What are some good sprite routines that save the
> background?
> i am having a small problem and think this could fix
> it.
> I have an 8 by 8 sprite and when i move it down or up
> it leaves a trail abouv or below it.
> i tried putting a clear sprite right after it but that
> casued a lot of flickering.
> Any ideas?

-- 
Aaron Curtis <acurti1@umbc.edu>
http://www.gl.umbc.edu/~acurti1


References: