godot-psd-training/sceen/total.tscn

124 lines
4.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=3 uid="uid://btcksdsburk7t"]
2024-04-12 11:06:25 +08:00
[ext_resource type="PackedScene" uid="uid://cmnsn2joxo68l" path="res://sceen/platform/platform.tscn" id="1_rjva4"]
[ext_resource type="Script" path="res://sceen/total.gd" id="1_s45rl"]
[ext_resource type="AudioStream" uid="uid://dgqmfnjgrea07" path="res://Assets/training_speech/trainComing.mp3" id="4_6ctdm"]
2024-04-12 11:06:25 +08:00
[ext_resource type="PackedScene" uid="uid://nx6xnwcuq8cf" path="res://sceen/train/train.tscn" id="14_g0uwl"]
[sub_resource type="Environment" id="Environment_ux83q"]
[sub_resource type="Animation" id="Animation_r7e51"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../train:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(20, 0, 0)]
2024-04-12 11:06:25 +08:00
}
[sub_resource type="Animation" id="Animation_he04d"]
resource_name = "trainCome"
length = 4.0
2024-04-12 11:06:25 +08:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../train:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 4),
"transitions": PackedFloat32Array(0.5, 1),
2024-04-12 11:06:25 +08:00
"update": 0,
"values": [Vector3(20, 0, 0), Vector3(0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_fssoy"]
resource_name = "trainLeave"
length = 10.0
2024-04-12 11:06:25 +08:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../train:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 10),
"transitions": PackedFloat32Array(2, 1),
2024-04-12 11:06:25 +08:00
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(-120, 0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lf7ox"]
_data = {
"RESET": SubResource("Animation_r7e51"),
"trainCome": SubResource("Animation_he04d"),
"trainLeave": SubResource("Animation_fssoy")
}
[node name="total" type="Node3D"]
script = ExtResource("1_s45rl")
2024-04-12 11:06:25 +08:00
[node name="platform" parent="." instance=ExtResource("1_rjva4")]
[node name="train" parent="." instance=ExtResource("14_g0uwl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20, 0, 0)
2024-04-12 11:06:25 +08:00
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.424, 1.768, 6.555)
2024-04-16 09:46:51 +08:00
visible = false
2024-05-13 14:08:41 +08:00
current = true
2024-04-12 11:06:25 +08:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ux83q")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment"]
2024-04-12 16:55:38 +08:00
transform = Transform3D(1, 0, 0, 0, 0.451687, 0.892176, 0, -0.892176, 0.451687, 0, 0, 0)
2024-04-12 11:06:25 +08:00
[node name="DirectionalLight3D2" type="DirectionalLight3D" parent="WorldEnvironment"]
transform = Transform3D(1, 0, 0, 0, 0.99473, -0.102532, 0, 0.102532, 0.99473, 0, 0, 4.02413)
2024-04-12 11:06:25 +08:00
[node name="trainAnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../WorldEnvironment")
libraries = {
"": SubResource("AnimationLibrary_lf7ox")
}
2024-04-29 15:00:41 +08:00
[node name="trainComing" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_6ctdm")
2024-06-20 10:28:46 +08:00
[node name="AllTimer" type="Node3D" parent="."]
[node name="BeginTimer" type="Timer" parent="AllTimer"]
wait_time = 6.0
one_shot = true
2024-06-20 10:28:46 +08:00
[node name="EndTimer" type="Timer" parent="AllTimer"]
2024-05-22 15:28:19 +08:00
wait_time = 5.0
one_shot = true
2024-06-20 10:28:46 +08:00
[node name="trainComeDelay" type="Timer" parent="AllTimer"]
wait_time = 2.0
one_shot = true
2024-06-20 10:28:46 +08:00
[node name="trainLeaveDelay" type="Timer" parent="AllTimer"]
wait_time = 2.0
one_shot = true
2024-06-20 10:28:46 +08:00
[node name="openAllwindow" type="Timer" parent="AllTimer"]
2024-05-22 15:28:19 +08:00
one_shot = true
[connection signal="allClickPlatformSignal" from="platform" to="." method="_on_platform_all_click_platform_signal"]
2024-05-22 11:10:03 +08:00
[connection signal="allScreenDoorLcbStateSignal" from="platform" to="." method="emitScreenDoorLcbStateChangeSignal"]
2024-04-29 15:00:41 +08:00
[connection signal="animation_finished" from="trainAnimationPlayer" to="train" method="_on_train_animation_player_animation_finished"]
2024-06-20 10:28:46 +08:00
[connection signal="timeout" from="AllTimer/BeginTimer" to="." method="openScreenDoor"]
[connection signal="timeout" from="AllTimer/EndTimer" to="." method="_on_end_timer_timeout"]
[connection signal="timeout" from="AllTimer/trainComeDelay" to="." method="_on_train_come_delay_timeout"]
[connection signal="timeout" from="AllTimer/trainLeaveDelay" to="." method="_on_train_leave_delay_timeout"]
[connection signal="timeout" from="AllTimer/openAllwindow" to="." method="_on_open_allwindow_timeout"]