Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Strange Movement with Fixed Timestep  (Read 15783 times)

0 Members and 3 Guests are viewing this topic.

willm127

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Strange Movement with Fixed Timestep
« Reply #30 on: September 27, 2016, 10:42:47 pm »
Hapax, just wanted to comment on here and say thanks for all of your help with this stuff. I've used Kairos on my last couple of projects, and it has made such a huge difference! I'm on a Macbook Pro, and even then, I noticed that the game would also stutter, especially when listening to music on YouTube in the background. What fixed the stuttering on my end was adding setVerticalSyncEnabled to the window. Movement is now smooth—even while running YouTube!

Just adding my experience here in case it helps anyone else in the future. If anyone else wants more details, especially for those on Mac, do let me know and I'll add those here.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Strange Movement with Fixed Timestep
« Reply #31 on: September 29, 2016, 08:33:57 pm »
Hapax, just wanted to comment on here and say thanks for all of your help with this stuff. I've used Kairos on my last couple of projects, and it has made such a huge difference!
You are very welcome. I am glad you find Kairos useful! I use it myself, you know... :D

@CasualKyle, it's been a while so I can't remember: are you using vertical synchronisation?
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*