Files
tekton/scenes/ui/boot_screen.tscn
T
2026-04-30 04:18:46 +08:00

163 lines
5.9 KiB
Plaintext

[gd_scene format=3 uid="uid://c330qhn1hqr3b"]
[ext_resource type="Script" uid="uid://vgyrq5y5p7jw" path="res://scripts/ui/boot_screen.gd" id="1_boot"]
[ext_resource type="Texture2D" uid="uid://2d1ks5pmblc7" path="res://assets/graphics/main_menu/bg_back.png" id="2_17ab1"]
[ext_resource type="FontFile" uid="uid://dsqg0x5lnosou" path="res://assets/fonts/TektonDash2.ttf" id="2_bwjrh"]
[ext_resource type="FontFile" uid="uid://c2tryhyhlyb1u" path="res://assets/fonts/Supercell-Magic Regular.ttf" id="3_f4w4t"]
[ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="3_jayi6"]
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="4_17ab1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1xu5j"]
bg_color = Color(0.08, 0.09, 0.12, 1)
[node name="BootScreen" type="Control" unique_id=469561880]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_boot")
[node name="Background" type="ColorRect" parent="." unique_id=698091452]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.0823529, 0.0823529, 0.109804, 1)
[node name="Background2" type="Panel" parent="." unique_id=1171074799]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_1xu5j")
[node name="Background3" type="TextureRect" parent="." unique_id=99232146]
modulate = Color(1, 1, 1, 0.28235295)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_17ab1")
expand_mode = 2
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=1851252006]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_jayi6")
[node name="MainVBox" type="VBoxContainer" parent="CenterContainer" unique_id=283468998]
custom_minimum_size = Vector2(600, 0)
layout_mode = 2
theme_override_constants/separation = 20
[node name="Title" type="Label" parent="CenterContainer/MainVBox" unique_id=576295308]
layout_mode = 2
theme_override_colors/font_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
theme_override_fonts/font = ExtResource("2_bwjrh")
theme_override_font_sizes/font_size = 32
text = "Tekton Dash : Update Checker"
horizontal_alignment = 1
[node name="ChangelogPanel" type="PanelContainer" parent="CenterContainer/MainVBox" unique_id=675458612]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 300)
layout_mode = 2
[node name="Margin" type="MarginContainer" parent="CenterContainer/MainVBox/ChangelogPanel" unique_id=577528369]
layout_mode = 2
theme_override_constants/margin_left = 15
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15
[node name="VBox" type="VBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin" unique_id=983868454]
layout_mode = 2
[node name="ChangelogRichText" type="RichTextLabel" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox" unique_id=1850438919]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_override_colors/default_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
theme_override_fonts/normal_font = ExtResource("3_f4w4t")
bbcode_enabled = true
text = "Loading changelog..."
[node name="HBox" type="HBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox" unique_id=1374120193]
layout_mode = 2
alignment = 1
[node name="PrevButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1862079005]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = " < Previous "
[node name="PageLabel" type="Label" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=934971208]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_colors/font_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
theme_override_fonts/font = ExtResource("4_17ab1")
text = "1 / 1"
horizontal_alignment = 1
[node name="NextButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1366632731]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = " Next > "
[node name="StatusLabel" type="Label" parent="CenterContainer/MainVBox" unique_id=955710692]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/font_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
theme_override_fonts/font = ExtResource("4_17ab1")
text = "Checking for updates..."
horizontal_alignment = 1
[node name="ProgressBar" type="ProgressBar" parent="CenterContainer/MainVBox" unique_id=2132835750]
unique_name_in_owner = true
layout_mode = 2
show_percentage = false
[node name="ProgressLabel" type="Label" parent="CenterContainer/MainVBox/ProgressBar" unique_id=1293848486]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("4_17ab1")
horizontal_alignment = 1
[node name="ButtonContainer" type="HBoxContainer" parent="CenterContainer/MainVBox" unique_id=2021809892]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="SkipButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=1945691494]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = "Skip"
[node name="UpdateButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=200811932]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = "Download Update"