This is another one of those TODOs for later when we have more of zengine ready.
It may be helpful for our users to be able to save the state of their games to a file while they're developing it.
They would need to be able to:
Mark things (i.e. variables & objects) as "stateful"
Save the state to a file
Load the state from a file
Optional: mark the state at specific time (this would be nice for playback)
What we would need to do:
Design the state framework & implement it.
Might be useful to make this zengine independent so it can be used in other Nim projects
Go through our existing objects and figure out if it needs to have a recorded state. E.g. the ZSprite would really need this since we've got things such as playback. There is probably a lot more...
What probably needs to be done first:
23 would be good to do first
Research is there any other existing Nim libraries for recording the state of a Nim Object.
This is another one of those TODOs for later when we have more of zengine ready.
It may be helpful for our users to be able to save the state of their games to a file while they're developing it.
They would need to be able to:
What we would need to do:
ZSprite
would really need this since we've got things such as playback. There is probably a lot more...What probably needs to be done first:
23 would be good to do first