diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-10-04 22:02:27 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-10-04 22:18:24 +0200 |
| commit | 0e93e05427b045088a8f5257cee3c1a3a54e7888 (patch) | |
| tree | 609b7aef21a5e3a0e6ba4c2e21c2f52d3fa73702 /Scenes/Game/Game.tscn | |
| parent | 5aef5f2804e6c32d93174719bc66eec98ae62a46 (diff) | |
| download | texty-0e93e05427b045088a8f5257cee3c1a3a54e7888.tar.xz texty-0e93e05427b045088a8f5257cee3c1a3a54e7888.zip | |
scenes: finish Godot 4 upgrades
Diffstat (limited to 'Scenes/Game/Game.tscn')
| -rw-r--r-- | Scenes/Game/Game.tscn | 63 |
1 files changed, 38 insertions, 25 deletions
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"] |
