move_container.tscn 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. [gd_scene load_steps=15 format=3 uid="uid://y4gc5uinkcqj"]
  2. [ext_resource type="Script" path="res://component/ui/input_prompts/prompt_container.gd" id="1_b1cf6"]
  3. [ext_resource type="Texture2D" uid="uid://cah6r1q5x2lte" path="res://addons/input_prompts/icons/generic/left_stick_left.png" id="1_lp1l5"]
  4. [ext_resource type="Script" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="2_hmylp"]
  5. [ext_resource type="Texture2D" uid="uid://c03r3n0nfrjck" path="res://addons/input_prompts/icons/generic/left_stick_right.png" id="3_l042n"]
  6. [ext_resource type="Texture2D" uid="uid://bntsrcd3hjcex" path="res://addons/input_prompts/icons/generic/left_stick_up.png" id="4_e345q"]
  7. [ext_resource type="Texture2D" uid="uid://dreirjfpqj40a" path="res://addons/input_prompts/icons/generic/left_stick_down.png" id="5_vrthb"]
  8. [sub_resource type="InputEventKey" id="InputEventKey_wfj4m"]
  9. device = -1
  10. physical_keycode = 65
  11. unicode = 97
  12. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_vfyik"]
  13. device = -1
  14. axis_value = -1.0
  15. [sub_resource type="InputEventKey" id="InputEventKey_iw6gn"]
  16. device = -1
  17. physical_keycode = 68
  18. unicode = 101
  19. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_2t3i8"]
  20. device = -1
  21. axis_value = 1.0
  22. [sub_resource type="InputEventKey" id="InputEventKey_vkf1t"]
  23. device = -1
  24. physical_keycode = 87
  25. unicode = 44
  26. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_sxly5"]
  27. device = -1
  28. axis = 1
  29. axis_value = -1.0
  30. [sub_resource type="InputEventKey" id="InputEventKey_rwo04"]
  31. device = -1
  32. physical_keycode = 83
  33. unicode = 111
  34. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_rjep4"]
  35. device = -1
  36. axis = 1
  37. axis_value = 1.0
  38. [node name="MovePromptContainer" type="HBoxContainer"]
  39. script = ExtResource("1_b1cf6")
  40. [node name="MoveLabel" type="Label" parent="."]
  41. layout_mode = 2
  42. theme_override_font_sizes/font_size = 34
  43. text = "Move"
  44. [node name="MoveLeftActionPrompt" type="TextureRect" parent="."]
  45. custom_minimum_size = Vector2(100, 100)
  46. layout_mode = 2
  47. texture = ExtResource("1_lp1l5")
  48. stretch_mode = 5
  49. script = ExtResource("2_hmylp")
  50. action = "move_left"
  51. icon = 0
  52. events = Array[InputEvent]([SubResource("InputEventKey_wfj4m"), SubResource("InputEventJoypadMotion_vfyik")])
  53. [node name="MoveRightActionPrompt" type="TextureRect" parent="."]
  54. custom_minimum_size = Vector2(100, 100)
  55. layout_mode = 2
  56. texture = ExtResource("3_l042n")
  57. stretch_mode = 5
  58. script = ExtResource("2_hmylp")
  59. action = "move_right"
  60. icon = 0
  61. events = Array[InputEvent]([SubResource("InputEventKey_iw6gn"), SubResource("InputEventJoypadMotion_2t3i8")])
  62. [node name="MoveForwardActionPrompt" type="TextureRect" parent="."]
  63. custom_minimum_size = Vector2(100, 100)
  64. layout_mode = 2
  65. texture = ExtResource("4_e345q")
  66. stretch_mode = 5
  67. script = ExtResource("2_hmylp")
  68. action = "move_forward"
  69. icon = 0
  70. events = Array[InputEvent]([SubResource("InputEventKey_vkf1t"), SubResource("InputEventJoypadMotion_sxly5")])
  71. [node name="MoveBackActionPrompt" type="TextureRect" parent="."]
  72. custom_minimum_size = Vector2(100, 100)
  73. layout_mode = 2
  74. texture = ExtResource("5_vrthb")
  75. stretch_mode = 5
  76. script = ExtResource("2_hmylp")
  77. action = "move_back"
  78. icon = 0
  79. events = Array[InputEvent]([SubResource("InputEventKey_rwo04"), SubResource("InputEventJoypadMotion_rjep4")])