-
Notifications
You must be signed in to change notification settings - Fork 220
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
Saveload example that features serializing/deserializing a whole World
#497
Comments
Actually, the docs for the |
World
You cannot just serialize the whole world, you would have to specify the components individually. |
Oh ok, would there be a way to implement that? It would be incredibly helpful. |
This is basically blocked by Rust, we need specialization for implementing that feature. |
There is By specifying all the types we can statically retrieve the implementation for |
Got it, thanks. I'll try my hand at serializing the individual components, I just have quite a few of them haha |
I want to saveload World either
I make crate for that https://crates.io/crates/maybe-serde it can be help for solve this issue? |
Interesting! I think it could be used for this, yes. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Feel free to comment if this is still relevant. |
Now that #460 has been merged, do you think we can get a more updated saveload example? I havent had much of a look at the existing docs, but it seems a little confusing. How would I go about e.g. serializing a whole
World
?The text was updated successfully, but these errors were encountered: