Button remapping work
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://rfvnddfqufho"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://rfvnddfqufho"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://14b7o2c6cgry" path="res://src/menu/MainMenu.cs" id="1_y6722"]
|
||||
[ext_resource type="Shortcut" uid="uid://dumkrjur22k2a" path="res://src/ui/ButtonShortcut.tres" id="2_7fwjx"]
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -27,7 +28,6 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
theme_override_constants/margin_left = 100
|
||||
theme_override_constants/margin_top = 100
|
||||
theme_override_constants/margin_right = 100
|
||||
@@ -37,41 +37,56 @@ theme_override_constants/margin_bottom = 100
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="StartGameButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
focus_neighbor_bottom = NodePath("../EnemyViewerButton")
|
||||
focus_next = NodePath("../EnemyViewerButton")
|
||||
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
|
||||
shortcut = ExtResource("2_7fwjx")
|
||||
text = "Start Game"
|
||||
|
||||
[node name="EnemyViewerButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
focus_neighbor_bottom = NodePath("../GalleryButton")
|
||||
focus_next = NodePath("../GalleryButton")
|
||||
focus_previous = NodePath("../StartGameButton")
|
||||
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
|
||||
shortcut = ExtResource("2_7fwjx")
|
||||
text = "Enemy Viewer"
|
||||
|
||||
[node name="GalleryButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
focus_neighbor_top = NodePath("../EnemyViewerButton")
|
||||
focus_neighbor_bottom = NodePath("../QuitButton")
|
||||
focus_neighbor_bottom = NodePath("../OptionsButton")
|
||||
focus_next = NodePath("../OptionsButton")
|
||||
focus_previous = NodePath("../EnemyViewerButton")
|
||||
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
|
||||
shortcut = ExtResource("2_7fwjx")
|
||||
text = "Gallery"
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
focus_neighbor_top = NodePath("../EnemyViewerButton")
|
||||
focus_neighbor_top = NodePath("../GalleryButton")
|
||||
focus_neighbor_bottom = NodePath("../QuitButton")
|
||||
focus_next = NodePath("../QuitButton")
|
||||
focus_previous = NodePath("../GalleryButton")
|
||||
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
|
||||
shortcut = ExtResource("2_7fwjx")
|
||||
text = "Options"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
focus_neighbor_top = NodePath("../GalleryButton")
|
||||
focus_neighbor_top = NodePath("../OptionsButton")
|
||||
focus_neighbor_bottom = NodePath(".")
|
||||
focus_next = NodePath(".")
|
||||
focus_previous = NodePath("../OptionsButton")
|
||||
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
|
||||
shortcut = ExtResource("2_7fwjx")
|
||||
text = "Quit
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user