Page 1 of 1

Frame skip instead of slowdown

PostPosted: Wed May 01, 2013 6:32 pm
by Hblade
I've asked this before but I tried searching for it, it failed. I forgot the method to keep the same movement speed no matter what frame rate your at (Example 60FPS drops to 30, I want the movement speed to stay the same instead of slow down)

can anyone help =)?

Re: Frame skip instead of slowdown

PostPosted: Wed May 01, 2013 7:09 pm
by skydereign
Setting motion compensation to yes in the game properties should do this. Otherwise you'll need to use timing to determine how much time has passed since last frame, and adjust accordingly (get the number of frames that should have passed, and multiply it by speed).

Re: Frame skip instead of slowdown

PostPosted: Wed May 01, 2013 7:37 pm
by Hblade
thanks