Added autoshooting

This commit is contained in:
2025-11-29 21:32:36 +03:00
parent 67342c82cc
commit f42139ef9c
7 changed files with 12 additions and 42 deletions
@@ -16,6 +16,6 @@ ship = NodePath("..")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." index="5"]
[connection signal="accelerate" from="EnemyController" to="." method="accelerate"]
[connection signal="shoot" from="EnemyController" to="." method="_on_enemy_controller_shoot"]
[connection signal="shoot" from="EnemyController" to="." method="shoot"]
[connection signal="screen_entered" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]