59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://b2mhoeubwtkuo"]
|
|
|
|
[ext_resource type="Script" uid="uid://cs6mhxw52ldo1" path="res://Assets/Scripts/UI/fade_in.gd" id="1_k5wvs"]
|
|
|
|
[sub_resource type="Animation" id="Animation_vggx3"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ColorRect:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_llmbb"]
|
|
resource_name = "fade_in"
|
|
length = 3.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ColorRect:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(-0.4, 3),
|
|
"transitions": PackedFloat32Array(2.2974, 1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cumm5"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_vggx3"),
|
|
&"fade_in": SubResource("Animation_llmbb")
|
|
}
|
|
|
|
[node name="Transition" type="CanvasLayer"]
|
|
script = ExtResource("1_k5wvs")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
z_index = 5
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_cumm5")
|
|
}
|