diff options
Diffstat (limited to 'Scenes/Game')
| -rw-r--r-- | Scenes/Game/CommandInputArea.tscn | 14 | ||||
| -rw-r--r-- | Scenes/Game/Game.tscn | 63 |
2 files changed, 45 insertions, 32 deletions
diff --git a/Scenes/Game/CommandInputArea.tscn b/Scenes/Game/CommandInputArea.tscn index b377443..0701232 100644 --- a/Scenes/Game/CommandInputArea.tscn +++ b/Scenes/Game/CommandInputArea.tscn @@ -1,12 +1,12 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3 uid="uid://pcvqnlnw512w"] -[ext_resource path="res://Scenes/Terminal/InputArea.tscn" type="PackedScene" id=1] -[ext_resource path="res://Scripts/Game/CommandParser.cs" type="Script" id=2] -[ext_resource path="res://Scripts/Game/CommandInputArea.cs" type="Script" id=3] +[ext_resource type="PackedScene" uid="uid://b886lame7u8c8" path="res://Scenes/Terminal/InputArea.tscn" id="1"] +[ext_resource type="Script" path="res://Scripts/Game/CommandParser.cs" id="2"] +[ext_resource type="Script" path="res://Scripts/Game/CommandInputArea.cs" id="3"] -[node name="CommandInputArea" instance=ExtResource( 1 )] -script = ExtResource( 3 ) +[node name="CommandInputArea" instance=ExtResource("1")] +script = ExtResource("3") [node name="CommandParser" type="Node" parent="." index="2"] unique_name_in_owner = true -script = ExtResource( 2 ) +script = ExtResource("2") diff --git a/Scenes/Game/Game.tscn b/Scenes/Game/Game.tscn index 4d62d3a..8fb8e2b 100644 --- a/Scenes/Game/Game.tscn +++ b/Scenes/Game/Game.tscn @@ -1,50 +1,63 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=6 format=3 uid="uid://4updkf321om"] -[ext_resource path="res://Scenes/Terminal/Screen.tscn" type="PackedScene" id=1] -[ext_resource path="res://Scenes/Terminal/OutputArea.tscn" type="PackedScene" id=2] -[ext_resource path="res://Scenes/Game/CommandInputArea.tscn" type="PackedScene" id=3] -[ext_resource path="res://Scripts/Game/Game.cs" type="Script" id=4] -[ext_resource path="res://Scenes/Terminal/StatusArea.tscn" type="PackedScene" id=5] -[ext_resource path="res://Scenes/Terminal/OutputBlock.tscn" type="PackedScene" id=6] +[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="Script" path="res://Scripts/Game/Game.cs" id="4"] +[ext_resource type="PackedScene" uid="uid://bdpejpul8aruh" path="res://Scenes/Terminal/StatusArea.tscn" id="5"] [node name="Game" type="Node"] -script = ExtResource( 4 ) +script = ExtResource("4") -[node name="Screen" parent="." instance=ExtResource( 1 )] +[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"] -offset_right = 800.0 -offset_bottom = 27.0 +layout_mode = 3 +offset_bottom = 25.0 -[node name="StatusArea" parent="Screen/ScreenContainer/TopBar" index="0" instance=ExtResource( 5 )] +[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 = 792.0 +offset_right = 1144.0 +offset_bottom = 25.0 +grow_horizontal = 1 Title = "Adventure Title" [node name="Content" parent="Screen/ScreenContainer" index="1"] -offset_top = 27.0 -offset_right = 800.0 -offset_bottom = 575.0 +layout_mode = 3 +offset_top = 25.0 +offset_bottom = 620.0 -[node name="OutputArea" parent="Screen/ScreenContainer/Content" index="0" instance=ExtResource( 2 )] +[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 = 792.0 -offset_bottom = 548.0 -OutputBlockScene = ExtResource( 6 ) +offset_right = 1144.0 +offset_bottom = 595.0 +grow_horizontal = 2 +grow_vertical = 2 [node name="BottomBar" parent="Screen/ScreenContainer" index="2"] -offset_top = 575.0 -offset_right = 800.0 -offset_bottom = 600.0 +layout_mode = 3 +offset_top = 620.0 -[node name="InputArea" parent="Screen/ScreenContainer/BottomBar" index="0" instance=ExtResource( 3 )] +[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 = 792.0 +offset_right = 1144.0 +offset_bottom = 28.0 +grow_horizontal = 1 [connection signal="CommandSubmitted" from="Screen/ScreenContainer/BottomBar/InputArea" to="." method="OnCommandSubmitted"] [connection signal="UnknownInputSubmitted" from="Screen/ScreenContainer/BottomBar/InputArea" to="." method="OnUnknownInputSubmitted"] |
