controls.tscn 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. [gd_scene load_steps=2 format=1]
  2. [ext_resource path="res://controls.gd" type="Script" id=1]
  3. [node name="controls_ui" type="Control"]
  4. focus/ignore_mouse = false
  5. focus/stop_mouse = true
  6. size_flags/horizontal = 2
  7. size_flags/vertical = 2
  8. margin/left = 0.0
  9. margin/top = 0.0
  10. margin/right = 40.0
  11. margin/bottom = 40.0
  12. script/script = ExtResource( 1 )
  13. __meta__ = {
  14. "__editor_plugin_screen__": "2D"
  15. }
  16. [node name="contextual_help" type="Label" parent="."]
  17. focus/ignore_mouse = true
  18. focus/stop_mouse = true
  19. size_flags/horizontal = 2
  20. size_flags/vertical = 0
  21. margin/left = 100.0
  22. margin/top = 50.0
  23. margin/right = 465.0
  24. margin/bottom = 89.0
  25. text = "Click on a key binding to reassign it, or press the Cancel action."
  26. percent_visible = 1.0
  27. lines_skipped = 0
  28. max_lines_visible = -1
  29. [node name="bindings" type="Control" parent="."]
  30. focus/ignore_mouse = false
  31. focus/stop_mouse = true
  32. size_flags/horizontal = 2
  33. size_flags/vertical = 2
  34. margin/left = 50.0
  35. margin/top = 50.0
  36. margin/right = 90.0
  37. margin/bottom = 90.0
  38. [node name="move_up" type="Control" parent="bindings"]
  39. focus/ignore_mouse = false
  40. focus/stop_mouse = true
  41. size_flags/horizontal = 2
  42. size_flags/vertical = 2
  43. margin/left = 50.0
  44. margin/top = 50.0
  45. margin/right = 90.0
  46. margin/bottom = 90.0
  47. [node name="Label" type="Label" parent="bindings/move_up"]
  48. focus/ignore_mouse = true
  49. focus/stop_mouse = true
  50. size_flags/horizontal = 2
  51. size_flags/vertical = 0
  52. margin/left = 5.0
  53. margin/top = 8.0
  54. margin/right = 45.0
  55. margin/bottom = 21.0
  56. text = "Up"
  57. percent_visible = 1.0
  58. lines_skipped = 0
  59. max_lines_visible = -1
  60. [node name="Button" type="Button" parent="bindings/move_up"]
  61. focus/ignore_mouse = false
  62. focus/stop_mouse = true
  63. size_flags/horizontal = 2
  64. size_flags/vertical = 2
  65. margin/left = 84.0
  66. margin/top = -1.0
  67. margin/right = 144.0
  68. margin/bottom = 29.0
  69. toggle_mode = false
  70. enabled_focus_mode = 2
  71. shortcut = null
  72. flat = false
  73. [node name="move_down" type="Control" parent="bindings"]
  74. focus/ignore_mouse = false
  75. focus/stop_mouse = true
  76. size_flags/horizontal = 2
  77. size_flags/vertical = 2
  78. margin/left = 50.0
  79. margin/top = 100.0
  80. margin/right = 90.0
  81. margin/bottom = 140.0
  82. [node name="Label" type="Label" parent="bindings/move_down"]
  83. focus/ignore_mouse = true
  84. focus/stop_mouse = true
  85. size_flags/horizontal = 2
  86. size_flags/vertical = 0
  87. margin/left = 5.0
  88. margin/top = 8.0
  89. margin/right = 45.0
  90. margin/bottom = 21.0
  91. text = "Down"
  92. percent_visible = 1.0
  93. lines_skipped = 0
  94. max_lines_visible = -1
  95. [node name="Button" type="Button" parent="bindings/move_down"]
  96. focus/ignore_mouse = false
  97. focus/stop_mouse = true
  98. size_flags/horizontal = 2
  99. size_flags/vertical = 2
  100. margin/left = 84.0
  101. margin/top = -1.0
  102. margin/right = 144.0
  103. margin/bottom = 29.0
  104. toggle_mode = false
  105. enabled_focus_mode = 2
  106. shortcut = null
  107. flat = false
  108. [node name="move_left" type="Control" parent="bindings"]
  109. focus/ignore_mouse = false
  110. focus/stop_mouse = true
  111. size_flags/horizontal = 2
  112. size_flags/vertical = 2
  113. margin/left = 50.0
  114. margin/top = 150.0
  115. margin/right = 90.0
  116. margin/bottom = 190.0
  117. [node name="Label" type="Label" parent="bindings/move_left"]
  118. focus/ignore_mouse = true
  119. focus/stop_mouse = true
  120. size_flags/horizontal = 2
  121. size_flags/vertical = 0
  122. margin/left = 5.0
  123. margin/top = 8.0
  124. margin/right = 45.0
  125. margin/bottom = 21.0
  126. text = "Left"
  127. percent_visible = 1.0
  128. lines_skipped = 0
  129. max_lines_visible = -1
  130. [node name="Button" type="Button" parent="bindings/move_left"]
  131. focus/ignore_mouse = false
  132. focus/stop_mouse = true
  133. size_flags/horizontal = 2
  134. size_flags/vertical = 2
  135. margin/left = 84.0
  136. margin/top = -1.0
  137. margin/right = 144.0
  138. margin/bottom = 29.0
  139. toggle_mode = false
  140. enabled_focus_mode = 2
  141. shortcut = null
  142. flat = false
  143. [node name="move_right" type="Control" parent="bindings"]
  144. focus/ignore_mouse = false
  145. focus/stop_mouse = true
  146. size_flags/horizontal = 2
  147. size_flags/vertical = 2
  148. margin/left = 50.0
  149. margin/top = 200.0
  150. margin/right = 90.0
  151. margin/bottom = 240.0
  152. [node name="Label" type="Label" parent="bindings/move_right"]
  153. focus/ignore_mouse = true
  154. focus/stop_mouse = true
  155. size_flags/horizontal = 2
  156. size_flags/vertical = 0
  157. margin/left = 5.0
  158. margin/top = 8.0
  159. margin/right = 45.0
  160. margin/bottom = 21.0
  161. text = "Right"
  162. percent_visible = 1.0
  163. lines_skipped = 0
  164. max_lines_visible = -1
  165. [node name="Button" type="Button" parent="bindings/move_right"]
  166. focus/ignore_mouse = false
  167. focus/stop_mouse = true
  168. size_flags/horizontal = 2
  169. size_flags/vertical = 2
  170. margin/left = 84.0
  171. margin/top = -1.0
  172. margin/right = 144.0
  173. margin/bottom = 29.0
  174. toggle_mode = false
  175. enabled_focus_mode = 2
  176. shortcut = null
  177. flat = false
  178. [node name="jump" type="Control" parent="bindings"]
  179. focus/ignore_mouse = false
  180. focus/stop_mouse = true
  181. size_flags/horizontal = 2
  182. size_flags/vertical = 2
  183. margin/left = 50.0
  184. margin/top = 250.0
  185. margin/right = 90.0
  186. margin/bottom = 290.0
  187. [node name="Label" type="Label" parent="bindings/jump"]
  188. focus/ignore_mouse = true
  189. focus/stop_mouse = true
  190. size_flags/horizontal = 2
  191. size_flags/vertical = 0
  192. margin/left = 5.0
  193. margin/top = 8.0
  194. margin/right = 45.0
  195. margin/bottom = 21.0
  196. text = "Jump"
  197. percent_visible = 1.0
  198. lines_skipped = 0
  199. max_lines_visible = -1
  200. [node name="Button" type="Button" parent="bindings/jump"]
  201. focus/ignore_mouse = false
  202. focus/stop_mouse = true
  203. size_flags/horizontal = 2
  204. size_flags/vertical = 2
  205. margin/left = 84.0
  206. margin/top = -1.0
  207. margin/right = 144.0
  208. margin/bottom = 29.0
  209. toggle_mode = false
  210. enabled_focus_mode = 2
  211. shortcut = null
  212. flat = false