You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summarising a brainstorming session between me and @Gleefre.
It would be nice if the user had greater control of sketch's "game loop".
This includes controlling the frame rate.
Also, there could be a separate update-state method, allowing the user to decouple their physics simulation/whatever from the drawing loop, with a separate FPS.
Idle render will have to have a flag to disable it if the user is controlling the render themselves.
sdl2kit contains its own implementation of a game loop, but it's not decomposed into reusable parts. We could either submit a pull request there or copy the parts we need.
Summarising a brainstorming session between me and @Gleefre.
update-state
method, allowing the user to decouple their physics simulation/whatever from the drawing loop, with a separate FPS.Example of how this might work:
The text was updated successfully, but these errors were encountered: