Added pause capability to all levels, added music to Level 5, added a simple chasing AI to the glowing ghosts, and optimized the Main Menu scene
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
extends Node
|
||||
extends CanvasLayer
|
||||
|
||||
signal complete(option)
|
||||
|
||||
@@ -9,12 +9,12 @@ func _on_new_game_button_pressed() -> void:
|
||||
|
||||
|
||||
func _on_quit_button_pressed() -> void:
|
||||
emit_signal('complete', 'quit')
|
||||
get_tree().quit()
|
||||
return
|
||||
|
||||
|
||||
func _on_continue_button_mouse_entered() -> void:
|
||||
if not $'Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer/Continue Button'.disabled:
|
||||
if not $'Menu/Menu Elements/Menu Options/Continue/Continue Button'.disabled:
|
||||
$'Menu Button Hover'.play(0.0)
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user