aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/MapControlPanel.tscn
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-03-22 17:56:24 +0100
committer GitHub <noreply@github.com>2023-03-22 17:56:24 +0100
commiteb87e2af53bd693e04739aaee84fde408e72f3a9 (patch)
treedf2d5211157f9222c3c7fc21888bea08411c8c9b /game/src/GameSession/MapControlPanel.tscn
parent540dddf46e80a91c77e465cbf6fdb81dd9977057 (diff)
Basic Game Session skeleton (#67)
* Fixed grab_focus error on not is_inside_tree * Moved SampleGame to GameSession/GameSession * Basic GameSession and GameSessionMenu/Escape Menu * Map Control Panel skeleton * Added requirement comments * Removed unnecessary CenterContainer
Diffstat (limited to 'game/src/GameSession/MapControlPanel.tscn')
-rw-r--r--game/src/GameSession/MapControlPanel.tscn32
1 files changed, 32 insertions, 0 deletions
diff --git a/game/src/GameSession/MapControlPanel.tscn b/game/src/GameSession/MapControlPanel.tscn
new file mode 100644
index 0000000..71d43e7
--- /dev/null
+++ b/game/src/GameSession/MapControlPanel.tscn
@@ -0,0 +1,32 @@
+[gd_scene load_steps=2 format=3 uid="uid://g524p8lr574w"]
+
+[ext_resource type="Script" path="res://src/GameSession/MapControlPanel.gd" id="1_ign64"]
+
+[node name="PanelContainer" type="PanelContainer"]
+editor_description = "SS-103"
+script = ExtResource("1_ign64")
+
+[node name="HBoxContainer" type="HBoxContainer" parent="."]
+layout_mode = 2
+
+[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
+layout_mode = 2
+
+[node name="MapmodesPlaceholder" type="Label" parent="HBoxContainer/VBoxContainer"]
+layout_mode = 2
+text = "MAPMODES"
+
+[node name="MinimapPlaceholder" type="Label" parent="HBoxContainer/VBoxContainer"]
+layout_mode = 2
+text = "MINIMAP"
+
+[node name="AuxiliaryPanel" type="VBoxContainer" parent="HBoxContainer"]
+editor_description = "UI-761"
+layout_mode = 2
+
+[node name="GameSessionMenuButton" type="Button" parent="HBoxContainer/AuxiliaryPanel"]
+editor_description = "UI-9"
+layout_mode = 2
+text = "ESC"
+
+[connection signal="pressed" from="HBoxContainer/AuxiliaryPanel/GameSessionMenuButton" to="." method="_on_game_session_menu_button_pressed"]