Added CannonWeapon textures

This commit is contained in:
2025-11-19 15:32:03 +03:00
parent 721d38e9d1
commit 77b03e4b73
25 changed files with 443 additions and 36 deletions
@@ -5,4 +5,4 @@ extends AbstractShip
func _ready() -> void:
super._ready()
for weapon in _weapons:
weapon.belonging = AbstractWeapon.Belonging.ENEMY
weapon.set_belonging(AbstractWeapon.Belonging.ENEMY)
@@ -15,7 +15,7 @@ script = ExtResource("2_3umer")
acceleration = 30
deceleration = 18
max_speed = 60
weapon_positions = Array[Vector2]([Vector2(0, 12), Vector2(0, 0), Vector2(0, -12)])
weapon_positions = Array[Vector2]([Vector2(0, 16), Vector2(0, 0), Vector2(0, -16)])
[node name="Sprite2D" parent="." index="0"]
texture = SubResource("PlaceholderTexture2D_cuapu")