Right now I'm creating the Settings panel for my game, and I figured that the cleanest way to go about this is to persist the changes to the actual project settings themselves.
For example, for the resolution setting, after the user picks the resolution I run the following:
OS.set_window_size(resolution) #it appears setting the property doesn't actually change the resolution, so I have to call this as well
Globals.set("display/height", resolution.y)
Globals.set("display/width", resolution.x)
After calling the set function, the property does change to the new value. However, after exiting the game, the property is reverted back to the original value. Am I simply not supposed to adjust the Project Settings dynamically, or is there something I'm missing?