-
Notifications
You must be signed in to change notification settings - Fork 1
Idea for Structure
Nander edited this page Mar 17, 2022
·
3 revisions
As an idea, consider the following main modules
The Input/Output module is responsible for mapping what the player can see and do to what the game does with it.
There is no reason why only one I/O module should be active; it could be used to create viewports, for instance.
Each IO unit should have an IO unit underneath it that also gets called.
Each scene could have an is_paused, a rate and a relative speed.
Paused would mean: does this scene get update ticks at all?\ Rate would mean: once per how many frames does this scene update? Do count up the skipped dt\ Relative speed would mean: how high is the dt in this scene, compared to the main clock. Important for slow-motion stuff!