2024-04-16 09:46:51 +08:00
|
|
|
[gd_scene load_steps=11 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="PackedScene" uid="uid://d167och8l6jms" path="res://UI/station_keys/station_keys_window.tscn" id="4_wk067"]
|
2024-04-15 14:54:06 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b41ml6vpfik6v" path="res://UI/lcb_2.tscn" id="5_svf2h"]
|
2024-04-12 11:06:25 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://nx6xnwcuq8cf" path="res://sceen/train/train.tscn" id="14_g0uwl"]
|
|
|
|
[ext_resource type="Script" path="res://sceen/train/train.gd" id="15_r0ogb"]
|
|
|
|
|
|
|
|
[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(0, 0, 0)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_he04d"]
|
|
|
|
resource_name = "trainCome"
|
|
|
|
length = 2.0
|
|
|
|
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, 2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Vector3(20, 0, 0), Vector3(0, 0, 0)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_fssoy"]
|
|
|
|
resource_name = "trainLeave"
|
|
|
|
length = 15.0
|
|
|
|
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, 15),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"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"]
|
|
|
|
|
|
|
|
[node name="platform" parent="." instance=ExtResource("1_rjva4")]
|
|
|
|
|
|
|
|
[node name="train" parent="." instance=ExtResource("14_g0uwl")]
|
2024-04-16 09:46:51 +08:00
|
|
|
visible = false
|
2024-04-12 11:06:25 +08:00
|
|
|
script = ExtResource("15_r0ogb")
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.48944, 1.76842, -1.56037)
|
2024-04-16 09:46:51 +08:00
|
|
|
visible = false
|
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="trainAnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
root_node = NodePath("../WorldEnvironment")
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_lf7ox")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="PSL_Button" type="Button" parent="."]
|
|
|
|
offset_left = 144.0
|
|
|
|
offset_top = 132.0
|
|
|
|
offset_right = 180.0
|
|
|
|
offset_bottom = 163.0
|
|
|
|
text = "PSL"
|
|
|
|
|
|
|
|
[node name="Window" parent="." instance=ExtResource("4_wk067")]
|
2024-04-16 09:46:51 +08:00
|
|
|
visible = false
|
2024-04-12 11:06:25 +08:00
|
|
|
|
2024-04-15 14:54:06 +08:00
|
|
|
[node name="LCB2" parent="." instance=ExtResource("5_svf2h")]
|
2024-04-16 09:46:51 +08:00
|
|
|
visible = false
|
2024-04-15 14:54:06 +08:00
|
|
|
|
2024-04-12 11:06:25 +08:00
|
|
|
[connection signal="pressed" from="PSL_Button" to="Window" method="_on_psl_button_pressed"]
|
2024-04-16 09:46:51 +08:00
|
|
|
[connection signal="close_requested" from="LCB2" to="LCB2" method="_on_close_requested"]
|