Bug fix
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cyn2wn6ffsnu7"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cyn2wn6ffsnu7"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player/Base/Projectile.cs" id="1_62kpd"]
|
||||
[ext_resource type="AudioStream" uid="uid://cw1jlubd7wmw6" path="res://Audio/SFX/blue laser.wav" id="2_7lbn3"]
|
||||
[ext_resource type="Texture2D" uid="uid://kecmkchurnin" path="res://Textures/Projectiles/Projectile_Pisces_SingleAttack.png" id="2_d8lwd"]
|
||||
[ext_resource type="AudioStream" uid="uid://cat08h84wm5gm" path="res://Audio/SFX/ominous.wav" id="3_xqtbw"]
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_do6j1"]
|
||||
_data = {
|
||||
@@ -18,16 +17,14 @@ radius = 0.3
|
||||
|
||||
[node name="Single" type="Node3D"]
|
||||
|
||||
[node name="Center Shot" type="Path3D" parent="." node_paths=PackedStringArray("_hitBox")]
|
||||
[node name="Center Shot" type="Path3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.10168, -0.620083)
|
||||
top_level = true
|
||||
curve = SubResource("Curve3D_do6j1")
|
||||
script = ExtResource("1_62kpd")
|
||||
Cooldown = 0.5
|
||||
_projectileSpeed = 3.0
|
||||
_soundEffect = ExtResource("2_7lbn3")
|
||||
_onHitSfx = ExtResource("3_xqtbw")
|
||||
_hitBox = NodePath("PathFollow3D/Hitbox")
|
||||
_projectileSpeed = 3.0
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Center Shot"]
|
||||
transform = Transform3D(0.999998, 0, -0.0016, 0, 1, 0, 0.0016, 0, 0.999998, 0, 0, 0)
|
||||
@@ -53,4 +50,8 @@ centered = false
|
||||
axis = 1
|
||||
texture = ExtResource("2_d8lwd")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("2_7lbn3")
|
||||
autoplay = true
|
||||
|
||||
[connection signal="body_entered" from="Center Shot/PathFollow3D/Hitbox" to="Center Shot" method="OnProjectileHit"]
|
||||
|
||||
Reference in New Issue
Block a user