Update uid and fix(?) controller icons plugin

This commit is contained in:
SchimmelSpreu83 2026-02-25 22:09:36 +01:00
parent 0eff70ba1f
commit 266f6f7257
39 changed files with 163 additions and 219 deletions

View File

@ -38,7 +38,7 @@ audio_player = NodePath("../Music")
metadata/_custom_type_script = "uid://byqenxfb1srrp" metadata/_custom_type_script = "uid://byqenxfb1srrp"
[node name="CameraRoot" type="Node3D" parent="." unique_id=949164518] [node name="CameraRoot" type="Node3D" parent="." unique_id=949164518]
transform = Transform3D(0.99999887, 0, 0, 0, 0.99999887, 0, 0, 0, 0.99999887, 0, 1, -36.72871) transform = Transform3D(0.99999887, 0, 0, 0, 0.99999887, 0, 0, 0, 0.99999887, 0, 1, 0)
[node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1314945714] [node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1314945714]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0) transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0)

View File

@ -1,17 +1,17 @@
[gd_scene load_steps=2 format=3 uid="uid://bie1xn8v1kd66"] [gd_scene format=3 uid="uid://bie1xn8v1kd66"]
[ext_resource type="Script" uid="uid://dd033y6smf6jh" path="res://addons/Todo_Manager/ColourPicker.gd" id="1"] [ext_resource type="Script" uid="uid://dd033y6smf6jh" path="res://addons/Todo_Manager/ColourPicker.gd" id="1"]
[node name="TODOColour" type="HBoxContainer"] [node name="TODOColour" type="HBoxContainer" unique_id=2078511682]
offset_right = 105.0 offset_right = 105.0
offset_bottom = 31.0 offset_bottom = 31.0
script = ExtResource("1") script = ExtResource("1")
metadata/_edit_use_custom_anchors = false metadata/_edit_use_custom_anchors = false
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="." unique_id=1101254785]
layout_mode = 2 layout_mode = 2
[node name="TODOColourPickerButton" type="ColorPickerButton" parent="."] [node name="TODOColourPickerButton" type="ColorPickerButton" parent="." unique_id=102671264]
custom_minimum_size = Vector2(40, 0) custom_minimum_size = Vector2(40, 0)
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 10 size_flags_horizontal = 10

View File

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=4 format=3 uid="uid://cignxcqjqfst0"] [gd_resource type="Theme" format=3 uid="uid://cignxcqjqfst0"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0amm0"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0amm0"]
bg_color = Color(1, 1, 1, 0.0784314) bg_color = Color(1, 1, 1, 0.0784314)

View File

@ -1,25 +1,25 @@
[gd_scene load_steps=2 format=3 uid="uid://bx11sel2q5wli"] [gd_scene format=3 uid="uid://bx11sel2q5wli"]
[ext_resource type="Script" uid="uid://betg01sk02eyy" path="res://addons/Todo_Manager/PatternEdit.gd" id="1_mujq6"] [ext_resource type="Script" uid="uid://betg01sk02eyy" path="res://addons/Todo_Manager/PatternEdit.gd" id="1_mujq6"]
[node name="Pattern" type="HBoxContainer"] [node name="Pattern" type="HBoxContainer" unique_id=1886870873]
script = ExtResource("1_mujq6") script = ExtResource("1_mujq6")
[node name="LineEdit" type="LineEdit" parent="."] [node name="LineEdit" type="LineEdit" parent="." unique_id=2143900590]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 0 size_flags_horizontal = 0
expand_to_text_length = true expand_to_text_length = true
[node name="RemoveButton" type="Button" parent="."] [node name="RemoveButton" type="Button" parent="." unique_id=2067766864]
layout_mode = 2 layout_mode = 2
text = "-" text = "-"
[node name="MarginContainer" type="MarginContainer" parent="."] [node name="MarginContainer" type="MarginContainer" parent="." unique_id=922685136]
custom_minimum_size = Vector2(20, 0) custom_minimum_size = Vector2(20, 0)
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 0 size_flags_horizontal = 0
[node name="CaseSensativeCheckbox" type="CheckBox" parent="."] [node name="CaseSensativeCheckbox" type="CheckBox" parent="." unique_id=2108159862]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 0 size_flags_horizontal = 0

View File

@ -1,13 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://bq0tjjng7hdvt"] [gd_scene format=3 uid="uid://bq0tjjng7hdvt"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5887s"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f41nr"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rtgj1"]
bg_color = Color(1, 1, 1, 0.0705882)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5887s"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5887s"]
bg_color = Color(0.12549, 0.156863, 0.192157, 1) bg_color = Color(0.12549, 0.156863, 0.192157, 1)
@ -18,12 +11,19 @@ corner_radius_top_right = 4
corner_radius_bottom_right = 4 corner_radius_bottom_right = 4
corner_radius_bottom_left = 4 corner_radius_bottom_left = 4
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f41nr"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rtgj1"]
bg_color = Color(1, 1, 1, 0.0705882)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[node name="Button" type="Button"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5887s"]
theme_override_styles/focus = SubResource("StyleBoxEmpty_5887s")
theme_override_styles/hover = SubResource("StyleBoxFlat_rtgj1") [node name="Button" type="Button" unique_id=1856473385]
theme_override_styles/pressed = SubResource("StyleBoxFlat_5887s")
theme_override_styles/normal = SubResource("StyleBoxEmpty_f41nr") theme_override_styles/normal = SubResource("StyleBoxEmpty_f41nr")
theme_override_styles/pressed = SubResource("StyleBoxFlat_5887s")
theme_override_styles/hover = SubResource("StyleBoxFlat_rtgj1")
theme_override_styles/focus = SubResource("StyleBoxEmpty_5887s")
toggle_mode = true toggle_mode = true
text = "TODO" text = "TODO"

View File

@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/example1.png-6386c332ca46e1e62ea061b956a901cd
compress/mode=0 compress/mode=0
compress/high_quality=false compress/high_quality=false
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1 compress/hdr_compression=1
compress/normal_map=0 compress/normal_map=0
compress/channel_pack=0 compress/channel_pack=0
@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1 mipmaps/limit=-1
roughness/mode=0 roughness/mode=0
roughness/src_normal="" roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/normal_map_invert_y=false process/normal_map_invert_y=false

View File

@ -28,6 +28,9 @@ func get_icon_path() -> String:
func _on_tab_container_tab_selected(tab = null) -> void: func _on_tab_container_tab_selected(tab = null) -> void:
if not is_instance_valid(n_tab_container):
return
match n_tab_container.get_current_tab_control(): match n_tab_container.get_current_tab_control():
n_input_action: n_input_action:
if not input_action_populated: if not input_action_populated:

View File

@ -1,11 +1,11 @@
[gd_scene load_steps=5 format=3 uid="uid://dijn7haax0boi"] [gd_scene format=3 uid="uid://dijn7haax0boi"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconPathSelector.gd" id="1_0ucf4"] [ext_resource type="Script" uid="uid://dmn34qxh8qhxl" path="res://addons/controller_icons/objects/ControllerIconPathSelector.gd" id="1_0ucf4"]
[ext_resource type="PackedScene" uid="uid://bituity863qe4" path="res://addons/controller_icons/objects/path_selection/input_action.tscn" id="2_wlqmh"] [ext_resource type="PackedScene" uid="uid://bituity863qe4" path="res://addons/controller_icons/objects/path_selection/input_action.tscn" id="2_wlqmh"]
[ext_resource type="PackedScene" uid="uid://b3lplrf2w6kh7" path="res://addons/controller_icons/objects/path_selection/joypad_path.tscn" id="3_6ffwr"] [ext_resource type="PackedScene" uid="uid://b3lplrf2w6kh7" path="res://addons/controller_icons/objects/path_selection/joypad_path.tscn" id="3_6ffwr"]
[ext_resource type="PackedScene" uid="uid://d2ow6e2ba86b6" path="res://addons/controller_icons/objects/path_selection/specific_path.tscn" id="4_3ai5v"] [ext_resource type="PackedScene" uid="uid://d2ow6e2ba86b6" path="res://addons/controller_icons/objects/path_selection/specific_path.tscn" id="4_3ai5v"]
[node name="ControllerIconPathSelector" type="PanelContainer"] [node name="ControllerIconPathSelector" type="PanelContainer" unique_id=1020244822]
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
@ -13,27 +13,31 @@ grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
script = ExtResource("1_0ucf4") script = ExtResource("1_0ucf4")
[node name="TabContainer" type="TabContainer" parent="."] [node name="TabContainer" type="TabContainer" parent="." unique_id=447252944]
unique_name_in_owner = true unique_name_in_owner = true
custom_minimum_size = Vector2(850, 450) custom_minimum_size = Vector2(850, 450)
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
theme_override_constants/side_margin = 0 theme_override_constants/side_margin = 0
tab_alignment = 1 tab_alignment = 1
current_tab = 0
[node name="Input Action" parent="TabContainer" instance=ExtResource("2_wlqmh")] [node name="Input Action" parent="TabContainer" unique_id=2021676046 instance=ExtResource("2_wlqmh")]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
metadata/_tab_index = 0
[node name="Joypad Path" parent="TabContainer" instance=ExtResource("3_6ffwr")] [node name="Joypad Path" parent="TabContainer" unique_id=1745344230 instance=ExtResource("3_6ffwr")]
unique_name_in_owner = true unique_name_in_owner = true
visible = false visible = false
layout_mode = 2 layout_mode = 2
metadata/_tab_index = 1
[node name="Specific Path" parent="TabContainer" instance=ExtResource("4_3ai5v")] [node name="Specific Path" parent="TabContainer" unique_id=1227352151 instance=ExtResource("4_3ai5v")]
unique_name_in_owner = true unique_name_in_owner = true
visible = false visible = false
layout_mode = 2 layout_mode = 2
metadata/_tab_index = 2
[connection signal="tab_selected" from="TabContainer" to="." method="_on_tab_container_tab_selected"] [connection signal="tab_selected" from="TabContainer" to="." method="_on_tab_container_tab_selected"]
[connection signal="done" from="TabContainer/Input Action" to="." method="_on_input_action_done"] [connection signal="done" from="TabContainer/Input Action" to="." method="_on_input_action_done"]

View File

@ -1,16 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://ib8ydhcaklwy"] [gd_scene format=3 uid="uid://ib8ydhcaklwy"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconPathSelectorPopup.gd" id="1_6s0ph"] [ext_resource type="Script" uid="uid://dfnjre1sbxssv" path="res://addons/controller_icons/objects/ControllerIconPathSelectorPopup.gd" id="1_6s0ph"]
[ext_resource type="PackedScene" uid="uid://dijn7haax0boi" path="res://addons/controller_icons/objects/ControllerIconPathSelector.tscn" id="2_gfs7t"] [ext_resource type="PackedScene" uid="uid://dijn7haax0boi" path="res://addons/controller_icons/objects/ControllerIconPathSelector.tscn" id="2_gfs7t"]
[node name="ControllerIconPathSelectorPopup" type="ConfirmationDialog"] [node name="ControllerIconPathSelectorPopup" type="ConfirmationDialog" unique_id=1459972447]
oversampling_override = 1.0
title = "Select an icon path" title = "Select an icon path"
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(866, 507) size = Vector2i(866, 507)
visible = true visible = true
script = ExtResource("1_6s0ph") script = ExtResource("1_6s0ph")
[node name="ControllerIconPathSelector" parent="." instance=ExtResource("2_gfs7t")] [node name="ControllerIconPathSelector" parent="." unique_id=1448305940 instance=ExtResource("2_gfs7t")]
offset_left = 8.0 offset_left = 8.0
offset_top = 8.0 offset_top = 8.0
offset_right = -8.0 offset_right = -8.0

View File

@ -207,10 +207,10 @@ func _load_texture_path_impl():
if ControllerIcons.is_node_ready() and _can_be_shown(): if ControllerIcons.is_node_ready() and _can_be_shown():
var input_type = ControllerIcons._last_input_type if force_type == ForceType.NONE else force_type - 1 var input_type = ControllerIcons._last_input_type if force_type == ForceType.NONE else force_type - 1
if ControllerIcons.get_path_type(path) == ControllerIcons.PathType.INPUT_ACTION: if ControllerIcons.get_path_type(path) == ControllerIcons.PathType.INPUT_ACTION:
var event := ControllerIcons.get_matching_event(path, input_type) var event: Variant = ControllerIcons.get_matching_event(path, input_type)
textures.append_array(ControllerIcons.parse_event_modifiers(event)) textures.append_array(ControllerIcons.parse_event_modifiers(event))
var target_device = force_device if force_device != ForceDevice.ANY else ControllerIcons._last_controller var target_device = force_device if force_device != ForceDevice.ANY else ControllerIcons._last_controller
var tex := ControllerIcons.parse_path(path, input_type, target_device, force_controller_icon_style) var tex: Variant = ControllerIcons.parse_path(path, input_type, target_device, force_controller_icon_style)
if tex: if tex:
textures.append(tex) textures.append(tex)
_textures = textures _textures = textures

View File

@ -70,7 +70,7 @@ func populate(editor_interface: EditorInterface) -> void:
ControllerIcons._parse_input_actions() ControllerIcons._parse_input_actions()
# List with all default input actions # List with all default input actions
var default_actions := ControllerIcons._builtin_keys.map( var default_actions: Variant = ControllerIcons._builtin_keys.map(
func(value: String): func(value: String):
return value.trim_prefix("input/") return value.trim_prefix("input/")
) )

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://bituity863qe4"] [gd_scene format=3 uid="uid://bituity863qe4"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/path_selection/InputActionSelector.gd" id="1_shxks"] [ext_resource type="Script" uid="uid://cux0b4qbbgt1k" path="res://addons/controller_icons/objects/path_selection/InputActionSelector.gd" id="1_shxks"]
[node name="Input Action" type="Panel"] [node name="Input Action" type="Panel" unique_id=2129633926]
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
@ -10,7 +10,7 @@ grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
script = ExtResource("1_shxks") script = ExtResource("1_shxks")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=607708657]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -18,31 +18,31 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"] [node name="Label" type="Label" parent="VBoxContainer" unique_id=1346052317]
layout_mode = 2 layout_mode = 2
text = "The icon will be tied to an input action, swapping between keyboard/mouse and controller automatically." text = "The icon will be tied to an input action, swapping between keyboard/mouse and controller automatically."
horizontal_alignment = 1 horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=639428426]
layout_mode = 2 layout_mode = 2
[node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer"] [node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer" unique_id=1869311974]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
placeholder_text = "Filter by name..." placeholder_text = "Filter by name..."
clear_button_enabled = true clear_button_enabled = true
[node name="BuiltinActionButton" type="CheckButton" parent="VBoxContainer/HBoxContainer"] [node name="BuiltinActionButton" type="CheckButton" parent="VBoxContainer/HBoxContainer" unique_id=419605612]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
text = "Show Built-in Actions" text = "Show Built-in Actions"
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"] [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer" unique_id=869296746]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
[node name="Tree" type="Tree" parent="VBoxContainer/ScrollContainer"] [node name="Tree" type="Tree" parent="VBoxContainer/ScrollContainer" unique_id=1958908345]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=25 format=3 uid="uid://b3lplrf2w6kh7"] [gd_scene format=3 uid="uid://b3lplrf2w6kh7"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/path_selection/JoypadPathSelector.gd" id="1_4ryog"] [ext_resource type="Script" uid="uid://bmaqusfxa6q85" path="res://addons/controller_icons/objects/path_selection/JoypadPathSelector.gd" id="1_4ryog"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_yxfq6"] [ext_resource type="Script" uid="uid://ch00l1e1rteyw" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_yxfq6"]
[sub_resource type="ButtonGroup" id="ButtonGroup_haylq"] [sub_resource type="ButtonGroup" id="ButtonGroup_haylq"]
@ -9,192 +9,129 @@
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/l_stick" path = "joypad/l_stick"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_6klsb"] [sub_resource type="Texture2D" id="Texture2D_6klsb"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/l_stick_click" path = "joypad/l_stick_click"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_bij8j"] [sub_resource type="Texture2D" id="Texture2D_bij8j"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/r_stick" path = "joypad/r_stick"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_2h0w3"] [sub_resource type="Texture2D" id="Texture2D_2h0w3"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/r_stick_click" path = "joypad/r_stick_click"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_kvj2q"] [sub_resource type="Texture2D" id="Texture2D_kvj2q"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/lb" path = "joypad/lb"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_wtcrq"] [sub_resource type="Texture2D" id="Texture2D_wtcrq"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/lt" path = "joypad/lt"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_lfpf5"] [sub_resource type="Texture2D" id="Texture2D_lfpf5"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/rb" path = "joypad/rb"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_b3bsp"] [sub_resource type="Texture2D" id="Texture2D_b3bsp"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/rt" path = "joypad/rt"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_u40go"] [sub_resource type="Texture2D" id="Texture2D_u40go"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/a" path = "joypad/a"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_rnqww"] [sub_resource type="Texture2D" id="Texture2D_rnqww"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/b" path = "joypad/b"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_1a2yv"] [sub_resource type="Texture2D" id="Texture2D_1a2yv"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/x" path = "joypad/x"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_hktfi"] [sub_resource type="Texture2D" id="Texture2D_hktfi"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/y" path = "joypad/y"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_2ksy6"] [sub_resource type="Texture2D" id="Texture2D_2ksy6"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/select" path = "joypad/select"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_08sqi"] [sub_resource type="Texture2D" id="Texture2D_08sqi"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/start" path = "joypad/start"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_tivgf"] [sub_resource type="Texture2D" id="Texture2D_tivgf"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/home" path = "joypad/home"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_87fow"] [sub_resource type="Texture2D" id="Texture2D_87fow"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/share" path = "joypad/share"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_n4i6p"] [sub_resource type="Texture2D" id="Texture2D_n4i6p"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad" path = "joypad/dpad"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_eoyuo"] [sub_resource type="Texture2D" id="Texture2D_eoyuo"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_down" path = "joypad/dpad_down"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_c660e"] [sub_resource type="Texture2D" id="Texture2D_c660e"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_right" path = "joypad/dpad_right"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_riwus"] [sub_resource type="Texture2D" id="Texture2D_riwus"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_left" path = "joypad/dpad_left"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_onmvf"] [sub_resource type="Texture2D" id="Texture2D_onmvf"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("2_yxfq6") script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_up" path = "joypad/dpad_up"
show_only = 0
force_type = 0
[node name="Joypad Path" type="Panel"] [node name="Joypad Path" type="Panel" unique_id=765320828]
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
@ -202,7 +139,7 @@ grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
script = ExtResource("1_4ryog") script = ExtResource("1_4ryog")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1749594538]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -210,16 +147,16 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"] [node name="Label" type="Label" parent="VBoxContainer" unique_id=1718477869]
layout_mode = 2 layout_mode = 2
text = "The icon will only display a controller icon, changing dynamically according to the connected controller brand." text = "The icon will only display a controller icon, changing dynamically according to the connected controller brand."
horizontal_alignment = 1 horizontal_alignment = 1
[node name="Control" type="Control" parent="VBoxContainer"] [node name="Control" type="Control" parent="VBoxContainer" unique_id=923245007]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
[node name="ButtonLabel" type="Label" parent="VBoxContainer/Control"] [node name="ButtonLabel" type="Label" parent="VBoxContainer/Control" unique_id=247820962]
unique_name_in_owner = true unique_name_in_owner = true
custom_minimum_size = Vector2(350, 0) custom_minimum_size = Vector2(350, 0)
layout_mode = 1 layout_mode = 1
@ -235,7 +172,7 @@ text = "Press or click on the desired button..."
horizontal_alignment = 1 horizontal_alignment = 1
autowrap_mode = 3 autowrap_mode = 3
[node name="LStick" type="Button" parent="VBoxContainer/Control"] [node name="LStick" type="Button" parent="VBoxContainer/Control" unique_id=509548715]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -254,7 +191,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_nls54") icon = SubResource("Texture2D_nls54")
expand_icon = true expand_icon = true
[node name="LStickClick" type="Button" parent="VBoxContainer/Control"] [node name="LStickClick" type="Button" parent="VBoxContainer/Control" unique_id=261308393]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -273,7 +210,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_6klsb") icon = SubResource("Texture2D_6klsb")
expand_icon = true expand_icon = true
[node name="RStick" type="Button" parent="VBoxContainer/Control"] [node name="RStick" type="Button" parent="VBoxContainer/Control" unique_id=1498434362]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -292,7 +229,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_bij8j") icon = SubResource("Texture2D_bij8j")
expand_icon = true expand_icon = true
[node name="RStickClick" type="Button" parent="VBoxContainer/Control"] [node name="RStickClick" type="Button" parent="VBoxContainer/Control" unique_id=516800206]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -311,7 +248,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_2h0w3") icon = SubResource("Texture2D_2h0w3")
expand_icon = true expand_icon = true
[node name="LB" type="Button" parent="VBoxContainer/Control"] [node name="LB" type="Button" parent="VBoxContainer/Control" unique_id=1466164738]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -330,7 +267,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_kvj2q") icon = SubResource("Texture2D_kvj2q")
expand_icon = true expand_icon = true
[node name="LT" type="Button" parent="VBoxContainer/Control"] [node name="LT" type="Button" parent="VBoxContainer/Control" unique_id=1124827853]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -349,7 +286,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_wtcrq") icon = SubResource("Texture2D_wtcrq")
expand_icon = true expand_icon = true
[node name="RB" type="Button" parent="VBoxContainer/Control"] [node name="RB" type="Button" parent="VBoxContainer/Control" unique_id=1445384318]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -368,7 +305,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_lfpf5") icon = SubResource("Texture2D_lfpf5")
expand_icon = true expand_icon = true
[node name="RT" type="Button" parent="VBoxContainer/Control"] [node name="RT" type="Button" parent="VBoxContainer/Control" unique_id=6469349]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -387,7 +324,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_b3bsp") icon = SubResource("Texture2D_b3bsp")
expand_icon = true expand_icon = true
[node name="A" type="Button" parent="VBoxContainer/Control"] [node name="A" type="Button" parent="VBoxContainer/Control" unique_id=997906940]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -406,7 +343,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_u40go") icon = SubResource("Texture2D_u40go")
expand_icon = true expand_icon = true
[node name="B" type="Button" parent="VBoxContainer/Control"] [node name="B" type="Button" parent="VBoxContainer/Control" unique_id=1603204347]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -425,7 +362,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_rnqww") icon = SubResource("Texture2D_rnqww")
expand_icon = true expand_icon = true
[node name="X" type="Button" parent="VBoxContainer/Control"] [node name="X" type="Button" parent="VBoxContainer/Control" unique_id=1508949322]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -444,7 +381,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_1a2yv") icon = SubResource("Texture2D_1a2yv")
expand_icon = true expand_icon = true
[node name="Y" type="Button" parent="VBoxContainer/Control"] [node name="Y" type="Button" parent="VBoxContainer/Control" unique_id=2014875402]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -463,7 +400,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_hktfi") icon = SubResource("Texture2D_hktfi")
expand_icon = true expand_icon = true
[node name="Select" type="Button" parent="VBoxContainer/Control"] [node name="Select" type="Button" parent="VBoxContainer/Control" unique_id=1682288831]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -482,7 +419,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_2ksy6") icon = SubResource("Texture2D_2ksy6")
expand_icon = true expand_icon = true
[node name="Start" type="Button" parent="VBoxContainer/Control"] [node name="Start" type="Button" parent="VBoxContainer/Control" unique_id=613705021]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -501,7 +438,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_08sqi") icon = SubResource("Texture2D_08sqi")
expand_icon = true expand_icon = true
[node name="Home" type="Button" parent="VBoxContainer/Control"] [node name="Home" type="Button" parent="VBoxContainer/Control" unique_id=294856160]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -520,7 +457,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_tivgf") icon = SubResource("Texture2D_tivgf")
expand_icon = true expand_icon = true
[node name="Share" type="Button" parent="VBoxContainer/Control"] [node name="Share" type="Button" parent="VBoxContainer/Control" unique_id=566866623]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -539,7 +476,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_87fow") icon = SubResource("Texture2D_87fow")
expand_icon = true expand_icon = true
[node name="DPAD" type="Button" parent="VBoxContainer/Control"] [node name="DPAD" type="Button" parent="VBoxContainer/Control" unique_id=50424830]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -558,7 +495,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_n4i6p") icon = SubResource("Texture2D_n4i6p")
expand_icon = true expand_icon = true
[node name="DPADDown" type="Button" parent="VBoxContainer/Control"] [node name="DPADDown" type="Button" parent="VBoxContainer/Control" unique_id=70716784]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -577,7 +514,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_eoyuo") icon = SubResource("Texture2D_eoyuo")
expand_icon = true expand_icon = true
[node name="DPADRight" type="Button" parent="VBoxContainer/Control"] [node name="DPADRight" type="Button" parent="VBoxContainer/Control" unique_id=1636780892]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -596,7 +533,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_c660e") icon = SubResource("Texture2D_c660e")
expand_icon = true expand_icon = true
[node name="DPADLeft" type="Button" parent="VBoxContainer/Control"] [node name="DPADLeft" type="Button" parent="VBoxContainer/Control" unique_id=1805410265]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -615,7 +552,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_riwus") icon = SubResource("Texture2D_riwus")
expand_icon = true expand_icon = true
[node name="DPADUp" type="Button" parent="VBoxContainer/Control"] [node name="DPADUp" type="Button" parent="VBoxContainer/Control" unique_id=332093229]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -638,12 +575,12 @@ expand_icon = true
[connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_l_stick_click_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_l_stick_click_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_r_stick_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_r_stick_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_r_stick_click_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_r_stick_click_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_lb_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_lb_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_lt_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_lt_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RB" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RB" to="." method="_on_button_pressed"]
@ -652,12 +589,12 @@ expand_icon = true
[connection signal="pressed" from="VBoxContainer/Control/RT" to="." method="_on_rt_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RT" to="." method="_on_rt_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_a_pressed"] [connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_a_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_b_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_b_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_x_pressed"] [connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_x_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_y_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_y_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_select_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_select_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_button_pressed"]
@ -666,8 +603,8 @@ expand_icon = true
[connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_home_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_home_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_share_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_share_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_dpad_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_dpad_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_dpad_down_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_dpad_down_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_button_pressed"]

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://d2ow6e2ba86b6"] [gd_scene format=3 uid="uid://d2ow6e2ba86b6"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/path_selection/SpecificPathSelector.gd" id="1_iqwfd"] [ext_resource type="Script" uid="uid://byr7oqfrmvvrr" path="res://addons/controller_icons/objects/path_selection/SpecificPathSelector.gd" id="1_iqwfd"]
[node name="Specific Path" type="Panel"] [node name="Specific Path" type="Panel" unique_id=1160258465]
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
@ -10,7 +10,7 @@ grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
script = ExtResource("1_iqwfd") script = ExtResource("1_iqwfd")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1437304502]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -18,31 +18,31 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"] [node name="Label" type="Label" parent="VBoxContainer" unique_id=1162334022]
layout_mode = 2 layout_mode = 2
text = "The icon will be set to a specific asset, without any dynamic remapping." text = "The icon will be set to a specific asset, without any dynamic remapping."
horizontal_alignment = 1 horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1050160720]
layout_mode = 2 layout_mode = 2
[node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer"] [node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer" unique_id=1859599372]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
placeholder_text = "Filter by name..." placeholder_text = "Filter by name..."
clear_button_enabled = true clear_button_enabled = true
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"] [node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer" unique_id=1391841572]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HSplitContainer"] [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HSplitContainer" unique_id=1924056680]
custom_minimum_size = Vector2(200, 0) custom_minimum_size = Vector2(200, 0)
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 0 size_flags_horizontal = 0
[node name="BaseAssetNames" type="Tree" parent="VBoxContainer/HSplitContainer/ScrollContainer"] [node name="BaseAssetNames" type="Tree" parent="VBoxContainer/HSplitContainer/ScrollContainer" unique_id=1641664959]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
@ -50,14 +50,14 @@ size_flags_vertical = 3
hide_folding = true hide_folding = true
hide_root = true hide_root = true
[node name="ScrollContainer2" type="ScrollContainer" parent="VBoxContainer/HSplitContainer"] [node name="ScrollContainer2" type="ScrollContainer" parent="VBoxContainer/HSplitContainer" unique_id=834702801]
custom_minimum_size = Vector2(200, 0) custom_minimum_size = Vector2(200, 0)
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
follow_focus = true follow_focus = true
horizontal_scroll_mode = 0 horizontal_scroll_mode = 0
[node name="AssetsContainer" type="HFlowContainer" parent="VBoxContainer/HSplitContainer/ScrollContainer2"] [node name="AssetsContainer" type="HFlowContainer" parent="VBoxContainer/HSplitContainer/ScrollContainer2" unique_id=1445983063]
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3

View File

@ -1,12 +1,6 @@
[gd_resource type="Resource" script_class="ControllerSettings" load_steps=2 format=3 uid="uid://dolsrvh5w47et"] [gd_resource type="Resource" script_class="ControllerSettings" format=3 uid="uid://dolsrvh5w47et"]
[ext_resource type="Script" path="res://addons/controller_icons/ControllerSettings.gd" id="1"] [ext_resource type="Script" uid="uid://decjbfcobhp82" path="res://addons/controller_icons/ControllerSettings.gd" id="1"]
[resource] [resource]
script = ExtResource("1") script = ExtResource("1")
joypad_fallback = 9
joypad_deadzone = 0.5
allow_mouse_remap = true
mouse_min_movement = 200
custom_asset_dir = ""
custom_file_extension = ""

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c38215ysnknyk"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://c38215ysnknyk"]
[ext_resource type="Texture2D" uid="uid://d4m1r5bjq4lbe" path="res://assets/materials/dev/dark/texture_01.png" id="1_38xbi"] [ext_resource type="Texture2D" uid="uid://d4m1r5bjq4lbe" path="res://assets/dev/dark/texture_01.png" id="1_38xbi"]
[resource] [resource]
albedo_texture = ExtResource("1_38xbi") albedo_texture = ExtResource("1_38xbi")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://olxux7okrb2b"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://olxux7okrb2b"]
[ext_resource type="Texture2D" uid="uid://c8a1v7bw3jjca" path="res://assets/materials/dev/dark/texture_02.png" id="1_jl162"] [ext_resource type="Texture2D" uid="uid://c8a1v7bw3jjca" path="res://assets/dev/dark/texture_02.png" id="1_jl162"]
[resource] [resource]
albedo_texture = ExtResource("1_jl162") albedo_texture = ExtResource("1_jl162")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://blkew2hja11cj"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://blkew2hja11cj"]
[ext_resource type="Texture2D" uid="uid://crgcp76xdixb" path="res://assets/materials/dev/dark/texture_03.png" id="1_t7bo5"] [ext_resource type="Texture2D" uid="uid://crgcp76xdixb" path="res://assets/dev/dark/texture_03.png" id="1_t7bo5"]
[resource] [resource]
albedo_texture = ExtResource("1_t7bo5") albedo_texture = ExtResource("1_t7bo5")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://biu40ot7f55no"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://biu40ot7f55no"]
[ext_resource type="Texture2D" uid="uid://djftxgnhedhk2" path="res://assets/materials/dev/dark/texture_05.png" id="1_l8w0p"] [ext_resource type="Texture2D" uid="uid://djftxgnhedhk2" path="res://assets/dev/dark/texture_05.png" id="1_l8w0p"]
[resource] [resource]
albedo_texture = ExtResource("1_l8w0p") albedo_texture = ExtResource("1_l8w0p")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dto0mke6wp060"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://dto0mke6wp060"]
[ext_resource type="Texture2D" uid="uid://d4m1r5bjq4lbe" path="res://assets/materials/dev/dark/texture_01.png" id="1_c2346"] [ext_resource type="Texture2D" uid="uid://d4m1r5bjq4lbe" path="res://assets/dev/dark/texture_01.png" id="1_c2346"]
[resource] [resource]
albedo_texture = ExtResource("1_c2346") albedo_texture = ExtResource("1_c2346")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bahys2ntbh2ap"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://bahys2ntbh2ap"]
[ext_resource type="Texture2D" uid="uid://g26nr5u8081t" path="res://assets/materials/dev/orange/texture_01.png" id="1_vb3n0"] [ext_resource type="Texture2D" uid="uid://g26nr5u8081t" path="res://assets/dev/orange/texture_01.png" id="1_vb3n0"]
[resource] [resource]
albedo_texture = ExtResource("1_vb3n0") albedo_texture = ExtResource("1_vb3n0")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://r527wj0qbkvs"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://r527wj0qbkvs"]
[ext_resource type="Texture2D" uid="uid://12e0onm52r6b" path="res://assets/materials/dev/orange/texture_02.png" id="1_4qkig"] [ext_resource type="Texture2D" uid="uid://12e0onm52r6b" path="res://assets/dev/orange/texture_02.png" id="1_4qkig"]
[resource] [resource]
albedo_texture = ExtResource("1_4qkig") albedo_texture = ExtResource("1_4qkig")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://diwfj3ywaniq5"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://diwfj3ywaniq5"]
[ext_resource type="Texture2D" uid="uid://eemth84vpstv" path="res://assets/materials/dev/orange/texture_03.png" id="1_fipy7"] [ext_resource type="Texture2D" uid="uid://eemth84vpstv" path="res://assets/dev/orange/texture_03.png" id="1_fipy7"]
[resource] [resource]
albedo_texture = ExtResource("1_fipy7") albedo_texture = ExtResource("1_fipy7")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bwbwqb84pmji3"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://bwbwqb84pmji3"]
[ext_resource type="Texture2D" uid="uid://bgj70nov05sqo" path="res://assets/materials/dev/orange/texture_04.png" id="1_mje5s"] [ext_resource type="Texture2D" uid="uid://bgj70nov05sqo" path="res://assets/dev/orange/texture_04.png" id="1_mje5s"]
[resource] [resource]
albedo_texture = ExtResource("1_mje5s") albedo_texture = ExtResource("1_mje5s")

View File

@ -1,6 +1,6 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://d02jll28bgkap"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://d02jll28bgkap"]
[ext_resource type="Texture2D" uid="uid://5erjqyy4c7xn" path="res://assets/materials/dev/orange/texture_05.png" id="1_phgo0"] [ext_resource type="Texture2D" uid="uid://5erjqyy4c7xn" path="res://assets/dev/orange/texture_05.png" id="1_phgo0"]
[resource] [resource]
albedo_texture = ExtResource("1_phgo0") albedo_texture = ExtResource("1_phgo0")

View File

@ -18,10 +18,10 @@ config/icon="res://godot_icon.svg"
[autoload] [autoload]
ControllerIcons="*uid://ddcwjvcc65eg0"
SPrint="*uid://cpfunq8fyixco" SPrint="*uid://cpfunq8fyixco"
VersionDisplay="*uid://bqxtpo2c64h22" VersionDisplay="*uid://bqxtpo2c64h22"
InputManager="*uid://cocp0vmvgd4ln" InputManager="*uid://cocp0vmvgd4ln"
ControllerIcons="*uid://bdosbfkp568je"
[debug] [debug]
@ -176,4 +176,3 @@ locale/translations=PackedStringArray("res://localization/localization.en.transl
rendering_device/driver.windows="d3d12" rendering_device/driver.windows="d3d12"
anti_aliasing/quality/msaa_3d=3 anti_aliasing/quality/msaa_3d=3
occlusion_culling/use_occlusion_culling=true occlusion_culling/use_occlusion_culling=true
environment/defaults/default_environment="uid://dimoldnkk6fig"

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://nsxr1qkvivsf" path="res://src/gameplay/systems/flashlight/flashlight_battery.gd" id="1_p5331"] [ext_resource type="Script" uid="uid://nsxr1qkvivsf" path="res://src/gameplay/systems/flashlight/flashlight_battery.gd" id="1_p5331"]
[ext_resource type="Script" uid="uid://ckdo7huqoleoi" path="res://src/core/interaction/interaction_types/pickup.gd" id="2_0r1sb"] [ext_resource type="Script" uid="uid://ckdo7huqoleoi" path="res://src/core/interaction/interaction_types/pickup.gd" id="2_0r1sb"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="3_3nps0"] [ext_resource type="Script" uid="uid://ch00l1e1rteyw" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="3_3nps0"]
[ext_resource type="PackedScene" uid="uid://2dre1e56emw6" path="res://src/core/interaction/interaction_area.tscn" id="3_ouj7b"] [ext_resource type="PackedScene" uid="uid://2dre1e56emw6" path="res://src/core/interaction/interaction_area.tscn" id="3_ouj7b"]
[sub_resource type="CylinderMesh" id="CylinderMesh_0r1sb"] [sub_resource type="CylinderMesh" id="CylinderMesh_0r1sb"]

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://dkao86mwhq1tm" path="res://src/gameplay/systems/power_box/fuse_pickup.gd" id="1_b733i"] [ext_resource type="Script" uid="uid://dkao86mwhq1tm" path="res://src/gameplay/systems/power_box/fuse_pickup.gd" id="1_b733i"]
[ext_resource type="Script" uid="uid://ckdo7huqoleoi" path="res://src/core/interaction/interaction_types/pickup.gd" id="2_of2nm"] [ext_resource type="Script" uid="uid://ckdo7huqoleoi" path="res://src/core/interaction/interaction_types/pickup.gd" id="2_of2nm"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="3_hqmg0"] [ext_resource type="Script" uid="uid://ch00l1e1rteyw" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="3_hqmg0"]
[ext_resource type="PackedScene" uid="uid://2dre1e56emw6" path="res://src/core/interaction/interaction_area.tscn" id="4_3b6jw"] [ext_resource type="PackedScene" uid="uid://2dre1e56emw6" path="res://src/core/interaction/interaction_area.tscn" id="4_3b6jw"]
[sub_resource type="Texture2D" id="Texture2D_3b6jw"] [sub_resource type="Texture2D" id="Texture2D_3b6jw"]

View File

@ -2,15 +2,15 @@
[ext_resource type="Script" uid="uid://bpvawt7ate0ug" path="res://src/gameplay/systems/power_box/power_box.gd" id="1_m14vv"] [ext_resource type="Script" uid="uid://bpvawt7ate0ug" path="res://src/gameplay/systems/power_box/power_box.gd" id="1_m14vv"]
[ext_resource type="Script" uid="uid://ckdo7huqoleoi" path="res://src/core/interaction/interaction_types/pickup.gd" id="2_35cpc"] [ext_resource type="Script" uid="uid://ckdo7huqoleoi" path="res://src/core/interaction/interaction_types/pickup.gd" id="2_35cpc"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="3_35cpc"] [ext_resource type="Script" uid="uid://ch00l1e1rteyw" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="3_35cpc"]
[ext_resource type="PackedScene" uid="uid://2dre1e56emw6" path="res://src/core/interaction/interaction_area.tscn" id="4_v6qxf"] [ext_resource type="PackedScene" uid="uid://2dre1e56emw6" path="res://src/core/interaction/interaction_area.tscn" id="4_v6qxf"]
[sub_resource type="Texture2D" id="Texture2D_v6qxf"] [sub_resource type="Texture2D" id="Texture2D_35cpc"]
resource_local_to_scene = false resource_local_to_scene = false
resource_name = "" resource_name = ""
script = ExtResource("3_35cpc") script = ExtResource("3_35cpc")
path = "interact" path = "interact"
metadata/_custom_type_script = "uid://c2w177bb5r70x" metadata/_custom_type_script = "uid://ch00l1e1rteyw"
[sub_resource type="BoxShape3D" id="BoxShape3D_v6qxf"] [sub_resource type="BoxShape3D" id="BoxShape3D_v6qxf"]
size = Vector3(0.5, 0.8, 0.5) size = Vector3(0.5, 0.8, 0.5)
@ -25,7 +25,7 @@ metadata/_custom_type_script = "uid://bpvawt7ate0ug"
[node name="PickupInteraction" type="Node" parent="." unique_id=1698155134] [node name="PickupInteraction" type="Node" parent="." unique_id=1698155134]
script = ExtResource("2_35cpc") script = ExtResource("2_35cpc")
button_prompt = SubResource("Texture2D_v6qxf") button_prompt = SubResource("Texture2D_35cpc")
metadata/_custom_type_script = "uid://ckdo7huqoleoi" metadata/_custom_type_script = "uid://ckdo7huqoleoi"
[node name="InteractionArea" parent="." unique_id=1987460629 node_paths=PackedStringArray("interaction_types") instance=ExtResource("4_v6qxf")] [node name="InteractionArea" parent="." unique_id=1987460629 node_paths=PackedStringArray("interaction_types") instance=ExtResource("4_v6qxf")]

View File

@ -599,13 +599,13 @@ material = ExtResource("4_8xmty")
[node name="godot_plush V2" parent="." index="7" unique_id=1756431274 instance=ExtResource("8_qm8ha")] [node name="godot_plush V2" parent="." index="7" unique_id=1756431274 instance=ExtResource("8_qm8ha")]
transform = Transform3D(-50, 0, 4.371139e-06, 0, 50, 0, -4.371139e-06, 0, -50, 0, 5.628097, 0) transform = Transform3D(-50, 0, 4.371139e-06, 0, 50, 0, -4.371139e-06, 0, -50, 0, 5.628097, 0)
[node name="godot_plush_01" parent="godot_plush V2" index="0" unique_id=1349065114] [node name="godot_plush_01" parent="godot_plush V2" index="0" unique_id=1748171278]
visible = false visible = false
[node name="godot_plush_sitted" parent="godot_plush V2" index="1" unique_id=1735494843] [node name="godot_plush_sitted" parent="godot_plush V2" index="1" unique_id=438565683]
visible = false visible = false
[node name="godot_plush_02" parent="godot_plush V2" index="2" unique_id=460556493] [node name="godot_plush_02" parent="godot_plush V2" index="2" unique_id=1913873414]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0025618896, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0025618896, 0)
[node name="Objects" type="Node3D" parent="." index="8" unique_id=249052389] [node name="Objects" type="Node3D" parent="." index="8" unique_id=249052389]