Time based movement Vs Frame rate based movement?

Posted by sil3nt on Game Development See other posts from Game Development or by sil3nt
Published on 2010-12-26T15:58:46Z Indexed on 2010/12/28 2:01 UTC
Read the original article Hit count: 613

Filed under:
|
|
|

Hello there, I'm new to Game programmming and SDL, and I have been following Lazyfoo's SDL tutorials. My question is related to time based motion and frame rate based motion, basically which is better or appropriate depending on situations?. Could you give me an example where each of these methods are used?.

Another question I have is that, in lazyfoo's two Motion tutorials (FPS based and time based) The time based method showed a much smoother animation while the Frame rate based one was a little hiccupy, meaning you could clearly see the gap between the previous location of the dot and its current position when you compare the two programs.

As beginner which method should I stick to?(all I want is smooth animations).

© Game Development or respective owner

Related posts about game-design

Related posts about c++