diff options
| author | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-29 21:59:06 +0100 |
|---|---|---|
| committer | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-29 21:59:06 +0100 |
| commit | 92758c8c998091b8c2a20e6af5f2f473aa130d7a (patch) | |
| tree | 1a86ffdf0388000b903851fb5230edb8199eff99 /Main.gd | |
| parent | e91f2c9f403522b22b730f777baa354b9a9cfedc (diff) | |
Add health loss
Diffstat (limited to 'Main.gd')
| -rw-r--r-- | Main.gd | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ onready var globals = get_node("/root/Global") # Called when the node enters the scene tree for the first time. func _ready(): randomize() + get_node("KinematicBody2D").connect( "hit", get_node("HUD/HBoxContainer/HealthBar"), "_on_player_hit") $EnemySpawnTimer.start() |
