Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Zoot

FPS and movement

This topic is 5944 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do i make is my model is not deaccelerating super fast when the fps is high? My code now: m_flastforwardspeed *= 0.9f; Edited by - Zoot on February 17, 2002 9:13:13 AM

Share this post


Link to post
Share on other sites
Advertisement
Put your movement code in a timed if statement.

eg

      

#define Interval 30;
Int StartTime;

If (TimeGetTime()-StartTime>Interval) {


// Update movement



StartTime=TimeGetTime();
}



,Jay


Edited by - Jason Zelos on February 17, 2002 1:03:21 PM

Edited by - Jason Zelos on February 17, 2002 1:04:27 PM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!