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
One of the biggest advantages of using the Entity System is that it makes saving and loading very easy, since all the state is in components.
Eventually there should be ways to save to and load from databases like MySQL of Postgres directly, but as a first step, having a way to export all the data of a manager into a JSON structure would be nice.
Features:
function export() - returns a JSON document containing all the states of all components, and the list of all entities
function import(source) - takes a JSON document like the one created by export and imports it into a manager
JSON format to be decided.
The text was updated successfully, but these errors were encountered:
One of the biggest advantages of using the Entity System is that it makes saving and loading very easy, since all the state is in components.
Eventually there should be ways to save to and load from databases like MySQL of Postgres directly, but as a first step, having a way to export all the data of a manager into a JSON structure would be nice.
Features:
function export()
- returns a JSON document containing all the states of all components, and the list of all entitiesfunction import(source)
- takes a JSON document like the one created byexport
and imports it into a managerJSON format to be decided.
The text was updated successfully, but these errors were encountered: