diff options
author | rom <romangraef@gmail.com> | 2021-04-26 18:22:22 +0200 |
---|---|---|
committer | rom <romangraef@gmail.com> | 2021-04-26 18:22:31 +0200 |
commit | 16177b5dd90ced86cdfc6f38982419a674c0dc56 (patch) | |
tree | 325793409906b1d500367edfb050ed8f3ad72abf | |
parent | 1bada2f859950122412ad65ac4a7f8cb0acb4089 (diff) | |
download | ldjam48-16177b5dd90ced86cdfc6f38982419a674c0dc56.tar.gz ldjam48-16177b5dd90ced86cdfc6f38982419a674c0dc56.tar.bz2 ldjam48-16177b5dd90ced86cdfc6f38982419a674c0dc56.zip |
grrr
-rw-r--r-- | scenes/levels/pixel/PixelDefender.gd | 2 | ||||
-rw-r--r-- | scenes/menu.tscn | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/scenes/levels/pixel/PixelDefender.gd b/scenes/levels/pixel/PixelDefender.gd index 2fc2e2d..a7c8661 100644 --- a/scenes/levels/pixel/PixelDefender.gd +++ b/scenes/levels/pixel/PixelDefender.gd @@ -23,6 +23,8 @@ func _new_enemy(): func start(): .start() + t = 0 + $Enemies.get_children().clear() var enemy_count = 5 if Settings.difficulty == Settings.Difficulty.HARD: enemy_count += 3 diff --git a/scenes/menu.tscn b/scenes/menu.tscn index 48707b6..3828ad6 100644 --- a/scenes/menu.tscn +++ b/scenes/menu.tscn @@ -194,6 +194,7 @@ anims/startgame = SubResource( 2 ) [node name="Outgoing" type="AnimationPlayer" parent="."] anims/tointro = SubResource( 3 ) anims/tosettings = SubResource( 4 ) + [connection signal="on_click" from="Content/Back" to="." method="_on_Back_on_click"] [connection signal="on_click" from="Content/HardMode" to="." method="_on_HardMode_on_click"] [connection signal="on_click" from="Content/Exit" to="." method="_on_Exit_on_click"] |