time - How to have a fixed timestep with interpolation and allow the player to switch game speed? -


i'm making game libgdx , i've been using gdx.graphics.getdeltatime() of physics i've decided implement methods suggested here , here getting fixed timestep interpolation calculations can more accurate.

i'd player able toggle game speed it's doubled or quadrupled, i'm not sure what's correct way go doing it. simple multiplying step size in last example of second article? or need multiply deltatime?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -