io.DeltaTime and all that #3943
voidware
announced in
Old/Archived discussions
Replies: 2 comments
-
|
Just to add; You can not call Tick at all and it still works, even though time is never advanced!! How weird is that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Or we could include this information next to assert. While this change does prevent a crash - application is still unusable, so why bother.. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
OK, so this is what i've done which might help others.
Also if you're getting this assert fail
This is with SDL + emscripten + firefox.
Turned out, after a lot of time wasted, that my problem was
privacy.resistFingerprintingtrue. This has (at least) two side effects;(2) caused the assert fail, as you can imagine.
In my journey of discovery, i reworked some imgui code which might be a good idea in general;
imgui_impl_sdl.cppSo, split out the "tick" bit. THen i change my main loop to;
So this will cause a yielded semi-busy wait for the next tick time. And then it will always be positive!
So now if i re-enable resist fingerprinting, it doesnt crash, but i get an amusing 10fps experience.
Obviously, you cant fix stupid, but there are a lot of browser addons that might enable this "security" feature.
Beta Was this translation helpful? Give feedback.
All reactions