Dark Mode Configuration? #146
-
|
Good afternoon! I am working on trying to implement darkmode to bring my game more in line with what I am used to, and I noticed the settings entry ( Thank you for your guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Rather than setting If you already have a |
Beta Was this translation helpful? Give feedback.
Rather than setting
settings.darkModeActivedirectly, it's recommended to use theio.toggleDarkMode()function. If you always want your game to be in dark mode, the easiest solution would probably be to add the following to yoursettings.jsfileIf you already have a
settings.setupfunction, just add that line to it somewhere. Don't forget to remove the line you added (settings.darkModeActive = true). If you're interested in making it toggleable, I'd recommend checking out this wiki page.