Launcher/Main_menu.tscn
2022-10-28 14:01:11 -05:00

77 lines
2.1 KiB
Plaintext

[gd_scene load_steps=10 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]
[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 )
[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_left = -64.0
margin_top = -64.0
margin_right = 2185.0
margin_bottom = 2017.0
rect_scale = Vector2( 0.512202, 0.399751 )
texture = ExtResource( 1 )
expand = true
stretch_mode = 1
[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 = 32.0
margin_right = 621.0
margin_bottom = 85.0
rect_scale = Vector2( 0.962016, 0.91427 )
custom_fonts/font = SubResource( 5 )
text = "play"
[connection signal="pressed" from="Panel/Play_button" to="." method="_on_Play_button_pressed"]