Re : Strange stuttering

What do you mean by “stuttering” ?

Julien

----- Message d’origine ----De : Creature
? : sdl at libsdl.org
Envoy? le : Vendredi, 25 Juillet 2008, 14h29mn 47s
Objet : [SDL] Strange stuttering

Hello,

I’m developing a game using SDL, I’ve created my own level system with a
’camera’ that moves left and right depending on which direction you’re going,
the map objects then get drawn according to the position of the camera.

This works fine, but some objects seem to stutter all the time, there’s a
’line’ of objects that represent a tree in my game and you can best see it
there, when I move the player, a part of the tree seems to flash to the right
and then back into place a few seconds.

Any idea’s what this could be? I’ve been searching for quite a while, I also
have an FPS cap that caps my FPS, if I disable it, the stuttering still happens.

Thanks for any idea’s,
Creature


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  _____________________________________________________________________________ 

Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

julien CLEMENT <clementj2005 yahoo.fr> writes:

What do you mean by “stuttering” ?Julien

----- Message d’origine ----De : Creature <modjusticar hotmail.com>? :
sdl libsdl.orgEnvoy? le : Vendredi, 25 Juillet 2008, 14h29mn 47sObjet?:
[SDL] Strange stutteringHello,I’m developing a game using SDL, I’ve created my
own level system with a ‘camera’ that moves left and right depending on which
direction you’re going, the map objects then get drawn according to the
position of the camera.This works fine, but some objects seem to stutter all
the time, there’s a ‘line’ of objects that represent a tree in my game and you
can best see
it there, when I move the player, a part of the tree seems to flash to the
right and then back into place a few seconds.Any idea’s what this could be?
I’ve been searching for quite a while, I also have an FPS cap that caps my FPS,
if I disable it, the stuttering still happens.Thanks for any
idea’s,Creature_______________________________________________SDL mailing
listSDL lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Envoy? avec Yahoo! Mail.Une boite mail plus intelligente.


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

Some sort of lag or out-of-syncness, it appears as if one part of an object
gets updated and the other doesn’t, which results in the upper body standing a
few pixels more to the left than the lower body, usually this flashes pretty
quick, and I can’t seem to make any screenshots of it, how precise I time it,
it seems to be some sort of lag that delays everything untill it’s gone.

It’s 3d, right? Are you double-buffering and waiting for vsync?

Jonny D----------------------------------------

To: sdl at libsdl.org
From: modjusticar at hotmail.com
Date: Fri, 25 Jul 2008 18:23:26 +0000
Subject: Re: [SDL] Re : Strange stuttering

julien CLEMENT yahoo.fr> writes:

What do you mean by “stuttering” ?Julien

----- Message d’origine ----De : Creature hotmail.com>? :
sdl libsdl.orgEnvoy? le : Vendredi, 25 Juillet 2008, 14h29mn 47sObjet :
[SDL] Strange stutteringHello,I’m developing a game using SDL, I’ve created my
own level system with a ‘camera’ that moves left and right depending on which
direction you’re going, the map objects then get drawn according to the
position of the camera.This works fine, but some objects seem to stutter all
the time, there’s a ‘line’ of objects that represent a tree in my game and you
can best see
it there, when I move the player, a part of the tree seems to flash to the
right and then back into place a few seconds.Any idea’s what this could be?
I’ve been searching for quite a while, I also have an FPS cap that caps my FPS,
if I disable it, the stuttering still happens.Thanks for any
idea’s,Creature_______________________________________________SDL mailing
listSDL lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Envoy? avec Yahoo! Mail.Une boite mail plus intelligente.


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

Some sort of lag or out-of-syncness, it appears as if one part of an object
gets updated and the other doesn’t, which results in the upper body standing a
few pixels more to the left than the lower body, usually this flashes pretty
quick, and I can’t seem to make any screenshots of it, how precise I time it,
it seems to be some sort of lag that delays everything untill it’s gone.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org