Elevation shot

This commit is contained in:
2023-09-08 14:09:18 -07:00
parent f7008b40ff
commit 29140712f6
17 changed files with 57 additions and 45 deletions

View File

@@ -5,9 +5,9 @@
[ext_resource type="AudioStream" uid="uid://ce40y3hln3twm" path="res://Audio/SFX/grass cutter.wav" id="2_u4aoe"]
[ext_resource type="AudioStream" uid="uid://cat08h84wm5gm" path="res://Audio/SFX/ominous.wav" id="3_32sc2"]
[sub_resource type="Curve3D" id="Curve3D_5hmi4"]
[sub_resource type="Curve3D" id="Curve3D_i1cv2"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2.502, 1, -3.145, 0, 0, 0, 0, 0, 0, 2.033, 1, -6, 0, 0, 0, 0, 0, 0, -5, 1, -8),
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0.889019, 0.987915, -2.75022, 0, 0, 0, 0, 0, 0, 0.595381, 0.990112, -4.18814, 0, 0, 0, 0, 0, 0, -1.2854, 0.993652, -4.79623),
"tilts": PackedFloat32Array(0, 0, 0, 0)
}
point_count = 4
@@ -19,7 +19,7 @@ height = 8.481
[node name="Path3D" type="Path3D" parent="." node_paths=PackedStringArray("_sprite", "_hitBox")]
top_level = true
curve = SubResource("Curve3D_5hmi4")
curve = SubResource("Curve3D_i1cv2")
script = ExtResource("1_inha4")
_sprite = NodePath("PathFollow3D/RigidBody3D/CollisionShape3D/Sprite3D")
Cooldown = 0.7
@@ -29,7 +29,7 @@ _onHitSfx = ExtResource("3_32sc2")
_hitBox = NodePath("PathFollow3D/RigidBody3D")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(0.782564, 0, -0.622568, 0, 1, 0, 0.622568, 0, 0.782564, 0, 1, 0)
transform = Transform3D(0.95152, 0.00128604, -0.30758, 0, 0.999991, 0.00418112, 0.307583, -0.00397843, 0.951511, 0, 1, 0)
loop = false
tilt_enabled = false

View File

@@ -5,9 +5,9 @@
[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_5hmi4"]
[sub_resource type="Curve3D" id="Curve3D_ocip8"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -2.502, 1, -3.145, 0, 0, 0, 0, 0, 0, -2.033, 1, -6, 0, 0, 0, 0, 0, 0, 5, 1, -8),
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -0.889, 0.988, -2.75, 0, 0, 0, 0, 0, 0, -0.595, 0.99, -4.188, 0, 0, 0, 0, 0, 0, 1.285, 0.994, -4.796),
"tilts": PackedFloat32Array(0, 0, 0, 0)
}
point_count = 4
@@ -19,7 +19,7 @@ height = 8.481
[node name="CutterShot" type="Path3D" parent="." node_paths=PackedStringArray("_sprite", "_hitBox")]
top_level = true
curve = SubResource("Curve3D_5hmi4")
curve = SubResource("Curve3D_ocip8")
script = ExtResource("1_7xtlh")
_sprite = NodePath("PathFollow3D/RigidBody3D/CollisionShape3D/Sprite3D")
Cooldown = 0.7
@@ -29,7 +29,7 @@ _onHitSfx = ExtResource("3_v1t2f")
_hitBox = NodePath("PathFollow3D/RigidBody3D")
[node name="PathFollow3D" type="PathFollow3D" parent="CutterShot"]
transform = Transform3D(0.782564, 0, 0.622568, 0, 1, 0, -0.622568, 0, 0.782564, 0, 1, 0)
transform = Transform3D(0.951515, -0.00127717, 0.307596, 1.16415e-10, 0.999991, 0.00415204, -0.307599, -0.00395073, 0.951506, 0, 1, 0)
loop = false
tilt_enabled = false

View File

@@ -10,7 +10,7 @@ size = Vector3(0.8, 3, 0.8)
[node name="Scorpio" type="CharacterBody3D" groups=["Player"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55696, 0)
collision_layer = 2
collision_layer = 18
motion_mode = 1
slide_on_ceiling = false
script = ExtResource("1_gw30u")