From f5e03044eced869a8d2a2201a9ff596caf7bc7ff Mon Sep 17 00:00:00 2001 From: Ententerminator Date: Sat, 1 Feb 2020 23:11:05 +0100 Subject: [PATCH] added non working main menu --- UI/MainMenu.tscn | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 UI/MainMenu.tscn diff --git a/UI/MainMenu.tscn b/UI/MainMenu.tscn new file mode 100644 index 0000000..9f7e149 --- /dev/null +++ b/UI/MainMenu.tscn @@ -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 +}