Attempting to set up equidistant bullets based on player movement.

This commit is contained in:
Henry 2026-03-21 18:30:26 +00:00
parent 142bf87eca
commit 07c63f4122
4 changed files with 25 additions and 4 deletions

View file

@ -4,9 +4,15 @@
[ext_resource type="Resource" uid="uid://cels8t3hqjtsu" path="res://resources/shot_stock.tres" id="2_ckjv1"]
[ext_resource type="Texture2D" uid="uid://ti1uy42vnnhw" path="res://graphics/shot.png" id="3_mvdrj"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvdrj"]
size = Vector2(12, 8)
[node name="StockWeapon" type="Area2D" unique_id=1832200900]
script = ExtResource("1_hsma2")
shot_data = ExtResource("2_ckjv1")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2134507225]
texture = ExtResource("3_mvdrj")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1890946059]
shape = SubResource("RectangleShape2D_mvdrj")