diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-10-30 03:46:30 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-10-30 03:46:30 +0000 |
| commit | 6c4e9dd16416fc7d0af6dff2a434e03086893f7c (patch) | |
| tree | 1ce69360c2047f21ad2c948254d5aebe475273ac /Main.gd | |
| parent | 34b97ea823b1627eac2b91825cd1a748d87afd60 (diff) | |
Add coin to game over
Diffstat (limited to 'Main.gd')
| -rw-r--r-- | Main.gd | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ func _ready(): randomize() get_node("KinematicBody2D").connect("hit", get_node("HUD/HBoxContainer/HealthBar"), "_on_player_hit") get_node("KinematicBody2D").connect("coin", get_node("HUD/HBoxContainer/Money"), "_on_coin_hit") + get_node("KinematicBody2D").connect("coin", get_node("HUD/Wordart/Wordart(1)/Label"), "_on_coin_hit") $EnemySpawnTimer.start() |
