1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-06-26 08:34:43 -04:00

Fixed some oversights between Classic & Modern

This commit is contained in:
Anthony Wilcox 2019-01-04 19:16:59 -05:00
parent f5b0b0ec06
commit e85265d1af
7 changed files with 103 additions and 126 deletions

View file

@ -8,21 +8,8 @@ func _on_AboutBtn_pressed():
func _on_SettingsBtn_pressed():
$WinDialogs/SettingsWin.show()
func _on_MusicBtn_toggled(button_pressed):
if button_pressed == true:
$Music.playing = true
else:
$Music.playing = false
func _on_ClassicBtn_pressed():
if $Music.playing == true:
$Music.playing = false
get_tree().change_scene("res://ClassicScreen.tscn")
func _on_ModernBtn_pressed():
if $Music.playing == true:
$Music.playing = false
get_tree().change_scene("res://GameScreen.tscn")

View file

@ -9,4 +9,10 @@ func _on_LicenseBtn_pressed():
$SettingsWin.show()
func _on_CloseAbtBtn_pressed():
$AboutWin.hide()
$AboutWin.hide()
func _on_MusicBtn_toggled(button_pressed):
if button_pressed == true:
$Music.playing = true
else:
$Music.playing = false