diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-12-24 11:20:18 +0100 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-12-24 11:20:18 +0100 |
| commit | 8127b227a172a96d11beaf3cf8d9cc67fa830d03 (patch) | |
| tree | 6c67570ac5c114389bbc29f370d457631cdce929 /Scenes/Game | |
| parent | d7eefa488135c477f39ea0953b032c7dcdad8bc7 (diff) | |
| download | texty-8127b227a172a96d11beaf3cf8d9cc67fa830d03.tar.xz texty-8127b227a172a96d11beaf3cf8d9cc67fa830d03.zip | |
scenes: clean up layout configuration
Diffstat (limited to 'Scenes/Game')
| -rw-r--r-- | Scenes/Game/Game.tscn | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/Scenes/Game/Game.tscn b/Scenes/Game/Game.tscn index 8fb8e2b..c99f9b0 100644 --- a/Scenes/Game/Game.tscn +++ b/Scenes/Game/Game.tscn @@ -2,7 +2,7 @@ [ext_resource type="PackedScene" uid="uid://bp8kjovrt7gxk" path="res://Scenes/Terminal/Screen.tscn" id="1"] [ext_resource type="PackedScene" uid="uid://b1pnf82wkug43" path="res://Scenes/Terminal/OutputArea.tscn" id="2"] -[ext_resource type="PackedScene" path="res://Scenes/Game/CommandInputArea.tscn" id="3"] +[ext_resource type="PackedScene" uid="uid://pcvqnlnw512w" path="res://Scenes/Game/CommandInputArea.tscn" id="3"] [ext_resource type="Script" path="res://Scripts/Game/Game.cs" id="4"] [ext_resource type="PackedScene" uid="uid://bdpejpul8aruh" path="res://Scenes/Terminal/StatusArea.tscn" id="5"] @@ -12,52 +12,21 @@ script = ExtResource("4") [node name="Screen" parent="." instance=ExtResource("1")] [node name="ScreenContainer" parent="Screen" index="0"] -layout_mode = 3 grow_horizontal = 2 grow_vertical = 2 -[node name="TopBar" parent="Screen/ScreenContainer" index="0"] -layout_mode = 3 -offset_bottom = 25.0 - [node name="StatusArea" parent="Screen/ScreenContainer/TopBar" index="0" instance=ExtResource("5")] unique_name_in_owner = true -anchors_preset = 0 -anchor_right = 0.0 -offset_left = 8.0 -offset_right = 1144.0 -offset_bottom = 25.0 -grow_horizontal = 1 +layout_mode = 2 Title = "Adventure Title" -[node name="Content" parent="Screen/ScreenContainer" index="1"] -layout_mode = 3 -offset_top = 25.0 -offset_bottom = 620.0 - [node name="OutputArea" parent="Screen/ScreenContainer/Content" index="0" instance=ExtResource("2")] unique_name_in_owner = true -anchors_preset = 0 -anchor_right = 0.0 -anchor_bottom = 0.0 -offset_left = 8.0 -offset_right = 1144.0 -offset_bottom = 595.0 -grow_horizontal = 2 -grow_vertical = 2 - -[node name="BottomBar" parent="Screen/ScreenContainer" index="2"] -layout_mode = 3 -offset_top = 620.0 +layout_mode = 2 [node name="InputArea" parent="Screen/ScreenContainer/BottomBar" index="0" instance=ExtResource("3")] unique_name_in_owner = true -anchors_preset = 0 -anchor_right = 0.0 -offset_left = 8.0 -offset_right = 1144.0 -offset_bottom = 28.0 -grow_horizontal = 1 +layout_mode = 2 [connection signal="CommandSubmitted" from="Screen/ScreenContainer/BottomBar/InputArea" to="." method="OnCommandSubmitted"] [connection signal="UnknownInputSubmitted" from="Screen/ScreenContainer/BottomBar/InputArea" to="." method="OnUnknownInputSubmitted"] |
