aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/LoadingScreen.tscn
blob: d6068c8dea19640f9cccb2514561f63cc1c40b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[gd_scene load_steps=6 format=3 uid="uid://3kktdpfnc0sn"]

[ext_resource type="Script" path="res://src/Game/LoadingScreen.gd" id="1_b0p3w"]
[ext_resource type="Texture2D" uid="uid://doji17mxxmikl" path="res://theme/assets/loading_screen.png" id="2_ny153"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_3fggo"]
texture = ExtResource("2_ny153")

[sub_resource type="Theme" id="Theme_f5c3e"]
PanelContainer/styles/panel = SubResource("StyleBoxTexture_3fggo")

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yaf7e"]
content_margin_left = 16.0
content_margin_top = 16.0
content_margin_right = 16.0
content_margin_bottom = 16.0
bg_color = Color(0.129412, 0.129412, 0.129412, 1)
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16

[node name="LoadingScreen" type="Control" node_paths=PackedStringArray("progress_bar", "quote_label")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_b0p3w")
progress_bar = NodePath("PanelContainer/MarginContainer/ProgressBar")
quote_label = NodePath("PanelContainer/MarginContainer/PanelContainer/QuoteLabel")

[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_f5c3e")

[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16

[node name="ProgressBar" type="ProgressBar" parent="PanelContainer/MarginContainer"]
layout_mode = 2
size_flags_vertical = 8
step = 1.0
rounded = true

[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_yaf7e")

[node name="QuoteLabel" type="Label" parent="PanelContainer/MarginContainer/PanelContainer"]
custom_minimum_size = Vector2(700, 80)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 3
text_overrun_behavior = 3