jump_container.tscn 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=6 format=3 uid="uid://d6a3dml2i2qm"]
  2. [ext_resource type="Script" path="res://component/ui/input_prompts/prompt_container.gd" id="1_vkqjn"]
  3. [ext_resource type="Texture2D" uid="uid://b1e23gj3k1klg" path="res://addons/input_prompts/icons/xbox/a.png" id="2_ax62s"]
  4. [ext_resource type="Script" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="3_85i3m"]
  5. [sub_resource type="InputEventKey" id="InputEventKey_ucxno"]
  6. device = -1
  7. physical_keycode = 32
  8. unicode = 32
  9. [sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_amp3y"]
  10. device = -1
  11. [node name="JumpPromptContainer" type="HBoxContainer"]
  12. script = ExtResource("1_vkqjn")
  13. [node name="JumpLabel" type="Label" parent="."]
  14. layout_mode = 2
  15. theme_override_font_sizes/font_size = 34
  16. text = "Jump"
  17. [node name="JumpActionPrompt" type="TextureRect" parent="."]
  18. custom_minimum_size = Vector2(100, 100)
  19. layout_mode = 2
  20. texture = ExtResource("2_ax62s")
  21. stretch_mode = 5
  22. script = ExtResource("3_85i3m")
  23. action = "main"
  24. icon = 0
  25. events = Array[InputEvent]([SubResource("InputEventKey_ucxno"), SubResource("InputEventJoypadButton_amp3y")])