This commit is contained in:
2023-09-10 15:07:13 -07:00
parent f0f02bbd17
commit ed28a4bb70
10 changed files with 77 additions and 136 deletions

View File

@@ -1,9 +1,8 @@
[gd_scene load_steps=7 format=3 uid="uid://cwt4rum7tvyvb"]
[gd_scene load_steps=6 format=3 uid="uid://cwt4rum7tvyvb"]
[ext_resource type="Script" path="res://Player/Scorpio/Attacks/CutterShot.cs" id="1_7xtlh"]
[ext_resource type="Texture2D" uid="uid://cdryxdasvun4r" path="res://Textures/Projectiles/Projectile_Scorpio.png" id="2_6mabu"]
[ext_resource type="AudioStream" uid="uid://ce40y3hln3twm" path="res://Audio/SFX/grass cutter.wav" id="2_qmvk7"]
[ext_resource type="AudioStream" uid="uid://cat08h84wm5gm" path="res://Audio/SFX/ominous.wav" id="3_v1t2f"]
[sub_resource type="Curve3D" id="Curve3D_ocip8"]
_data = {
@@ -18,16 +17,14 @@ radius = 0.272422
[node name="CutterAlt" type="Node3D" groups=["Projectile"]]
[node name="CutterShot" type="Path3D" parent="." node_paths=PackedStringArray("_sprite", "_hitBox")]
[node name="CutterShot" type="Path3D" parent="." node_paths=PackedStringArray("_sprite")]
top_level = true
curve = SubResource("Curve3D_ocip8")
script = ExtResource("1_7xtlh")
_sprite = NodePath("PathFollow3D/RigidBody3D/CollisionShape3D/Sprite3D")
Cooldown = 0.7
_projectileSpeed = 4.0
_soundEffect = ExtResource("2_qmvk7")
_onHitSfx = ExtResource("3_v1t2f")
_hitBox = NodePath("PathFollow3D/RigidBody3D")
_projectileSpeed = 4.0
[node name="PathFollow3D" type="PathFollow3D" parent="CutterShot"]
transform = Transform3D(0.951515, -0.00127716, 0.307596, 1.16415e-10, 0.999991, 0.00415203, -0.307599, -0.00395073, 0.951506, 0, 1, 0)
@@ -54,4 +51,8 @@ axis = 1
double_sided = false
texture = ExtResource("2_6mabu")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_qmvk7")
autoplay = true
[connection signal="body_entered" from="CutterShot/PathFollow3D/RigidBody3D" to="CutterShot" method="OnProjectileHit"]