MarkSkyzoid / sakura

game engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement main loop with callbacks

MarkSkyzoid opened this issue · comments

We need a fixed time step main loop (https://gafferongames.com/post/fix_your_timestep/) with the following callbacks to an external game implementation:

  • Init
  • Cleanup
  • FixedUpdate (with fixed dt)
  • Update (unthrottled update)
  • Render (unthrottled rendering)