hmm the game has a fixed-time loop, what does the green counter say when you run the game? it should stay at around 60fps, if not then i messed something up ;))
oh wow it worked huh
the game is made in my own engine that i built with javascript
you can see the source code here if youre curious https://github.com/pebonius/shadow-of-rummaroe
It is the reason why games usually try to split rendering/physics loops. I run currently compilation of Godot so my machine entirely is slow... Fps often dropped to 15-30 but sometimes jumped to 100, 200, 500 (exactly these even numbers) Why? You are a developer and should know better ;)
EDIT: by just standing I saw numbers 90 and 167 very often so it seems it isn't fixed
on the other hand if you’re running some crazy processes at the same time and frame rate drops to 30 and below, you will see a slowdown, since update rate will slow as well
maybe it would make sense to make update rate completely independent from frame rate, so that if frame rate goes really low, there wont be a visible slowdown in the game, only rendering frames will be dropped
but i expect for most people this will work at 60fps and above, i mean im testing this on a literal rock and i have 60fps