100 lines
2.4 KiB
Plaintext
100 lines
2.4 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://cvv70003plsaj"]
|
|
|
|
[ext_resource type="Script" path="res://ui/src/loading_screen.gd" id="1_doqp6"]
|
|
|
|
[sub_resource type="Animation" id="Animation_ygl05"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".: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_u3jsw"]
|
|
resource_name = "fade_in"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_f4ssj"]
|
|
resource_name = "fade_out"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ukok2"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_ygl05"),
|
|
"fade_in": SubResource("Animation_u3jsw"),
|
|
"fade_out": SubResource("Animation_f4ssj")
|
|
}
|
|
|
|
[node name="LoadingScreen" type="ColorRect"]
|
|
process_mode = 3
|
|
z_index = 10
|
|
z_as_relative = false
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 1)
|
|
script = ExtResource("1_doqp6")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -227.0
|
|
offset_top = -27.0
|
|
offset_right = 227.0
|
|
offset_bottom = 27.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Loading
|
|
"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_ukok2")
|
|
}
|