mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Fix for muzzle position
This commit is contained in:
parent
4b4cbc037a
commit
88fb08a451
2 changed files with 2 additions and 3 deletions
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Scripts/Weapon.cs" id="1_f5iec"]
|
[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")
|
script = ExtResource("1_f5iec")
|
||||||
|
Muzzle = NodePath("Muzzle")
|
||||||
|
|
||||||
[node name="Muzzle" type="Marker2D" parent="."]
|
[node name="Muzzle" type="Marker2D" parent="."]
|
||||||
position = Vector2(5, 0)
|
|
||||||
|
|
||||||
[node name="ShootTimer" type="Timer" parent="."]
|
[node name="ShootTimer" type="Timer" parent="."]
|
||||||
one_shot = true
|
one_shot = true
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,6 @@ CrosshairDistance = 20.0
|
||||||
SelectorScene = ExtResource("3_8wt6s")
|
SelectorScene = ExtResource("3_8wt6s")
|
||||||
GameOverScene = "res://Scenes/GameOver.tscn"
|
GameOverScene = "res://Scenes/GameOver.tscn"
|
||||||
Muzzle = NodePath("Muzzle")
|
Muzzle = NodePath("Muzzle")
|
||||||
Health = 32.0
|
|
||||||
EquippedWeapon = NodePath("Weapon")
|
EquippedWeapon = NodePath("Weapon")
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue