supervisor-simulator/scenes/scene_transit.tscn
2025-12-03 21:44:35 +08:00

55 lines
1.4 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://xnssep8q3gm5"]
[ext_resource type="Script" uid="uid://dl2fytfxrbubh" path="res://scripts/SceneTransit.cs" id="1_2kqcs"]
[sub_resource type="Animation" id="Animation_6aqtw"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(0, 0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_n35b4"]
resource_name = "transit"
length = 0.3
step = 0.3
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.3),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g0ecv"]
_data = {
&"RESET": SubResource("Animation_6aqtw"),
&"transit": SubResource("Animation_n35b4")
}
[node name="CanvasLayer" type="CanvasLayer"]
script = ExtResource("1_2kqcs")
[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 1920.0
offset_bottom = 1080.0
color = Color(0, 0, 0, 0)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_g0ecv")
}