Launcher/Main_menu.tscn

159 lines
4.5 KiB
Plaintext

[gd_scene load_steps=17 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/kenny-game-icons/PNG/Black/2x/return.png" type="Texture" id=9]
[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="StreamTexture" id=8]
flags = 4
load_path = "res://.import/return.png-37ee6a37bc4abf83a64fce1b810ae01f.stex"
[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 = 45.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 = SubResource( 8 )
texture_pressed = ExtResource( 9 )
[node name="Notices" type="VBoxContainer" parent="."]
margin_top = 80.0
margin_right = 192.0
margin_bottom = 272.0
[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"]