ensisoft / detonator

2D game engine and editor 💥💣
GNU General Public License v3.0
310 stars 12 forks source link

Add parallel rendering and game update support #195

Open ensisoft opened 8 months ago

ensisoft commented 8 months ago

If the renderer runs frame late it should be possible to run game update and renderer render in parallel in different threads.

For Frame N

For frame N+1 The update for frame N+2 is kicked off Renderer produces frame based on frame N-+1 data.