summaryrefslogtreecommitdiff
path: root/Scenes/Texty.tscn
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-09-04 12:43:37 +0200
committerSophia Pearson <codergal89@gmail.com>2022-09-04 12:43:37 +0200
commit6503e483766d3a4e1907ecd9b69e7db4e86e7cb6 (patch)
treecde6ecde91175b99ba610dff0ae16cdb720b0280 /Scenes/Texty.tscn
parent461fec003cdf3144b2e0d97392edd090f457a555 (diff)
downloadtexty-6503e483766d3a4e1907ecd9b69e7db4e86e7cb6.tar.xz
texty-6503e483766d3a4e1907ecd9b69e7db4e86e7cb6.zip
gui: set up new default theme
Diffstat (limited to 'Scenes/Texty.tscn')
-rw-r--r--Scenes/Texty.tscn79
1 files changed, 4 insertions, 75 deletions
diff --git a/Scenes/Texty.tscn b/Scenes/Texty.tscn
index b40b2da..a7bdbf9 100644
--- a/Scenes/Texty.tscn
+++ b/Scenes/Texty.tscn
@@ -1,6 +1,7 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://Assets/Shaders/crt_shader.tres" type="Material" id=1]
+[ext_resource path="res://Scenes/Game.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scripts/Texty.cs" type="Script" id=3]
[node name="Texty" type="Node"]
@@ -8,80 +9,7 @@ script = ExtResource( 3 )
[node name="Terminal" type="CanvasLayer" parent="."]
-[node name="Game" type="VBoxContainer" parent="Terminal"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-
-[node name="StatusLine" type="PanelContainer" parent="Terminal/Game"]
-margin_right = 640.0
-margin_bottom = 53.0
-
-[node name="Container" type="HBoxContainer" parent="Terminal/Game/StatusLine"]
-margin_left = 14.0
-margin_top = 14.0
-margin_right = 626.0
-margin_bottom = 39.0
-size_flags_horizontal = 3
-
-[node name="Title" type="Label" parent="Terminal/Game/StatusLine/Container"]
-margin_right = 612.0
-margin_bottom = 25.0
-size_flags_horizontal = 3
-size_flags_vertical = 6
-text = "Adventure Title"
-max_lines_visible = 1
-
-[node name="Output" type="PanelContainer" parent="Terminal/Game"]
-margin_top = 61.0
-margin_right = 640.0
-margin_bottom = 399.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-
-[node name="Container" type="ScrollContainer" parent="Terminal/Game/Output"]
-margin_left = 14.0
-margin_top = 14.0
-margin_right = 626.0
-margin_bottom = 324.0
-mouse_filter = 1
-size_flags_horizontal = 3
-size_flags_vertical = 3
-scroll_horizontal_enabled = false
-
-[node name="Lines" type="VBoxContainer" parent="Terminal/Game/Output/Container"]
-margin_right = 612.0
-margin_bottom = 27.0
-size_flags_horizontal = 3
-
-[node name="RichTextLabel" type="RichTextLabel" parent="Terminal/Game/Output/Container/Lines"]
-margin_right = 612.0
-margin_bottom = 27.0
-text = "This is where the output goes"
-fit_content_height = true
-
-[node name="Input" type="PanelContainer" parent="Terminal/Game"]
-margin_top = 407.0
-margin_right = 640.0
-margin_bottom = 480.0
-
-[node name="Container" type="HBoxContainer" parent="Terminal/Game/Input"]
-margin_left = 14.0
-margin_top = 14.0
-margin_right = 626.0
-margin_bottom = 59.0
-
-[node name="Prompt" type="Label" parent="Terminal/Game/Input/Container"]
-margin_top = 10.0
-margin_right = 20.0
-margin_bottom = 35.0
-text = "?>"
-
-[node name="Text" type="LineEdit" parent="Terminal/Game/Input/Container"]
-margin_left = 28.0
-margin_right = 612.0
-margin_bottom = 45.0
-size_flags_horizontal = 3
-placeholder_text = "Command Input"
+[node name="Game" parent="Terminal" instance=ExtResource( 2 )]
[node name="Screen" type="CanvasLayer" parent="."]
@@ -89,5 +17,6 @@ placeholder_text = "Command Input"
material = ExtResource( 1 )
anchor_right = 1.0
anchor_bottom = 1.0
+mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3