[Sprites] One thread per sprite ?

Started by
10 comments, last by ANTnet 20 years, 11 months ago
whoops!
Wasn''t supposed to be anonymous!

Kári.
Advertisement
Ok I think it''s the reason, just flipping, nothing drawn in it but...
I have put a SDL_GetKeyState and if LEFT: x--;

DrawScene()
{
locksurface
putpixel(x,y);
unlock
}

and even if I don''t release the left key, the pixel is moving but I still have a blinking screen (black to my image, I mean I can see that the screen is all black and my image are on it after, that''s why it blinks: black then image...)

Do you see for the left moves... ?

This topic is closed to new replies.

Advertisement