SDL doesn't seem to be erasing the sprites from their previous positions on the screen after I flip the screen. I change the destination and the old image is draw as well as the new.
Any ideas as to why?
Thanks,
Onyxthedog
SDL Not Erasing Old Images From The Screen
Started by onyxthedog, Nov 30 2009 07:54 PM
2 replies to this topic
#1
Posted 30 November 2009 - 07:54 PM
/* Perfect_day.c */
#include <arcade>
#include <computer>
#include <drinks>
#include <hardware/high_end>
#include <snacks>
#pragma <responisiblities>
...........
#include <arcade>
#include <computer>
#include <drinks>
#include <hardware/high_end>
#include <snacks>
#pragma <responisiblities>
...........
#2
Posted 30 November 2009 - 08:18 PM
Been ages since I looked at SDL, but it probably means you are not redrawing the background.
Currently using Blender 2.5, FlashPunk, and Unity.
#3
Posted 30 November 2009 - 08:38 PM
I was looking at my other work to see what the difference was and it was that I didn't [i]have[\i] a background, seeing as I think I need a black background, too. I stand corrected.
Thanks Fireside
Thanks Fireside
/* Perfect_day.c */
#include <arcade>
#include <computer>
#include <drinks>
#include <hardware/high_end>
#include <snacks>
#pragma <responisiblities>
...........
#include <arcade>
#include <computer>
#include <drinks>
#include <hardware/high_end>
#include <snacks>
#pragma <responisiblities>
...........
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












