summaryrefslogtreecommitdiff
path: root/Scenes
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-05-27 18:44:40 +0200
committerSophia Pearson <codergal89@gmail.com>2022-05-27 18:48:53 +0200
commitdb68f34627dd190cc1f198c5f95edd8edf3c8ddd (patch)
tree8021a65495082691601e0fb014485d990aabc080 /Scenes
parent14a74e92b7aee30ec3911c0d2f5291bf70dc33b6 (diff)
downloadtexty-db68f34627dd190cc1f198c5f95edd8edf3c8ddd.tar.xz
texty-db68f34627dd190cc1f198c5f95edd8edf3c8ddd.zip
game: add basic start menu scene
Diffstat (limited to 'Scenes')
-rw-r--r--Scenes/StartMenu.tscn42
-rw-r--r--Scenes/Texty.tscn6
2 files changed, 47 insertions, 1 deletions
diff --git a/Scenes/StartMenu.tscn b/Scenes/StartMenu.tscn
new file mode 100644
index 0000000..7ebef31
--- /dev/null
+++ b/Scenes/StartMenu.tscn
@@ -0,0 +1,42 @@
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://Scripts/StartMenu.cs" type="Script" id=1]
+
+[node name="StartMenu" type="MarginContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 8.0
+margin_top = 8.0
+margin_right = -8.0
+margin_bottom = -8.0
+script = ExtResource( 1 )
+__meta__ = {
+"_edit_group_": true
+}
+
+[node name="MainContainer" type="CenterContainer" parent="."]
+margin_right = 1008.0
+margin_bottom = 584.0
+
+[node name="Buttons" type="VBoxContainer" parent="MainContainer"]
+margin_left = 421.0
+margin_top = 222.0
+margin_right = 587.0
+margin_bottom = 361.0
+
+[node name="StartButton" type="Button" parent="MainContainer/Buttons"]
+margin_right = 166.0
+margin_bottom = 41.0
+text = "Start Adventure"
+
+[node name="CreditsButton" type="Button" parent="MainContainer/Buttons"]
+margin_top = 49.0
+margin_right = 166.0
+margin_bottom = 90.0
+text = "Credits"
+
+[node name="QuitButton" type="Button" parent="MainContainer/Buttons"]
+margin_top = 98.0
+margin_right = 166.0
+margin_bottom = 139.0
+text = "Quit"
diff --git a/Scenes/Texty.tscn b/Scenes/Texty.tscn
index 4198184..9b8c9b8 100644
--- a/Scenes/Texty.tscn
+++ b/Scenes/Texty.tscn
@@ -1,7 +1,11 @@
-[gd_scene load_steps=2 format=2]
+[gd_scene load_steps=3 format=2]
[ext_resource path="res://Scenes/Game.tscn" type="PackedScene" id=1]
+[ext_resource path="res://Scenes/StartMenu.tscn" type="PackedScene" id=2]
[node name="Texty" type="Node"]
[node name="Game" parent="." instance=ExtResource( 1 )]
+visible = false
+
+[node name="StartMenu" parent="." instance=ExtResource( 2 )]