summaryrefslogtreecommitdiff
path: root/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes')
-rw-r--r--Scenes/Game.tscn42
-rw-r--r--Scenes/InputContainer.tscn38
-rw-r--r--Scenes/OutputContainer.tscn27
-rw-r--r--Scenes/OutputRow.tscn28
-rw-r--r--Scenes/StartMenu.tscn47
-rw-r--r--Scenes/Texty.tscn14
6 files changed, 4 insertions, 192 deletions
diff --git a/Scenes/Game.tscn b/Scenes/Game.tscn
deleted file mode 100644
index 5988f7d..0000000
--- a/Scenes/Game.tscn
+++ /dev/null
@@ -1,42 +0,0 @@
-[gd_scene load_steps=6 format=2]
-
-[ext_resource path="res://Scenes/InputContainer.tscn" type="PackedScene" id=1]
-[ext_resource path="res://Scripts/Game.cs" type="Script" id=2]
-[ext_resource path="res://Scenes/OutputContainer.tscn" type="PackedScene" id=3]
-[ext_resource path="res://Scenes/OutputRow.tscn" type="PackedScene" id=4]
-[ext_resource path="res://Scripts/CommandParser.cs" type="Script" id=5]
-
-[node name="Game" 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( 2 )
-__meta__ = {
-"_edit_group_": true
-}
-OutputRowScene = ExtResource( 4 )
-
-[node name="CommandParser" type="Node" parent="."]
-script = ExtResource( 5 )
-
-[node name="LayoutContainer" type="VBoxContainer" parent="."]
-margin_right = 1008.0
-margin_bottom = 584.0
-custom_constants/separation = 8
-
-[node name="OutputContainer" parent="LayoutContainer" instance=ExtResource( 3 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_right = 1008.0
-margin_bottom = 535.0
-
-[node name="InputContainer" parent="LayoutContainer" instance=ExtResource( 1 )]
-anchor_right = 0.0
-margin_top = 543.0
-margin_right = 1008.0
-margin_bottom = 584.0
-
-[connection signal="InputSubmitted" from="LayoutContainer/InputContainer" to="." method="OnInputSubmitted"]
diff --git a/Scenes/InputContainer.tscn b/Scenes/InputContainer.tscn
deleted file mode 100644
index ad9a88e..0000000
--- a/Scenes/InputContainer.tscn
+++ /dev/null
@@ -1,38 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://Scripts/InputContainer.cs" type="Script" id=5]
-
-[sub_resource type="InputEventAction" id=3]
-action = "ui_accept"
-
-[sub_resource type="ShortCut" id=4]
-shortcut = SubResource( 3 )
-
-[node name="InputContainer" type="HBoxContainer"]
-anchor_right = 1.0
-custom_constants/separation = 8
-script = ExtResource( 5 )
-__meta__ = {
-"_edit_group_": true
-}
-
-[node name="InputField" type="LineEdit" parent="."]
-margin_right = 940.0
-margin_bottom = 41.0
-size_flags_horizontal = 3
-context_menu_enabled = false
-clear_button_enabled = true
-placeholder_text = "Enter a command"
-caret_blink = true
-
-[node name="SubmitButton" type="Button" parent="."]
-margin_left = 948.0
-margin_right = 1024.0
-margin_bottom = 41.0
-shortcut = SubResource( 4 )
-text = "Submit"
-
-[connection signal="visibility_changed" from="." to="." method="OnVisibilityChanged"]
-[connection signal="text_changed" from="InputField" to="." method="OnInputChanged"]
-[connection signal="text_entered" from="InputField" to="." method="OnInputSubmitted"]
-[connection signal="pressed" from="SubmitButton" to="." method="OnInputSubmitted"]
diff --git a/Scenes/OutputContainer.tscn b/Scenes/OutputContainer.tscn
deleted file mode 100644
index bc196b9..0000000
--- a/Scenes/OutputContainer.tscn
+++ /dev/null
@@ -1,27 +0,0 @@
-[gd_scene load_steps=2 format=2]
-
-[ext_resource path="res://Scripts/OutputContainer.cs" type="Script" id=3]
-
-[node name="OutputContainer" type="PanelContainer"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-script = ExtResource( 3 )
-__meta__ = {
-"_edit_group_": true
-}
-
-[node name="ScrollContainer" type="ScrollContainer" parent="."]
-margin_left = 7.0
-margin_top = 7.0
-margin_right = 1017.0
-margin_bottom = 593.0
-follow_focus = true
-scroll_horizontal_enabled = false
-
-[node name="OutputRows" type="VBoxContainer" parent="ScrollContainer"]
-margin_right = 1010.0
-margin_bottom = 586.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
diff --git a/Scenes/OutputRow.tscn b/Scenes/OutputRow.tscn
deleted file mode 100644
index a9b0343..0000000
--- a/Scenes/OutputRow.tscn
+++ /dev/null
@@ -1,28 +0,0 @@
-[gd_scene load_steps=2 format=2]
-
-[ext_resource path="res://Scripts/OutputRow.cs" type="Script" id=2]
-
-[node name="OutputRow" type="VBoxContainer" groups=["output_rows"]]
-margin_right = 992.0
-margin_bottom = 32.0
-size_flags_horizontal = 3
-script = ExtResource( 2 )
-__meta__ = {
-"_edit_group_": true
-}
-
-[node name="Input" type="Label" parent="."]
-margin_right = 992.0
-margin_bottom = 25.0
-size_flags_horizontal = 3
-text = "This is where the input goes"
-autowrap = true
-
-[node name="Output" type="Label" parent="."]
-margin_top = 29.0
-margin_right = 992.0
-margin_bottom = 54.0
-size_flags_horizontal = 3
-custom_colors/font_color = Color( 0, 0.333333, 1, 1 )
-text = "This is where the output goes"
-autowrap = true
diff --git a/Scenes/StartMenu.tscn b/Scenes/StartMenu.tscn
deleted file mode 100644
index cf5d9d2..0000000
--- a/Scenes/StartMenu.tscn
+++ /dev/null
@@ -1,47 +0,0 @@
-[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 = 411.0
-margin_top = 222.0
-margin_right = 597.0
-margin_bottom = 361.0
-
-[node name="StartButton" type="Button" parent="MainContainer/Buttons"]
-margin_right = 186.0
-margin_bottom = 41.0
-text = "BUTTON_START_GAME"
-
-[node name="CreditsButton" type="Button" parent="MainContainer/Buttons"]
-margin_top = 49.0
-margin_right = 186.0
-margin_bottom = 90.0
-text = "BUTTON_CREDITS"
-
-[node name="QuitButton" type="Button" parent="MainContainer/Buttons"]
-margin_top = 98.0
-margin_right = 186.0
-margin_bottom = 139.0
-text = "BUTTON_QUIT_GAME"
-
-[connection signal="visibility_changed" from="." to="." method="OnVisibilityChanged"]
-[connection signal="pressed" from="MainContainer/Buttons/StartButton" to="." method="OnStartButtonPressed"]
-[connection signal="pressed" from="MainContainer/Buttons/CreditsButton" to="." method="OnCreditsButtonPressed"]
-[connection signal="pressed" from="MainContainer/Buttons/QuitButton" to="." method="OnQuitButtonPressed"]
diff --git a/Scenes/Texty.tscn b/Scenes/Texty.tscn
index d3799a5..1fb7b91 100644
--- a/Scenes/Texty.tscn
+++ b/Scenes/Texty.tscn
@@ -1,16 +1,10 @@
-[gd_scene load_steps=4 format=2]
+[gd_scene load_steps=2 format=2]
-[ext_resource path="res://Scenes/Game.tscn" type="PackedScene" id=1]
-[ext_resource path="res://Scenes/StartMenu.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scripts/Texty.cs" type="Script" id=3]
[node name="Texty" type="Node"]
script = ExtResource( 3 )
-[node name="Game" parent="." instance=ExtResource( 1 )]
-visible = false
-
-[node name="StartMenu" parent="." instance=ExtResource( 2 )]
-
-[connection signal="QuitGame" from="StartMenu" to="." method="OnQuitGame"]
-[connection signal="StartGame" from="StartMenu" to="." method="OnStartGame"]
+[node name="VBoxContainer" type="VBoxContainer" parent="."]
+anchor_right = 1.0
+anchor_bottom = 1.0