settings opened on load

This commit is contained in:
Adrien MALINGREY 2023-07-03 13:28:36 +02:00
parent b132b4224f
commit ab63295d25

3
app.js
View File

@ -543,7 +543,7 @@ class Settings {
this.musicVolume = 50
this.sfxVolume = 50
this.gui = gui.addFolder("Options").close()
this.gui = gui.addFolder("Options").open()
this.gui.add(this, "startLevel").name("Niveau initial").min(1).max(15).step(1)
@ -985,6 +985,7 @@ let game = {
start: function() {
startButton.hide()
stats.gui.show()
settings.gui.close()
this.playing = true
stats.clock.start()