InputRemapMenu.tscn 4.0 KB

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