forked from team-sg/hero-mark-2
add new options screen to main menu and pause screen
This commit is contained in:
parent
9333d5a61f
commit
24f763d3f6
10 changed files with 94 additions and 7 deletions
|
@ -501,6 +501,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 8 )
|
||||
action = "move_left"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Gamepad" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input/Left"]
|
||||
margin_left = 159.0
|
||||
|
@ -510,6 +511,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 9 )
|
||||
action = "move_left"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Right" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input"]
|
||||
margin_top = 30.0
|
||||
|
@ -531,6 +533,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 8 )
|
||||
action = "move_right"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Gamepad" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input/Right"]
|
||||
margin_left = 159.0
|
||||
|
@ -540,6 +543,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 9 )
|
||||
action = "move_right"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Up" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input"]
|
||||
margin_top = 44.0
|
||||
|
@ -561,6 +565,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 8 )
|
||||
action = "move_up"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Gamepad" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input/Up"]
|
||||
margin_left = 159.0
|
||||
|
@ -570,6 +575,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 9 )
|
||||
action = "move_up"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Down" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input"]
|
||||
margin_top = 58.0
|
||||
|
@ -591,6 +597,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 8 )
|
||||
action = "move_down"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Gamepad" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input/Down"]
|
||||
margin_left = 159.0
|
||||
|
@ -600,6 +607,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 9 )
|
||||
action = "move_down"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Jump" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input"]
|
||||
margin_top = 72.0
|
||||
|
@ -621,6 +629,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 8 )
|
||||
action = "jump"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Gamepad" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input/Jump"]
|
||||
margin_left = 159.0
|
||||
|
@ -630,6 +639,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 9 )
|
||||
action = "jump"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Attack" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input"]
|
||||
margin_top = 86.0
|
||||
|
@ -651,6 +661,7 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 8 )
|
||||
action = "shoot"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="Gamepad" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input/Attack"]
|
||||
margin_left = 159.0
|
||||
|
@ -660,12 +671,13 @@ size_flags_horizontal = 3
|
|||
text = "-"
|
||||
script = ExtResource( 9 )
|
||||
action = "shoot"
|
||||
options_screen = NodePath("../../../../../../../..")
|
||||
|
||||
[node name="DefaultControls" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"]
|
||||
[node name="DefaultControls" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Input"]
|
||||
margin_left = 81.0
|
||||
margin_top = 68.0
|
||||
margin_top = 32.0
|
||||
margin_right = 137.0
|
||||
margin_bottom = 78.0
|
||||
margin_bottom = 42.0
|
||||
size_flags_horizontal = 4
|
||||
text = "defaults"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue