added non working main menu
This commit is contained in:
parent
2c91dcae29
commit
f5e03044ec
83
UI/MainMenu.tscn
Normal file
83
UI/MainMenu.tscn
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Resources/Fonts/MenuHeader.tres" type="DynamicFont" id=2]
|
||||||
|
[ext_resource path="res://Resources/Fonts/MenuTextFont.tres" type="DynamicFont" id=3]
|
||||||
|
[ext_resource path="res://Resources/Styles/ButtonHoverStyle.tres" type="StyleBox" id=4]
|
||||||
|
[ext_resource path="res://Resources/Styles/ButtonPressedStyle.tres" type="StyleBox" id=5]
|
||||||
|
[ext_resource path="res://Resources/Styles/ButtonNormalStyle.tres" type="StyleBox" id=6]
|
||||||
|
|
||||||
|
[node name="MainMenu" type="Control"]
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
margin_left = -512.0
|
||||||
|
margin_top = -300.0
|
||||||
|
margin_right = 512.0
|
||||||
|
margin_bottom = 300.0
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||||
|
margin_right = 1024.0
|
||||||
|
margin_bottom = 600.0
|
||||||
|
|
||||||
|
[node name="GameName" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||||
|
margin_right = 1024.0
|
||||||
|
margin_bottom = 250.0
|
||||||
|
rect_min_size = Vector2( 0, 250 )
|
||||||
|
custom_fonts/font = ExtResource( 2 )
|
||||||
|
text = "Excrements!"
|
||||||
|
align = 1
|
||||||
|
valign = 2
|
||||||
|
|
||||||
|
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer"]
|
||||||
|
margin_top = 254.0
|
||||||
|
margin_right = 1024.0
|
||||||
|
margin_bottom = 600.0
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/CenterContainer"]
|
||||||
|
margin_left = 412.0
|
||||||
|
margin_top = 104.0
|
||||||
|
margin_right = 612.0
|
||||||
|
margin_bottom = 242.0
|
||||||
|
|
||||||
|
[node name="Start" type="Button" parent="MarginContainer/VBoxContainer/CenterContainer/VBoxContainer"]
|
||||||
|
margin_right = 200.0
|
||||||
|
margin_bottom = 67.0
|
||||||
|
rect_min_size = Vector2( 200, 25 )
|
||||||
|
custom_styles/hover = ExtResource( 4 )
|
||||||
|
custom_styles/pressed = ExtResource( 5 )
|
||||||
|
custom_styles/normal = ExtResource( 6 )
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
|
text = "Enjoy"
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Exit" type="Button" parent="MarginContainer/VBoxContainer/CenterContainer/VBoxContainer"]
|
||||||
|
margin_top = 71.0
|
||||||
|
margin_right = 200.0
|
||||||
|
margin_bottom = 138.0
|
||||||
|
rect_min_size = Vector2( 200, 25 )
|
||||||
|
custom_styles/hover = ExtResource( 4 )
|
||||||
|
custom_styles/pressed = ExtResource( 5 )
|
||||||
|
custom_styles/normal = ExtResource( 6 )
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
|
text = "Disenjoy"
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user