InputRemapMenu.tscn 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://ActionRemapButton.tscn" type="PackedScene" id=1]
  3. [sub_resource type="ButtonGroup" id=1]
  4. [node name="InputRemapMenu" type="Control"]
  5. anchor_right = 1.0
  6. anchor_bottom = 1.0
  7. [node name="Instructions" type="Label" parent="."]
  8. anchor_right = 1.0
  9. margin_top = 24.0
  10. margin_bottom = 55.0
  11. text = "Click on a button to reassign its action key."
  12. align = 1
  13. autowrap = true
  14. __meta__ = {
  15. "_edit_use_anchors_": false
  16. }
  17. [node name="RemapButtonGroup" type="Button" parent="."]
  18. anchor_left = 0.5
  19. anchor_top = 0.5
  20. anchor_right = 0.5
  21. anchor_bottom = 0.5
  22. margin_left = -160.0
  23. margin_top = -144.0
  24. margin_right = 160.0
  25. margin_bottom = 144.0
  26. disabled = true
  27. group = SubResource( 1 )
  28. flat = true
  29. __meta__ = {
  30. "_edit_use_anchors_": false
  31. }
  32. [node name="ActionsList" type="VBoxContainer" parent="RemapButtonGroup"]
  33. anchor_left = 0.5
  34. anchor_top = 0.5
  35. anchor_right = 0.5
  36. anchor_bottom = 0.5
  37. margin_left = -160.0
  38. margin_top = -140.0
  39. margin_right = 160.0
  40. margin_bottom = 140.0
  41. __meta__ = {
  42. "_edit_use_anchors_": false
  43. }
  44. [node name="ActionRemapRow" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
  45. margin_right = 320.0
  46. margin_bottom = 52.0
  47. size_flags_horizontal = 3
  48. size_flags_vertical = 3
  49. [node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow"]
  50. margin_right = 158.0
  51. margin_bottom = 52.0
  52. size_flags_horizontal = 3
  53. size_flags_vertical = 3
  54. text = "Move Left"
  55. align = 1
  56. valign = 1
  57. [node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow" instance=ExtResource( 1 )]
  58. margin_left = 162.0
  59. margin_right = 320.0
  60. margin_bottom = 52.0
  61. size_flags_horizontal = 3
  62. size_flags_vertical = 3
  63. group = SubResource( 1 )
  64. action = "move_left"
  65. [node name="ActionRemapRow2" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
  66. margin_top = 56.0
  67. margin_right = 320.0
  68. margin_bottom = 109.0
  69. size_flags_horizontal = 3
  70. size_flags_vertical = 3
  71. [node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow2"]
  72. margin_right = 158.0
  73. margin_bottom = 53.0
  74. size_flags_horizontal = 3
  75. size_flags_vertical = 3
  76. text = "Move Right"
  77. align = 1
  78. valign = 1
  79. [node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow2" instance=ExtResource( 1 )]
  80. margin_left = 162.0
  81. margin_right = 320.0
  82. margin_bottom = 53.0
  83. size_flags_horizontal = 3
  84. size_flags_vertical = 3
  85. group = SubResource( 1 )
  86. action = "move_right"
  87. [node name="ActionRemapRow3" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
  88. margin_top = 113.0
  89. margin_right = 320.0
  90. margin_bottom = 166.0
  91. size_flags_horizontal = 3
  92. size_flags_vertical = 3
  93. [node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow3"]
  94. margin_right = 158.0
  95. margin_bottom = 53.0
  96. size_flags_horizontal = 3
  97. size_flags_vertical = 3
  98. text = "Look Up"
  99. align = 1
  100. valign = 1
  101. [node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow3" instance=ExtResource( 1 )]
  102. margin_left = 162.0
  103. margin_right = 320.0
  104. margin_bottom = 53.0
  105. size_flags_horizontal = 3
  106. size_flags_vertical = 3
  107. group = SubResource( 1 )
  108. action = "look_up"
  109. [node name="ActionRemapRow4" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
  110. margin_top = 170.0
  111. margin_right = 320.0
  112. margin_bottom = 223.0
  113. size_flags_horizontal = 3
  114. size_flags_vertical = 3
  115. [node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow4"]
  116. margin_right = 158.0
  117. margin_bottom = 53.0
  118. size_flags_horizontal = 3
  119. size_flags_vertical = 3
  120. text = "Crouch"
  121. align = 1
  122. valign = 1
  123. [node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow4" instance=ExtResource( 1 )]
  124. margin_left = 162.0
  125. margin_right = 320.0
  126. margin_bottom = 53.0
  127. size_flags_horizontal = 3
  128. size_flags_vertical = 3
  129. group = SubResource( 1 )
  130. action = "crouch"
  131. [node name="ActionRemapRow5" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
  132. margin_top = 227.0
  133. margin_right = 320.0
  134. margin_bottom = 280.0
  135. size_flags_horizontal = 3
  136. size_flags_vertical = 3
  137. [node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow5"]
  138. margin_right = 158.0
  139. margin_bottom = 53.0
  140. size_flags_horizontal = 3
  141. size_flags_vertical = 3
  142. text = "Dash"
  143. align = 1
  144. valign = 1
  145. [node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow5" instance=ExtResource( 1 )]
  146. margin_left = 162.0
  147. margin_right = 320.0
  148. margin_bottom = 53.0
  149. size_flags_horizontal = 3
  150. size_flags_vertical = 3
  151. group = SubResource( 1 )
  152. action = "dash"