Launcher/Main_menu.tscn

242 lines
6.9 KiB
Plaintext

[gd_scene load_steps=25 format=2]
[ext_resource path="res://textures/backgrounds/background1.png" type="Texture" id=1]
[ext_resource path="res://fonts/SPACEBAR.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Main_menu.gd" type="Script" id=3]
[ext_resource path="res://fonts/Title-font.tres" type="DynamicFont" id=4]
[ext_resource path="res://themes/Base_theme.tres" type="Theme" id=5]
[ext_resource path="res://fonts/SPACE.tres" type="DynamicFont" id=6]
[ext_resource path="res://ProgressBar.gd" type="Script" id=7]
[ext_resource path="res://fonts/retro_gaming.tres" type="DynamicFont" id=8]
[ext_resource path="res://textures/kenney-game-icons/PNG/White/2x/return.png" type="Texture" id=9]
[ext_resource path="res://themes/Base_panel.tres" type="StyleBox" id=10]
[ext_resource path="res://textures/kenney-game-icons/PNG/Black/2x/return.png" type="Texture" id=11]
[ext_resource path="res://fonts/Retro Gaming.ttf" type="DynamicFontData" id=12]
[ext_resource path="res://fonts/SPACE.ttf" type="DynamicFontData" id=13]
[sub_resource type="Theme" id=1]
default_font = ExtResource( 4 )
[sub_resource type="DynamicFont" id=2]
size = 40
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
border_width_left = 10
border_width_right = 5
border_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
corner_detail = 16
[sub_resource type="DynamicFont" id=5]
size = 32
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=6]
bg_color = Color( 0.0509804, 0.0666667, 0.227451, 1 )
border_color = Color( 0.219608, 0.211765, 0.227451, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 0.113725, 0.0941176, 0.196078, 1 )
border_width_left = 10
border_width_right = 5
border_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="DynamicFont" id=9]
size = 24
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=12]
bg_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
border_width_left = 10
border_width_right = 5
border_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
corner_detail = 20
[sub_resource type="DynamicFont" id=14]
size = 24
font_data = ExtResource( 13 )
[sub_resource type="DynamicFont" id=13]
size = 10
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 12 )
[sub_resource type="GDScript" id=11]
[node name="Main_menu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 5 )
script = ExtResource( 3 )
[node name="Background" type="TextureRect" parent="."]
margin_right = 1999.0
margin_bottom = 1501.0
rect_scale = Vector2( 0.512202, 0.399751 )
texture = ExtResource( 1 )
expand = true
stretch_mode = 7
[node name="Change_timer" type="Timer" parent="Background"]
wait_time = 15.0
autostart = true
[node name="Header" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 53.0
theme = SubResource( 1 )
custom_fonts/font = SubResource( 2 )
text = "UltraFlare Launcher"
align = 1
valign = 1
[node name="Panel" type="Panel" parent="."]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 64.0
margin_top = -136.0
margin_right = -64.0
margin_bottom = -24.0
theme = ExtResource( 5 )
custom_styles/panel = SubResource( 4 )
[node name="Play_button" type="Button" parent="Panel"]
margin_left = 288.0
margin_top = 16.0
margin_right = 621.0
margin_bottom = 69.0
rect_scale = Vector2( 0.962016, 0.91427 )
custom_fonts/font = SubResource( 5 )
text = "play"
[node name="ProgressBar" type="ProgressBar" parent="Panel"]
visible = false
margin_left = 296.0
margin_top = 72.0
margin_right = 600.0
margin_bottom = 97.0
custom_fonts/font = ExtResource( 6 )
custom_styles/fg = SubResource( 6 )
value = 20.0
script = ExtResource( 7 )
[node name="Panel" type="Panel" parent="Panel"]
margin_top = 24.0
margin_right = 280.0
margin_bottom = 72.0
custom_styles/panel = SubResource( 7 )
[node name="Local_version" type="Label" parent="Panel/Panel"]
margin_left = 24.0
margin_right = 272.0
margin_bottom = 24.0
custom_fonts/font = ExtResource( 8 )
text = "Local Version:"
__meta__ = {
"_edit_lock_": true
}
[node name="Online_version" type="Label" parent="Panel/Panel"]
margin_left = 16.0
margin_top = 24.0
margin_right = 272.0
margin_bottom = 48.0
custom_fonts/font = ExtResource( 8 )
text = "Online Version:"
__meta__ = {
"_edit_lock_": true
}
[node name="Refresh_button" type="TextureButton" parent="Panel/Panel"]
margin_left = 232.0
margin_top = 8.0
margin_right = 332.0
margin_bottom = 108.0
rect_scale = Vector2( 0.3, 0.3 )
texture_normal = ExtResource( 9 )
texture_pressed = ExtResource( 11 )
[node name="Notices" type="VBoxContainer" parent="."]
margin_top = 80.0
margin_right = 192.0
margin_bottom = 272.0
[node name="Changelog_button" type="Button" parent="."]
margin_left = 976.0
margin_top = 328.0
margin_right = 1192.0
margin_bottom = 377.0
rect_rotation = -89.9999
custom_fonts/font = SubResource( 9 )
custom_styles/normal = ExtResource( 10 )
text = "changelog"
[node name="Changelog_panel" type="Panel" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -40.0
margin_top = -212.0
margin_right = 468.0
margin_bottom = 52.0
custom_styles/panel = SubResource( 12 )
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="Changelog_panel"]
margin_right = 510.0
margin_bottom = 66.0
custom_fonts/font = SubResource( 14 )
text = "Changelog"
align = 1
valign = 1
[node name="ScrollContainer" type="ScrollContainer" parent="Changelog_panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 24.0
margin_top = 64.0
margin_right = -20.0
margin_bottom = -12.0
[node name="RichTextLabel" type="RichTextLabel" parent="Changelog_panel/ScrollContainer"]
margin_right = 384.0
margin_bottom = 180.0
rect_min_size = Vector2( 384, 180 )
focus_mode = 2
custom_fonts/mono_font = ExtResource( 8 )
custom_fonts/bold_italics_font = ExtResource( 8 )
custom_fonts/italics_font = ExtResource( 8 )
custom_fonts/bold_font = ExtResource( 8 )
custom_fonts/normal_font = SubResource( 13 )
fit_content_height = true
selection_enabled = true
script = SubResource( 11 )
[connection signal="timeout" from="Background/Change_timer" to="." method="_on_Change_timer_timeout"]
[connection signal="pressed" from="Panel/Play_button" to="." method="_on_Play_button_pressed"]
[connection signal="pressed" from="Panel/Panel/Refresh_button" to="." method="_on_Refresh_button_pressed"]
[connection signal="pressed" from="Changelog_button" to="." method="_on_Changelog_button_pressed"]