Home // Blog // Development Update: 10/20/2016 – Fixed time step and Max FPS

Please Note: These are retroactive posts to show history and progress.

Fixed Time Step Rates – So one of the latest discoveries that I really should have thought about was to apply a Fixed Timestep to anything that measures values that are piped through a tickrate. What I mean by that is anything that’s relying on Tick updates (updates per frame) like TurnRates, Speed changes, etc.

Since latest testing and optimizations allowed me to achieve FPS heights of over 300 in dead areas and perhaps <60 FPS in some extreme PFX/Light heavy areas, this wild variation in FPS made it very noticeable that Updates per frame were also being affected quite drastically. Relying on Frames when they aren’t consistent will make those rate play differently both on the upper end or lower end.

FPS Difference in turn rate

As you can see in the quick video above, you can see the difference in turn rate between an unlimited FPS (turning super fast), vs a limited frame rate of 30 FPS (turning much slower). Easily made sense when you think about it. If the game only has 30 Frames per Second to process an X turn rate, then it would only update 30 times per second vs the 200+ FPS I was getting.

As you can imagine, alot of people might be thinking “Well, force limit your FPS to 30-60 and everything will run just fine”, and this is perfectly acceptable to use when doing console development (Xbox, Playstation, etc.), but I refuse to limit my FPS when playing. Personally I would rather have an unlimited FPS so I might enjoy a smoother experience in my titles so there had to be a way around this. The answer that comes with this is to create frame rate independent comparisons with my rates to my Delta Time of the frame.

A great article can be found here…

https://www.scirra.com/tutorials/67/delta-time-and-framerate-independence

What this has allowed me to do is now allow for any FrameRate to occur in the game while making sure my values of things like “TurnRates” can remain at a particular speed I want for the Player to feel, eliminating FPS as either a Play advantage or disadvantage.

Frame Independent TurnRates

0 Comments ON " Development Update: 10/20/2016 – Fixed time ... "

Solar Warden on IndieDB

Solar Warden

Solar Warden on Social Media

Facebook

Twitter


YouTube


Reddit

Join Live Chat on Discord

  • No topic this week
    September 5, 2017
    TRUTHERS, PATRIOTS, AND NON BELIEVERS!!!I come to you with exciting news!I'm not going to be able to post today!  (well other than this one, I mean.)But that isn't inherently exciting, in and of itself.  If anything, that's kind of depressing.  Afte...
  • Warp Factor 9
    August 22, 2017
    TRUTHERS, PATRIOTS, AND NON-BELIEVERS!!!WARP DRIVES!!!I didn't want to cover these last week at all.  Talk about theoretical tech that I just won't be able to wrap my ...
  • Speed and Distance
    August 5, 2017
    TRUTHERS, PATRIOTS, AND NON BELIEVERS!!!First, allow me to humbly apologize, dear readers.  I know many of you expect a post a week and I did not deliver last week. Worry not.I was not abducted.I ...
  • Re: The Song of the day Thread
    July 29, 2017
    World's fastest talking man sings Michael Jackson's BAD in 20 seconds//www.youtube.com/watch?v=4X4Fy8YqysY
  • Re: The Song of the day Thread
    July 25, 2017
    Wintersun - The Forest That Weeps (Summer)//www.youtube.com/watch?v=ffQ2B5qegRg
  • The Fermi Paradox and Civilization Types
    July 24, 2017
    TRUTHERS, PATRIOTS, AND NON BELIEVERS!!!Okay, friends.  Alright.  I heard you.  Loud and clear.Earlier this week, after posting "Meteors... or Something More???", I received a plethora of emails to e...
  • Re: The Song of the day Thread
    July 18, 2017
    //www.youtube.com/watch?v=0tdyU_gW6WE
  • Meteors... or Something More???
    July 16, 2017
    TRUTHERS, PATRIOTS, AND NON BELIEVERS!!!! WE ARE BEING EXTERMINATED!!!! How can one avert their eyes from the palpable destruction and our seemingly neglectful governments ...
  • Re: The Song of the day Thread
    July 14, 2017
    //www.youtube.com/watch?v=9JRLCBb7qK8
  • Re: Ancient buildings or crafts
    July 12, 2017
    awesome look forward to see these different technologies

Polar Zenith Copyright © 2017 Polar Zenith, LLC. All Rights Reserved.