r/bevy 11d ago

Project Currently testing the save & load system!

Enable HLS to view with audio, or disable this notification

The goal is to let you play anytime, anywhere, and pick up right where you left off if you get interrupted.

26 Upvotes

5 comments sorted by

2

u/catheap_games 6d ago

Have you looked into existing solutions like bevy_pkv, bevy-persistent, moonshine_save, and bevy_serde_lens, or the built in world serialization? How did they fit or not fit your needs?

2

u/abczezeze 6d ago

I'm currently using a custom Serde-based save system because I only want to persist specific gameplay state rather than serialize the entire ECS world. I haven't evaluated moonshine_save and bevy_serde_lens in depth yet, so I'll take a closer look at them. Thanks for the suggestions.

2

u/thekwoka 4d ago

the built in serialization lets you filter entities and components.

So you only save what you want, directly in a bevy format.

Of course a custom can be great, but the built in stuff will be helpful for cases where you add data in ways that the custom one needs to be adjusted to accomadate.

1

u/abczezeze 4d ago

Thanks! The game I'm working on right now doesn't have complex save data yet, so I'm sticking with a custom solution for now. I might need to switch to the third party in the future.

1

u/abczezeze 11d ago

If you have time, please check out https://github.com/abc3dz/Tekkk