Removed shoot() from controllers. Removed idle animation from laser

This commit is contained in:
2025-12-19 15:18:50 +03:00
parent 6fdc3dc894
commit 7bdace27a8
8 changed files with 26 additions and 105 deletions
@@ -33,6 +33,8 @@ func _ready() -> void:
func _physics_process(delta: float) -> void:
super._physics_process(delta)
shoot()
if blink_charge < BLINK_CHARGE_MAXIMUM:
blink_charge += delta
blink_charge_indicator.value = blink_charge
@@ -103,7 +103,6 @@ position = Vector2(-11, 0)
[connection signal="accelerate" from="PlayerController" to="." method="accelerate"]
[connection signal="blink" from="PlayerController" to="." method="_blink"]
[connection signal="shoot" from="PlayerController" to="." method="shoot"]
[connection signal="armor_updated" from="Health" to="." method="_on_armor_updated"]
[connection signal="hull_updated" from="Health" to="." method="_on_hull_updated"]
[connection signal="shield_updated" from="Health" to="." method="_on_shield_updated"]