113 lines
4.6 KiB
Plaintext
113 lines
4.6 KiB
Plaintext
[gd_scene format=3 uid="uid://lyl5v6s6waw"]
|
|
|
|
[ext_resource type="Script" uid="uid://byqenxfb1srrp" path="res://tools/time_music_animation_player.gd" id="2_hkcog"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://dhcvtj55pdbi0" path="res://_development/ayuroo/maestro/_mo_anim.tres" id="4_q2x38"]
|
|
[ext_resource type="Material" uid="uid://c38215ysnknyk" path="res://assets/dev/dark/dark_01.tres" id="7_6lemm"]
|
|
[ext_resource type="Script" uid="uid://bbwtct3hoxwws" path="res://src/core/vibration_component.gd" id="9_yut28"]
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_tqtrq"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -897),
|
|
"tilts": PackedFloat32Array(0, 0)
|
|
}
|
|
point_count = 2
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_tqtrq"]
|
|
radius = 0.15
|
|
height = 0.3
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_sah5h"]
|
|
radius = 0.15
|
|
height = 0.3
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_gsfaw"]
|
|
size = Vector3(14, 5, 1)
|
|
|
|
[node name="ChaseTest" type="Node3D" unique_id=1255206756]
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="." unique_id=1719638466]
|
|
volume_db = -4.5
|
|
|
|
[node name="MusicAnimation" type="AnimationPlayer" parent="." unique_id=1841439085]
|
|
audio_max_polyphony = 1
|
|
callback_mode_process = 0
|
|
callback_mode_method = 1
|
|
libraries/ = ExtResource("4_q2x38")
|
|
script = ExtResource("2_hkcog")
|
|
audio_player = NodePath("../Music")
|
|
metadata/_custom_type_script = "uid://byqenxfb1srrp"
|
|
|
|
[node name="CameraRoot" type="Node3D" parent="." unique_id=949164518]
|
|
transform = Transform3D(0.99999887, 0, 0, 0, 0.99999887, 0, 0, 0, 0.99999887, 0, 1, -36.72871)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1314945714]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0)
|
|
fov = 37.38998
|
|
|
|
[node name="ProgressTrack" type="Path3D" parent="." unique_id=330177244]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
curve = SubResource("Curve3D_tqtrq")
|
|
|
|
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack" unique_id=1781347439]
|
|
rotation_mode = 0
|
|
loop = false
|
|
|
|
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress" unique_id=2022116176]
|
|
mesh = SubResource("SphereMesh_tqtrq")
|
|
|
|
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer" unique_id=544589534]
|
|
remote_path = NodePath("../../../../CameraRoot")
|
|
update_scale = false
|
|
|
|
[node name="Node3D" type="Node3D" parent="ProgressTrack/PlayerDesiredProgress" unique_id=792495307]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9000001, -4)
|
|
|
|
[node name="DebugVisualizer2" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress/Node3D" unique_id=961510951]
|
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
|
|
mesh = SubResource("SphereMesh_sah5h")
|
|
|
|
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" unique_id=2038210614]
|
|
metadata/_custom_type_script = "uid://dp6jy00a6xuhk"
|
|
|
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=176539414]
|
|
use_collision = true
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=362373907]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -450)
|
|
size = Vector3(14, 1, 901)
|
|
material = ExtResource("7_6lemm")
|
|
|
|
[node name="HeavyBeatVibration" type="Node" parent="." unique_id=1136863204]
|
|
script = ExtResource("9_yut28")
|
|
duration = 0.1
|
|
sync_to_audio = true
|
|
weak_magnitude = 0.575
|
|
strong_magnitude = 0.75
|
|
weak_controller_magnitude_multiplier = 1.5
|
|
weak_controller_duration_multiplier = 1.25
|
|
|
|
[node name="LightBeatVibration" type="Node" parent="." unique_id=2006943016]
|
|
script = ExtResource("9_yut28")
|
|
duration = 0.175
|
|
sync_to_audio = true
|
|
weak_magnitude = 0.375
|
|
strong_magnitude = 0.0
|
|
weak_controller_magnitude_multiplier = 1.75
|
|
|
|
[node name="StartChaseArea" type="Area3D" parent="." unique_id=1335887294]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea" unique_id=1215245507]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
|
|
shape = SubResource("BoxShape3D_gsfaw")
|
|
|
|
[node name="_DEV_LABEL" type="Label3D" parent="." unique_id=396407330]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 6, 2, -3)
|
|
text = "If the audio and anim desync and cause the player to slow down,
|
|
set the follower up, so that it always stays at a certain
|
|
distance from the PlayerDesiredProgress ball/point/marker."
|
|
|
|
[connection signal="body_entered" from="StartChaseArea" to="." method="_on_start_chase_area_body_entered"]
|
|
[connection signal="body_entered" from="StartChaseArea" to="MusicAnimation" method="play" unbinds=1 binds= [&"maestro"]]
|