Achieving more fluent movement
Posted
by
Robin92
on Game Development
See other posts from Game Development
or by Robin92
Published on 2012-09-11T11:05:40Z
Indexed on
2012/09/11
15:51 UTC
Read the original article
Hit count: 312
I'm working on my first OpenGL 2D game and I've just locked the framerate of my game. However, the way objects move is far from satisfying: they tend to lag, which is shown in this video. I've thought how more fluent animation can be achieved and started getting segmentation faults due to accessing the same object by two different threads. I've tried the following threads' setting:
- Drawing, creating new objects
- Moving player, moving objects, deleting objects
Currently my application uses this setting:
- Drawing, creating new objects, moving objects, deleting object
- Moving player
Any ideas would be appreciated.
EDIT: I've tried increasing the FPS limit but lags are noticeable even at 200 fps.
© Game Development or respective owner