A small Bevy plugin for persisting multiple Resources to a single file
https://github.com/rparrett/bevy_simple_prefs.git
An unambitious Bevy plugin for persisting multiple Bevy Resources into a single preferences file, suitable for small projects like jam games.
ron filePrefs on a struct with members that are Resources you want to be savedResources to initiate a saveResources changing, if you wantbevy_simple_prefs | bevy |
|---|---|
0.8 | 0.18 |
0.7 | 0.17 |
0.5-0.6 | 0.16 |
0.4 | 0.15 |
0.1-0.3 | 0.14 |
Please feel free to open a PR, but keep in mind this project's goals. This is meant to be a very lightweight crate. There should be zero additional dependencies on other Bevy ecosystem crates.
Please keep PRs small and scoped to a single feature or fix.
If you need more features, check out bevy-settings. There are also a few other options in the persistence section of Bevy Assets.