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
The game library should have the ability to serialize the whole game state at a given time. This means that we can fast foward to Tick 100, and pack the current game state as a JSON. Then we can easily just unpack that JSON in order to 'load' the state at that time. This will be extremely useful for things like:
Server downtimes; just pack the state at tick 100 & unpack it at tick 120 to push the game out 20 ticks.
Puzzle editor; easily let players load the state from an ongoing game to "sandbox" things in their current games.
Long games; pack the game state when sending events so that the device isn't storing a significant amount of memory
This ties very closely to #38. #38 should be more focused on the functionality required for the puzzle editor for example: win conditions for the puzzle, etc.
Solution
JSON all the way.
The text was updated successfully, but these errors were encountered:
Enhancement Description
The game library should have the ability to serialize the whole game state at a given time. This means that we can fast foward to Tick 100, and pack the current game state as a JSON. Then we can easily just unpack that JSON in order to 'load' the state at that time. This will be extremely useful for things like:
This ties very closely to #38. #38 should be more focused on the functionality required for the puzzle editor for example: win conditions for the puzzle, etc.
Solution
JSON all the way.
The text was updated successfully, but these errors were encountered: