-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Bevy Preferences API #13311
Copy link
Copy link
Closed
Labels
C-FeatureA new feature, making something new possibleA new feature, making something new possibleS-Needs-Design-DocThis issue or PR is particularly complex, and needs an approved design doc before it can be mergedThis issue or PR is particularly complex, and needs an approved design doc before it can be mergedX-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
Metadata
Metadata
Assignees
Labels
C-FeatureA new feature, making something new possibleA new feature, making something new possibleS-Needs-Design-DocThis issue or PR is particularly complex, and needs an approved design doc before it can be mergedThis issue or PR is particularly complex, and needs an approved design doc before it can be mergedX-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
What problem does this solve or what need does it fill?
Games and editors need a way to store user preferences: things like video options, keyboard/controller mappings and so on.
What solution would you like?
I proposal we add an API to Bevy for saving and loading of user preferences.
This should support at least the following features:
The solution you propose for the problem presented.
What alternative(s) have you considered?
There are a number of existing Rust crates that provide preference-saving functionality. However, these don't necessarily conform to the requirements for a Bevy-based game. For example, some crates may assume that the preferences are stored in the filesystem, which may not be true in a browser-based game.