Attempting to set up equidistant bullets based on player movement.
This commit is contained in:
parent
142bf87eca
commit
07c63f4122
4 changed files with 25 additions and 4 deletions
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
[ext_resource type="PackedScene" uid="uid://bj4fytc3sy482" path="res://scenes/world.tscn" id="1_uwrxv"]
|
||||
|
||||
[node name="Game" type="Node2D" unique_id=1673976895]
|
||||
[node name="Main" type="Node2D" unique_id=1673976895]
|
||||
|
||||
[node name="World" parent="." unique_id=1317852169 instance=ExtResource("1_uwrxv")]
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue