Jump to content
  • Advertisement

Archived

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

PsycoBlade

PR_GetTicks.

This topic is 6225 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

So, PR_GetTicks DOES use float now. That wasn''t mentioned in the readme files. I''m guessing I will run into a few problems with this new format (I haven''t re-compiled my projects yet). So now I should not notice as much variation in my object speeds as with integer, right? In the integer one when the framerate drops slightly you get the SLOW/FAST/SLOW/FAST effect.. I guess I''ll try it out to make sure. -Rich

Share this post


Link to post
Share on other sites
Advertisement
Yes PR_GetTicks returns floats. I had to go through all the examples and library to makes the appropriate changes. Some things like the particle system and character events were based on integer timing so there may be some parts that haven''t been changed properly.

In most of the examples I just had to change move_count from a PR_DWORD to PR_REAL.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!