sdl@lists.libsdl.org
[Top] [All Lists]

Re: [SDL] Question about animation; erasing where my sprite has been

Subject: Re: [SDL] Question about animation; erasing where my sprite has been
From: JDE
Date: Sat, 1 Mar 2008 08:57:00 -0800
Make sure you're flipping the screen everytime the character changes position.

On Sat, Mar 1, 2008 at 7:14 AM, Michael Sullivan <michael@xxxxxxxxxxxxxxxx> wrote:
I've drawn my sprite in it's original position.  I move it to a new
location and redraw the screen.  The sprite is drawn in then new
position, but also still shows in the old position.  How to fix this?
I'm using double-buffering, if that matters.  The full code of my
project in it's current state can be found at
http://www.espersunited.com/~michael/needhelp/ourrpg/ if reference to it
is necessary...

_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
<Prev in Thread] Current Thread [Next in Thread>