How to update types and order of game settings? #79
Answered
by
ChocolateLoverRaj
ChocolateLoverRaj
asked this question in
Planning
-
For example, if a game adds a new setting, and these are the settings before:
And after:
How to keep the value for jump, but add the default value for duck after it? |
Beta Was this translation helpful? Give feedback.
Answered by
ChocolateLoverRaj
Mar 17, 2023
Replies: 1 comment
-
Have a prop called |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChocolateLoverRaj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have a prop called
version
, and a prop calledupgrade
. The game component will store the version in the IndexedDB value, and call the upgrade function within the game.