-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity Serialization System #3
Labels
enhancement
New feature or request
Comments
Cereal and other major serialization libraries appear to be very unconvenient for this. Will use pugixml and manually construct a user-friendly XML file instead |
Small prototype added to the windows branch |
Working system in master |
github-project-automation
bot
moved this from In Progress
to Done
in Solnce Development
Jan 20, 2023
The current macro implementation is crap, it's a bad idea to couple variable names to the serialization output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ability to save and load arbitrary Entities and their Components
Mark the difference between an Entity Saving System and a more general Save System. The former's purpose is to serialize the data for one entity, while the latter's is to save overall game state.
Entity exporting might need to be tightly coupled to the ECS system since that's where the data is stored.
Use the Coordinator to fetch all Components for an Entity and call each one's export function. All of the components then get saved into a single XML container.
The text was updated successfully, but these errors were encountered: