From 7936686809abf7296ac7f7bb343b571d9acbe531 Mon Sep 17 00:00:00 2001 From: mightypanders Date: Fri, 11 Jun 2021 21:22:59 +0200 Subject: [PATCH] add mainmenu template --- MainMenu.tscn | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 MainMenu.tscn diff --git a/MainMenu.tscn b/MainMenu.tscn new file mode 100644 index 0000000..d88e8ce --- /dev/null +++ b/MainMenu.tscn @@ -0,0 +1,43 @@ +[gd_scene format=2] + +[node name="Control" type="MarginContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +margin_right = 1280.0 +margin_bottom = 720.0 + +[node name="MenuContainer" type="CenterContainer" parent="HBoxContainer"] +margin_bottom = 720.0 + +[node name="MenuContainerStack" type="VBoxContainer" parent="HBoxContainer/MenuContainer"] +margin_top = 326.0 +margin_bottom = 394.0 + +[node name="Title" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack"] +margin_bottom = 14.0 + +[node name="LabelContainer" type="VBoxContainer" parent="HBoxContainer/MenuContainer/MenuContainerStack"] +margin_top = 18.0 +margin_bottom = 68.0 + +[node name="Start" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"] +margin_bottom = 14.0 + +[node name="Options" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"] +margin_top = 18.0 +margin_bottom = 32.0 + +[node name="Exit" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"] +margin_top = 36.0 +margin_bottom = 50.0 + +[node name="LogoContainer" type="CenterContainer" parent="HBoxContainer"] +margin_left = 4.0 +margin_right = 4.0 +margin_bottom = 720.0 + +[node name="Logo" type="TextureRect" parent="HBoxContainer/LogoContainer"] +margin_top = 360.0 +margin_bottom = 360.0