yippee
This commit is contained in:
parent
077a53d911
commit
6ce339b430
9 changed files with 252 additions and 21 deletions
|
|
@ -13,6 +13,7 @@ var player_mode : bool = false
|
|||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
die.connect(end_game)
|
||||
player_mode = false
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
|
|
@ -22,5 +23,6 @@ func _process(delta: float) -> void:
|
|||
player_mode = !player_mode
|
||||
|
||||
func end_game():
|
||||
player_mode = false
|
||||
print("i die")
|
||||
get_tree().get_root().process_mode = Node.PROCESS_MODE_DISABLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue