summaryrefslogtreecommitdiff
path: root/Scenes/Terminal
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-09-07 11:22:35 +0200
committerSophia Pearson <codergal89@gmail.com>2022-09-07 11:22:35 +0200
commitccd374cbedd87528c85d497fa7bef9b0c90815e9 (patch)
treed146de06e0d91a30d37b6d8ccb4d6e5b7dceda03 /Scenes/Terminal
parent23a3b14f4d3662f20d7202aeb569b789b520ba57 (diff)
downloadtexty-ccd374cbedd87528c85d497fa7bef9b0c90815e9.tar.xz
texty-ccd374cbedd87528c85d497fa7bef9b0c90815e9.zip
menus: implement main menu and building blocks
Diffstat (limited to 'Scenes/Terminal')
-rw-r--r--Scenes/Terminal/ButtonBlock.tscn20
-rw-r--r--Scenes/Terminal/MenuScreen.tscn28
2 files changed, 48 insertions, 0 deletions
diff --git a/Scenes/Terminal/ButtonBlock.tscn b/Scenes/Terminal/ButtonBlock.tscn
new file mode 100644
index 0000000..d8d535a
--- /dev/null
+++ b/Scenes/Terminal/ButtonBlock.tscn
@@ -0,0 +1,20 @@
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://Scripts/Terminal/ButtonBlock.cs" type="Script" id=1]
+
+[node name="ButtonBlock" type="MarginContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+size_flags_horizontal = 3
+size_flags_vertical = 3
+custom_constants/margin_right = 200
+custom_constants/margin_left = 200
+script = ExtResource( 1 )
+
+[node name="Buttons" type="VBoxContainer" parent="."]
+unique_name_in_owner = true
+margin_left = 200.0
+margin_right = 600.0
+margin_bottom = 600.0
+custom_constants/separation = 0
+alignment = 1
diff --git a/Scenes/Terminal/MenuScreen.tscn b/Scenes/Terminal/MenuScreen.tscn
new file mode 100644
index 0000000..84e8a63
--- /dev/null
+++ b/Scenes/Terminal/MenuScreen.tscn
@@ -0,0 +1,28 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://Scenes/Terminal/Screen.tscn" type="PackedScene" id=1]
+[ext_resource path="res://Scenes/Terminal/StatusArea.tscn" type="PackedScene" id=2]
+[ext_resource path="res://Scripts/Terminal/MenuScreen.cs" type="Script" id=3]
+
+[node name="MenuScreen" instance=ExtResource( 1 )]
+script = ExtResource( 3 )
+
+[node name="TopBar" parent="ScreenContainer" index="0"]
+margin_right = 800.0
+margin_bottom = 27.0
+
+[node name="TitleArea" parent="ScreenContainer/TopBar" index="0" instance=ExtResource( 2 )]
+unique_name_in_owner = true
+margin_left = 8.0
+margin_right = 792.0
+Title = "[center][/center]"
+
+[node name="Content" parent="ScreenContainer" index="1"]
+margin_top = 27.0
+margin_right = 800.0
+margin_bottom = 600.0
+
+[node name="BottomBar" parent="ScreenContainer" index="2"]
+margin_top = 600.0
+margin_right = 800.0
+margin_bottom = 600.0