Trying to rework cannon, gatling, launcher

This commit is contained in:
2025-11-26 18:04:31 +03:00
parent 505f7beae8
commit c3c199a9f9
13 changed files with 143 additions and 154 deletions
+3 -5
View File
@@ -3,9 +3,7 @@
[ext_resource type="PackedScene" uid="uid://jvyagshykmgb" path="res://game/entities/ships/abstract_ship.tscn" id="1_6otxb"]
[ext_resource type="Script" uid="uid://ruxw1n03iq4i" path="res://game/entities/ships/player/player_ship.gd" id="2_625ti"]
[ext_resource type="PackedScene" uid="uid://dh1oj1w5wx4je" path="res://game/controllers/player_controller.tscn" id="3_4mjo1"]
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_dj8f1"]
size = Vector2(48, 32)
[ext_resource type="Texture2D" uid="uid://y2yfli24n51v" path="res://images/ships/player.png" id="3_uf2n1"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dj8f1"]
radius = 15.0
@@ -19,10 +17,10 @@ acceleration = 92
deceleration = 46
max_speed = 92
mass = 250
weapon_positions = Array[Vector2]([Vector2(0, 8), Vector2(0, -8)])
weapon_positions = Array[Vector2]([Vector2(-2, 18), Vector2(-2, -18)])
[node name="Sprite2D" parent="." index="0"]
texture = SubResource("PlaceholderTexture2D_dj8f1")
texture = ExtResource("3_uf2n1")
[node name="CollisionShape2D" parent="." index="1"]
rotation = 1.5707964