[SDL] Jerky

Patricia Curtis patricia.curtis at gmail.com
Mon Aug 21 05:02:50 PDT 2006


Hi Guys
         As always the more i play with SDL the more i love it, but i have a
small problem i have nearly finished my first game using SDL, with double
buffering, and the main loop is doing just the drawing,

DrawMap()
DrawSprites()
DrawScore .... etc

while the movement is done under a timer, i also have two other timers for
background animation etc. My problem is that every now and then the game
Jerks, all the sprites start really bad jerky movements like the screen has
not been updated for 3-8 moves. it does this for a short time and settles
down again to smooth

Any Ideas?

Trish x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060821/9e4b5999/attachment.htm 


More information about the SDL mailing list