1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-07-09 05:54:43 -04:00

Game experience should be more consistent now

- The Exit (to menu) and Settings buttons have been merged into a single Pause window that can be accessed by pressing Escape or Start/"Nintendo +" from the keyboard or game controllers, respectfully. Interacting with the game should be more user friendly and predictable now.
This commit is contained in:
Anthony Wilcox 2019-01-05 12:28:50 -05:00
parent 20a553f9c3
commit e96a904041
14 changed files with 197 additions and 271 deletions

8
project/src/GameScn.gd Normal file
View file

@ -0,0 +1,8 @@
# Anthony Wilcox licenses this file to you under the GPL license.
# See the LICENSE file in the project root for more information.
extends Node
func _process(delta):
if Input.is_action_pressed("ui_pause"):
get_tree().paused = true
$WinDialogs/PauseWin.show()