فهرست منبع

:lipstick: Fill all jeep actions

DricomDragon 2 ماه پیش
والد
کامیت
f7078021a0
1فایلهای تغییر یافته به همراه129 افزوده شده و 2 حذف شده
  1. 129 2
      godot/component/ui/input_prompts/jeep/jeep_prompts.tscn

+ 129 - 2
godot/component/ui/input_prompts/jeep/jeep_prompts.tscn

@@ -1,4 +1,4 @@
-[gd_scene load_steps=5 format=3 uid="uid://sogwc56hcxlr"]
+[gd_scene load_steps=16 format=3 uid="uid://sogwc56hcxlr"]
 
 [ext_resource type="Script" path="res://component/ui/input_prompts/prompt_container.gd" id="1_vo7iq"]
 [ext_resource type="Script" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="3_ql8fw"]
@@ -11,6 +11,59 @@ unicode = 32
 [sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_3f2lm"]
 device = -1
 
+[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_tigyc"]
+device = -1
+axis = 5
+axis_value = 1.0
+
+[sub_resource type="InputEventKey" id="InputEventKey_5dae6"]
+device = -1
+physical_keycode = 4194320
+
+[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_hhdpk"]
+device = -1
+axis = 4
+axis_value = 1.0
+
+[sub_resource type="InputEventKey" id="InputEventKey_6i01c"]
+device = -1
+physical_keycode = 4194322
+
+[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_6i2a8"]
+device = -1
+button_mask = 1
+position = Vector2(95, 20)
+global_position = Vector2(99, 63)
+button_index = 1
+pressed = true
+
+[sub_resource type="InputEventKey" id="InputEventKey_li2r7"]
+device = -1
+physical_keycode = 69
+unicode = 46
+
+[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_40xj1"]
+device = -1
+button_index = 1
+
+[sub_resource type="InputEventKey" id="InputEventKey_vqhl2"]
+device = -1
+physical_keycode = 65
+unicode = 97
+
+[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_l8a88"]
+device = -1
+axis_value = -1.0
+
+[sub_resource type="InputEventKey" id="InputEventKey_ghxeo"]
+device = -1
+physical_keycode = 68
+unicode = 101
+
+[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_vm1od"]
+device = -1
+axis_value = 1.0
+
 [node name="JeepPrompts" type="VBoxContainer"]
 offset_left = 193.0
 offset_right = 193.0
@@ -26,7 +79,7 @@ layout_mode = 2
 theme_override_font_sizes/font_size = 34
 text = "Accelerate"
 
-[node name="AccelerateActionPrompt" type="TextureRect" parent="AcceleratePrompt"]
+[node name="AccelerateMaxActionPrompt" type="TextureRect" parent="AcceleratePrompt"]
 custom_minimum_size = Vector2(100, 100)
 layout_mode = 2
 stretch_mode = 5
@@ -34,3 +87,77 @@ script = ExtResource("3_ql8fw")
 action = "main"
 icon = 0
 events = Array[InputEvent]([SubResource("InputEventKey_eyt6c"), SubResource("InputEventJoypadButton_3f2lm")])
+
+[node name="AccelerateAnalogActionPrompt" type="TextureRect" parent="AcceleratePrompt"]
+custom_minimum_size = Vector2(100, 100)
+layout_mode = 2
+stretch_mode = 5
+script = ExtResource("3_ql8fw")
+action = "analog_main"
+icon = 0
+events = Array[InputEvent]([SubResource("InputEventJoypadMotion_tigyc"), SubResource("InputEventKey_5dae6")])
+
+[node name="ReversePrompt" type="HBoxContainer" parent="."]
+layout_mode = 2
+script = ExtResource("1_vo7iq")
+
+[node name="ReverseLabel" type="Label" parent="ReversePrompt"]
+layout_mode = 2
+theme_override_font_sizes/font_size = 34
+text = "Reverse
+"
+
+[node name="ReverseActionPrompt" type="TextureRect" parent="ReversePrompt"]
+custom_minimum_size = Vector2(100, 100)
+layout_mode = 2
+stretch_mode = 5
+script = ExtResource("3_ql8fw")
+action = "analog_secondary"
+icon = 0
+events = Array[InputEvent]([SubResource("InputEventJoypadMotion_hhdpk"), SubResource("InputEventKey_6i01c")])
+
+[node name="BreakPrompt" type="HBoxContainer" parent="."]
+layout_mode = 2
+script = ExtResource("1_vo7iq")
+
+[node name="BreakLabel" type="Label" parent="BreakPrompt"]
+layout_mode = 2
+theme_override_font_sizes/font_size = 34
+text = "Break
+"
+
+[node name="BreakActionPrompt" type="TextureRect" parent="BreakPrompt"]
+custom_minimum_size = Vector2(100, 100)
+layout_mode = 2
+stretch_mode = 5
+script = ExtResource("3_ql8fw")
+action = "stop"
+icon = 0
+events = Array[InputEvent]([SubResource("InputEventMouseButton_6i2a8"), SubResource("InputEventKey_li2r7"), SubResource("InputEventJoypadButton_40xj1")])
+
+[node name="SteerPrompt" type="HBoxContainer" parent="."]
+layout_mode = 2
+script = ExtResource("1_vo7iq")
+
+[node name="SteerLabel" type="Label" parent="SteerPrompt"]
+layout_mode = 2
+theme_override_font_sizes/font_size = 34
+text = "Steer"
+
+[node name="SteerLeftActionPrompt" type="TextureRect" parent="SteerPrompt"]
+custom_minimum_size = Vector2(100, 100)
+layout_mode = 2
+stretch_mode = 5
+script = ExtResource("3_ql8fw")
+action = "move_left"
+icon = 0
+events = Array[InputEvent]([SubResource("InputEventKey_vqhl2"), SubResource("InputEventJoypadMotion_l8a88")])
+
+[node name="SteerRightActionPrompt" type="TextureRect" parent="SteerPrompt"]
+custom_minimum_size = Vector2(100, 100)
+layout_mode = 2
+stretch_mode = 5
+script = ExtResource("3_ql8fw")
+action = "move_right"
+icon = 0
+events = Array[InputEvent]([SubResource("InputEventKey_ghxeo"), SubResource("InputEventJoypadMotion_vm1od")])