Launcher/Main_menu.tscn

75 lines
2.0 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=2]
2022-10-10 18:11:59 -05:00
2022-10-28 14:01:11 -05:00
[ext_resource path="res://textures/backgrounds/background1.png" type="Texture" id=1]
2022-10-10 18:11:59 -05:00
[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 )
2022-10-10 20:59:43 -05:00
[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]
2022-10-10 18:11:59 -05:00
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="."]
2022-10-28 14:01:56 -05:00
margin_right = 1999.0
margin_bottom = 1501.0
2022-10-28 14:01:11 -05:00
rect_scale = Vector2( 0.512202, 0.399751 )
2022-10-10 18:11:59 -05:00
texture = ExtResource( 1 )
2022-10-28 14:01:11 -05:00
expand = true
stretch_mode = 1
2022-10-10 18:11:59 -05:00
[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
2022-10-10 20:59:43 -05:00
margin_left = 64.0
margin_top = -136.0
2022-10-10 20:59:43 -05:00
margin_right = -64.0
margin_bottom = -24.0
theme = ExtResource( 5 )
custom_styles/panel = SubResource( 4 )
2022-10-10 18:11:59 -05:00
[node name="Play_button" type="Button" parent="Panel"]
2022-10-10 20:59:43 -05:00
margin_left = 288.0
margin_top = 32.0
margin_right = 621.0
margin_bottom = 85.0
2022-10-10 18:11:59 -05:00
rect_scale = Vector2( 0.962016, 0.91427 )
2022-10-10 20:59:43 -05:00
custom_fonts/font = SubResource( 5 )
2022-10-10 18:11:59 -05:00
text = "play"
2022-10-10 20:59:43 -05:00
[connection signal="pressed" from="Panel/Play_button" to="." method="_on_Play_button_pressed"]