Hi!
As the title suggests, 'Every X seconds' is not framerate independent when setting a min delta-time.
Test.c3p
Setting min delta-times > 1 / 60 will clearly run the event more often than every 1 second.
Any tips?
Thanks,
Develop games in your browser. Powerful, performant & highly capable.
Normally you shouldn't set a minimum delta time at all. You don't want your game to start running in fast-forward if it goes over 60 FPS - what if someone has a 120 Hz display? It's intended to only be set for things like catch-up time.