the options screen is 𝔞𝔩𝔦𝔳𝔢.
This commit is contained in:
parent
99fd0f6473
commit
89b4bc045e
12 changed files with 327 additions and 120 deletions
|
@ -1,5 +1,7 @@
|
|||
extends CanvasLayer
|
||||
|
||||
onready var options_screen = $OptionsScreen
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
get_tree().paused = true
|
||||
|
@ -24,6 +26,10 @@ func _on_Restart_pressed():
|
|||
queue_free()
|
||||
|
||||
|
||||
func _on_Settings_pressed():
|
||||
options_screen.focus()
|
||||
|
||||
|
||||
func _on_ExitLevel_pressed():
|
||||
get_tree().paused = false
|
||||
Game.change_map(load("res://maps/level_select.tscn"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue