plane_prompts.tscn 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. [gd_scene load_steps=18 format=3 uid="uid://rixhldyytdiy"]
  2. [ext_resource type="Script" path="res://component/ui/input_prompts/prompt_container.gd" id="1_eppoy"]
  3. [ext_resource type="Texture2D" uid="uid://b1e23gj3k1klg" path="res://addons/input_prompts/icons/xbox/a.png" id="2_bfgq1"]
  4. [ext_resource type="Script" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="2_h1sqq"]
  5. [ext_resource type="Texture2D" uid="uid://cah6r1q5x2lte" path="res://addons/input_prompts/icons/generic/left_stick_left.png" id="4_8s3s4"]
  6. [ext_resource type="Texture2D" uid="uid://c03r3n0nfrjck" path="res://addons/input_prompts/icons/generic/left_stick_right.png" id="5_5ns3s"]
  7. [ext_resource type="Texture2D" uid="uid://dreirjfpqj40a" path="res://addons/input_prompts/icons/generic/left_stick_down.png" id="6_712bd"]
  8. [ext_resource type="Texture2D" uid="uid://bntsrcd3hjcex" path="res://addons/input_prompts/icons/generic/left_stick_up.png" id="7_awcyd"]
  9. [sub_resource type="InputEventKey" id="InputEventKey_jm5e5"]
  10. device = -1
  11. physical_keycode = 32
  12. unicode = 32
  13. [sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_wj4uo"]
  14. device = -1
  15. [sub_resource type="InputEventKey" id="InputEventKey_q4jus"]
  16. device = -1
  17. physical_keycode = 65
  18. unicode = 97
  19. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_oji7s"]
  20. device = -1
  21. axis_value = -1.0
  22. [sub_resource type="InputEventKey" id="InputEventKey_fi2er"]
  23. device = -1
  24. physical_keycode = 68
  25. unicode = 101
  26. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_j1j4m"]
  27. device = -1
  28. axis_value = 1.0
  29. [sub_resource type="InputEventKey" id="InputEventKey_35cri"]
  30. device = -1
  31. physical_keycode = 83
  32. unicode = 111
  33. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_ekkas"]
  34. device = -1
  35. axis = 1
  36. axis_value = 1.0
  37. [sub_resource type="InputEventKey" id="InputEventKey_knka0"]
  38. device = -1
  39. physical_keycode = 87
  40. unicode = 44
  41. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_7mrea"]
  42. device = -1
  43. axis = 1
  44. axis_value = -1.0
  45. [node name="PlanePrompts" type="VBoxContainer"]
  46. offset_left = 193.0
  47. offset_right = 193.0
  48. offset_bottom = 100.0
  49. script = ExtResource("1_eppoy")
  50. [node name="AcceleratePrompt" type="HBoxContainer" parent="."]
  51. layout_mode = 2
  52. script = ExtResource("1_eppoy")
  53. [node name="AccelerateLabel" type="Label" parent="AcceleratePrompt"]
  54. layout_mode = 2
  55. theme_override_font_sizes/font_size = 34
  56. text = "Accelerate"
  57. [node name="AccelerateMaxActionPrompt" type="TextureRect" parent="AcceleratePrompt"]
  58. custom_minimum_size = Vector2(100, 100)
  59. layout_mode = 2
  60. texture = ExtResource("2_bfgq1")
  61. stretch_mode = 5
  62. script = ExtResource("2_h1sqq")
  63. action = "main"
  64. icon = 0
  65. events = Array[InputEvent]([SubResource("InputEventKey_jm5e5"), SubResource("InputEventJoypadButton_wj4uo")])
  66. [node name="RollPrompt" type="HBoxContainer" parent="."]
  67. layout_mode = 2
  68. script = ExtResource("1_eppoy")
  69. [node name="RollLabel" type="Label" parent="RollPrompt"]
  70. layout_mode = 2
  71. theme_override_font_sizes/font_size = 34
  72. text = "Roll"
  73. [node name="RollLeftActionPrompt" type="TextureRect" parent="RollPrompt"]
  74. custom_minimum_size = Vector2(100, 100)
  75. layout_mode = 2
  76. texture = ExtResource("4_8s3s4")
  77. stretch_mode = 5
  78. script = ExtResource("2_h1sqq")
  79. action = "move_left"
  80. icon = 0
  81. events = Array[InputEvent]([SubResource("InputEventKey_q4jus"), SubResource("InputEventJoypadMotion_oji7s")])
  82. [node name="RollRightActionPrompt" type="TextureRect" parent="RollPrompt"]
  83. custom_minimum_size = Vector2(100, 100)
  84. layout_mode = 2
  85. texture = ExtResource("5_5ns3s")
  86. stretch_mode = 5
  87. script = ExtResource("2_h1sqq")
  88. action = "move_right"
  89. icon = 0
  90. events = Array[InputEvent]([SubResource("InputEventKey_fi2er"), SubResource("InputEventJoypadMotion_j1j4m")])
  91. [node name="PitchPrompt" type="HBoxContainer" parent="."]
  92. layout_mode = 2
  93. script = ExtResource("1_eppoy")
  94. [node name="PitchLabel" type="Label" parent="PitchPrompt"]
  95. layout_mode = 2
  96. theme_override_font_sizes/font_size = 34
  97. text = "Pitch"
  98. [node name="PitchUpActionPrompt" type="TextureRect" parent="PitchPrompt"]
  99. custom_minimum_size = Vector2(100, 100)
  100. layout_mode = 2
  101. texture = ExtResource("6_712bd")
  102. stretch_mode = 5
  103. script = ExtResource("2_h1sqq")
  104. action = "move_back"
  105. icon = 0
  106. events = Array[InputEvent]([SubResource("InputEventKey_35cri"), SubResource("InputEventJoypadMotion_ekkas")])
  107. [node name="PitchDownActionPrompt" type="TextureRect" parent="PitchPrompt"]
  108. custom_minimum_size = Vector2(100, 100)
  109. layout_mode = 2
  110. texture = ExtResource("7_awcyd")
  111. stretch_mode = 5
  112. script = ExtResource("2_h1sqq")
  113. action = "move_forward"
  114. icon = 0
  115. events = Array[InputEvent]([SubResource("InputEventKey_knka0"), SubResource("InputEventJoypadMotion_7mrea")])