| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…gineSquared into 61-fixed-update
There was a problem hiding this comment.
I think it would be great to discuss about making the DeltaTime handling more coherent
Because right now we can have it directly in the registry for FixedDeltaTime but for RealTime we need to create and use a resource. Why should we create a resource for one and not the other ?
Sorry, something went wrong.
|
Also, when testing with the SB-Test-Scene, the systems do not run if the framerate is over 50FPS. Here is how I did it, maybe I did something wrong |
Sorry, something went wrong.
|
Putting this PR in draft while we discuss it |
Sorry, something went wrong.
|
Sorry, something went wrong.
|
The bug of the systems not running is fixed |
Sorry, something went wrong.
I've added a way to add systems that will be added each specified ticks (50 per seconds per default). These systems should call `Registry::GetFixedDeltaTime` to get delta time rather than `RealTimeProvider` resource. I've also added a `Clock` that can be used as a clock to have specific tickrate. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
I've added a way to add systems that will be added each specified ticks (50 per seconds per default). These systems should call Registry::GetFixedDeltaTime to get delta time rather than RealTimeProvider resource. I've also added a Clock that can be used as a clock to have specific tickrate.