Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | tehgaming |
Hi all. I am trying to create an audio on and off option for my game. I managed to figure out how to code the options but no idea how to save/load them so that the setting is retained when the player closes the game and reopens it. I actually also need help on how to save/load show() and hide() of the on and off buttons (so that the on button is hidden after it is pressed and the off button is shown instead).
Appreciate you help. Thanks!
save game
Saving games — Godot Engine (3.1) documentation in English
ramazan | 2022-02-13 08:22
I have used that successfully for saving other things like highscore but the reason why I am asking here is because I don’t quite get how to save show() hide() audio off calls. Sorry, I should have also explained that I am not a programmer and I am a newbie in this.
tehgaming | 2022-02-13 08:49