diff options
author | Hop311 <Hop3114@gmail.com> | 2023-03-22 17:56:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 17:56:24 +0100 |
commit | eb87e2af53bd693e04739aaee84fde408e72f3a9 (patch) | |
tree | df2d5211157f9222c3c7fc21888bea08411c8c9b /game/src/GameSession/GameSessionMenu.tscn | |
parent | 540dddf46e80a91c77e465cbf6fdb81dd9977057 (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/GameSessionMenu.tscn')
-rw-r--r-- | game/src/GameSession/GameSessionMenu.tscn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/game/src/GameSession/GameSessionMenu.tscn b/game/src/GameSession/GameSessionMenu.tscn new file mode 100644 index 0000000..d6a7ca9 --- /dev/null +++ b/game/src/GameSession/GameSessionMenu.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=3 format=3 uid="uid://dvdynl6eir40o"] + +[ext_resource type="Script" path="res://src/GameSession/GameSessionMenu.gd" id="1_usq6o"] +[ext_resource type="PackedScene" uid="uid://o4u142w4qkln" path="res://src/GameMenu.tscn" id="2_xi6a4"] + +[node name="GameSessionMenu" type="PanelContainer"] +editor_description = "UI-68" +script = ExtResource("1_usq6o") +_main_menu_scene = ExtResource("2_xi6a4") + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +layout_mode = 2 + +[node name="MainMenuButton" type="Button" parent="VBoxContainer"] +editor_description = "UI-71" +layout_mode = 2 +text = "Resign" + +[node name="HSeparator" type="HSeparator" parent="VBoxContainer"] +layout_mode = 2 + +[node name="CloseButton" type="Button" parent="VBoxContainer"] +editor_description = "UI-80" +layout_mode = 2 +text = "Close" + +[connection signal="pressed" from="VBoxContainer/MainMenuButton" to="." method="_on_to_main_menu_pressed"] +[connection signal="pressed" from="VBoxContainer/CloseButton" to="." method="_on_close_button_pressed"] |