From eb87e2af53bd693e04739aaee84fde408e72f3a9 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Wed, 22 Mar 2023 16:56:24 +0000 Subject: 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 --- game/src/GameSession/MapControlPanel.tscn | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 game/src/GameSession/MapControlPanel.tscn (limited to 'game/src/GameSession/MapControlPanel.tscn') 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"] -- cgit v1.2.3-56-ga3b1