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

Moved entire project to root

- Removed assets and publishing directories
This commit is contained in:
Anthony Foxclaw 2020-06-21 09:16:37 -04:00
parent 4b37f6be3b
commit 8f6ab4592d
395 changed files with 0 additions and 823 deletions

34
scripts/PauseScn.gd Normal file
View file

@ -0,0 +1,34 @@
# Anthony Wilcox licenses this file to you under the MPL license.
# See the LICENSE file in the project root for more information.
extends Node
func _process(delta):
if Input.is_action_just_pressed("ui_pause"):
$PauseWin.show()
GameKit.is_game_paused(true)
func _on_ExitBtn_pressed():
GameKit.is_game_paused(false)
GameKit.switch_scenes("title")
func _on_SettingsBtn_pressed():
$SettingsWin.show()
func _on_CreditsBtn_pressed():
GameKit.switch_scenes("credits")
func _on_LicenseBtn_pressed():
$LicenseWin.show()
func _on_CloseAbtBtn_pressed():
$AboutWin.hide()
func _on_MusicBtn_toggled(button_pressed):
if button_pressed == true:
UserSettings.IsMusicPaused = true
else:
UserSettings.IsMusicPaused = false
func _on_ResumeBtn_pressed():
$PauseWin.hide()
GameKit.is_game_paused(false)