Fix for muzzle position

This commit is contained in:
Marco 2025-01-28 10:06:10 +01:00
commit 88fb08a451
2 changed files with 2 additions and 3 deletions

View file

@ -2,11 +2,11 @@
[ext_resource type="Script" path="res://Scripts/Weapon.cs" id="1_f5iec"]
[node name="Weapon" type="Sprite2D"]
[node name="Weapon" type="Sprite2D" node_paths=PackedStringArray("Muzzle")]
script = ExtResource("1_f5iec")
Muzzle = NodePath("Muzzle")
[node name="Muzzle" type="Marker2D" parent="."]
position = Vector2(5, 0)
[node name="ShootTimer" type="Timer" parent="."]
one_shot = true

View file

@ -150,7 +150,6 @@ CrosshairDistance = 20.0
SelectorScene = ExtResource("3_8wt6s")
GameOverScene = "res://Scenes/GameOver.tscn"
Muzzle = NodePath("Muzzle")
Health = 32.0
EquippedWeapon = NodePath("Weapon")
metadata/_edit_group_ = true