breadwinner/scenes/ui/loading_screen/loading_screen.tscn

66 lines
2 KiB
Text
Raw Normal View History

[gd_scene format=3 uid="uid://046i0offx3w8"]
[ext_resource type="Script" uid="uid://br8pa51piwxuy" path="res://scenes/ui/loading_screen/loading_screen.gd" id="1_rqdcv"]
2026-08-17 16:38:10 +02:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g4v7s"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="Animation" id="Animation_vwscl"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel:theme_override_styles/panel:bg_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, 1)]
}
[sub_resource type="Animation" id="Animation_dd6wa"]
resource_name = "transition"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel:theme_override_styles/panel:bg_color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_urqlm"]
_data = {
&"RESET": SubResource("Animation_vwscl"),
&"transition": SubResource("Animation_dd6wa")
}
[node name="LoadingScreen" type="CanvasLayer" unique_id=138834705 node_paths=PackedStringArray("animation_player")]
script = ExtResource("1_rqdcv")
2026-08-17 16:38:10 +02:00
animation_player = NodePath("AnimationPlayer")
2026-08-17 16:38:10 +02:00
[node name="Panel" type="Panel" parent="." unique_id=1829994343]
offset_right = 1920.0
offset_bottom = 1080.0
theme_override_styles/panel = SubResource("StyleBoxFlat_g4v7s")
2026-08-17 16:38:10 +02:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1601298347]
libraries/ = SubResource("AnimationLibrary_urqlm")
autoplay = &"transition"
2026-08-17 16:38:10 +02:00
[node name="ProgressBar" type="ProgressBar" parent="." unique_id=2107914636]
unique_name_in_owner = true
anchors_preset = -1
2026-08-17 16:38:10 +02:00
anchor_top = 0.916
anchor_right = 1.0
2026-08-17 16:38:10 +02:00
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 0