diff --git a/addons/super_awesome_input_icons/classes/input_icon_texture_rect.gd b/addons/super_awesome_input_icons/classes/input_icon_texture_rect.gd index ee82003..163402b 100644 --- a/addons/super_awesome_input_icons/classes/input_icon_texture_rect.gd +++ b/addons/super_awesome_input_icons/classes/input_icon_texture_rect.gd @@ -41,6 +41,11 @@ func _update_icon(): break # If it's a gamepad input and we're using a gamepad, use the corresponding gamepad input icon + elif n.is_class("InputEventJoypadMotion") and input_icon.using_gamepad: + if input_icon.gamepad_type: + texture = load("res://addons/super_awesome_input_icons/textures/" + input_icon.gamepad_type + "/" + input_icon.axis_dictionary[n.axis][roundi(n.axis_value)] + ".png") + + break elif n.is_class("InputEventJoypadButton") and input_icon.using_gamepad: if input_icon.gamepad_type: diff --git a/addons/super_awesome_input_icons/input_icon.gd b/addons/super_awesome_input_icons/input_icon.gd index 5450871..e8547ac 100644 --- a/addons/super_awesome_input_icons/input_icon.gd +++ b/addons/super_awesome_input_icons/input_icon.gd @@ -22,6 +22,7 @@ static var button_dictionary = { JOY_BUTTON_LEFT_SHOULDER: "left_shoulder", JOY_BUTTON_RIGHT_SHOULDER: "left_shoulder", JOY_BUTTON_PADDLE1: "left_shoulder", + JOY_BUTTON_BACK: "back" } static var mouse_button_dictionary = { @@ -34,8 +35,28 @@ static var mouse_button_dictionary = { ## A dictionary where each JoyAxis key corresponds to a string pair. Used for textures. static var axis_dictionary = { - JOY_AXIS_TRIGGER_LEFT: "left_trigger", - JOY_AXIS_TRIGGER_RIGHT: "right_trigger" + JOY_AXIS_TRIGGER_LEFT: { + 1: "left_trigger" + }, + JOY_AXIS_TRIGGER_RIGHT: { + 1: "right_trigger" + }, + JOY_AXIS_LEFT_Y: { + -1: "left_stick_up", + 1: "left_stick_down" + }, + JOY_AXIS_LEFT_X: { + -1: "left_stick_left", + 1: "left_stick_right" + }, + JOY_AXIS_RIGHT_X: { + -1: "right_stick_left", + 1: "right_stick_right" + }, + JOY_AXIS_RIGHT_Y: { + -1: "right_stick_up", + 1: "right_stick_down" + }, } func check_gamepad_type(): diff --git a/addons/super_awesome_input_icons/textures/generic/back.png b/addons/super_awesome_input_icons/textures/generic/back.png new file mode 100644 index 0000000..2756840 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/back.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png.import b/addons/super_awesome_input_icons/textures/generic/back.png.import similarity index 76% rename from addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png.import rename to addons/super_awesome_input_icons/textures/generic/back.png.import index 537844c..94cebf0 100644 --- a/addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png.import +++ b/addons/super_awesome_input_icons/textures/generic/back.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://xqvb5b5schdo" -path="res://.godot/imported/xbox_ls_outline.png-f3469c1aae8c163458a4d40e276b88d0.ctex" +uid="uid://538dteaw2mde" +path="res://.godot/imported/back.png-8f98e5f77b35d92b5fe1300e589b956e.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png" -dest_files=["res://.godot/imported/xbox_ls_outline.png-f3469c1aae8c163458a4d40e276b88d0.ctex"] +source_file="res://addons/super_awesome_input_icons/textures/generic/back.png" +dest_files=["res://.godot/imported/back.png-8f98e5f77b35d92b5fe1300e589b956e.ctex"] [params] diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_down.png b/addons/super_awesome_input_icons/textures/generic/left_stick_down.png new file mode 100644 index 0000000..fd66661 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/left_stick_down.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png.import b/addons/super_awesome_input_icons/textures/generic/left_stick_down.png.import similarity index 76% rename from addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png.import rename to addons/super_awesome_input_icons/textures/generic/left_stick_down.png.import index 456038a..4f27b38 100644 --- a/addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png.import +++ b/addons/super_awesome_input_icons/textures/generic/left_stick_down.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cy8u4i583xrki" -path="res://.godot/imported/xbox_rs_outline.png-f9b5f2f0c454860ab5c0fd346e2ef02e.ctex" +uid="uid://dkbxd1wrncfpq" +path="res://.godot/imported/left_stick_down.png-b633edccfaa552ac666ca87c9d3cb159.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png" -dest_files=["res://.godot/imported/xbox_rs_outline.png-f9b5f2f0c454860ab5c0fd346e2ef02e.ctex"] +source_file="res://addons/super_awesome_input_icons/textures/generic/left_stick_down.png" +dest_files=["res://.godot/imported/left_stick_down.png-b633edccfaa552ac666ca87c9d3cb159.ctex"] [params] diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_left.png b/addons/super_awesome_input_icons/textures/generic/left_stick_left.png new file mode 100644 index 0000000..b13f531 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/left_stick_left.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_left.png.import b/addons/super_awesome_input_icons/textures/generic/left_stick_left.png.import new file mode 100644 index 0000000..2450712 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/left_stick_left.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://nklbrmq1pskp" +path="res://.godot/imported/left_stick_left.png-9b021c648575dfe5deadae5dab32dff1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/left_stick_left.png" +dest_files=["res://.godot/imported/left_stick_left.png-9b021c648575dfe5deadae5dab32dff1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_right.png b/addons/super_awesome_input_icons/textures/generic/left_stick_right.png new file mode 100644 index 0000000..4d1cae8 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/left_stick_right.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_right.png.import b/addons/super_awesome_input_icons/textures/generic/left_stick_right.png.import new file mode 100644 index 0000000..336a4a6 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/left_stick_right.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ca20wag4srrox" +path="res://.godot/imported/left_stick_right.png-8e577bcc852034e579fd3d0ac4b4aa98.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/left_stick_right.png" +dest_files=["res://.godot/imported/left_stick_right.png-8e577bcc852034e579fd3d0ac4b4aa98.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_up.png b/addons/super_awesome_input_icons/textures/generic/left_stick_up.png new file mode 100644 index 0000000..c113abd Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/left_stick_up.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/left_stick_up.png.import b/addons/super_awesome_input_icons/textures/generic/left_stick_up.png.import new file mode 100644 index 0000000..cce2654 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/left_stick_up.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1wgnf1p8ma3x" +path="res://.godot/imported/left_stick_up.png-92b9f70bd8a62a474c865b37f027971c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/left_stick_up.png" +dest_files=["res://.godot/imported/left_stick_up.png-92b9f70bd8a62a474c865b37f027971c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_down.png b/addons/super_awesome_input_icons/textures/generic/right_stick_down.png new file mode 100644 index 0000000..bb9db74 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/right_stick_down.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_down.png.import b/addons/super_awesome_input_icons/textures/generic/right_stick_down.png.import new file mode 100644 index 0000000..0f8c8c2 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/right_stick_down.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bip1wvk8cof2j" +path="res://.godot/imported/right_stick_down.png-0a478e28ba2e9a886e126a25e0aa9ddc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/right_stick_down.png" +dest_files=["res://.godot/imported/right_stick_down.png-0a478e28ba2e9a886e126a25e0aa9ddc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_left.png b/addons/super_awesome_input_icons/textures/generic/right_stick_left.png new file mode 100644 index 0000000..45b049a Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/right_stick_left.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_left.png.import b/addons/super_awesome_input_icons/textures/generic/right_stick_left.png.import new file mode 100644 index 0000000..eba405e --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/right_stick_left.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://2vtin2eh5wde" +path="res://.godot/imported/right_stick_left.png-8d9cc674af50ba26eadbec73a30cd01d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/right_stick_left.png" +dest_files=["res://.godot/imported/right_stick_left.png-8d9cc674af50ba26eadbec73a30cd01d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_right.png b/addons/super_awesome_input_icons/textures/generic/right_stick_right.png new file mode 100644 index 0000000..07c116f Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/right_stick_right.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_right.png.import b/addons/super_awesome_input_icons/textures/generic/right_stick_right.png.import new file mode 100644 index 0000000..4619a6d --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/right_stick_right.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bccyviemjovcf" +path="res://.godot/imported/right_stick_right.png-e4946c36c7c37518a9c22403dee4da45.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/right_stick_right.png" +dest_files=["res://.godot/imported/right_stick_right.png-e4946c36c7c37518a9c22403dee4da45.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_up.png b/addons/super_awesome_input_icons/textures/generic/right_stick_up.png new file mode 100644 index 0000000..a3aad3c Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/right_stick_up.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/right_stick_up.png.import b/addons/super_awesome_input_icons/textures/generic/right_stick_up.png.import new file mode 100644 index 0000000..8eeafdb --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/right_stick_up.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cypvvq1s14m8w" +path="res://.godot/imported/right_stick_up.png-a4c8630be424a9d03cf60cd120a2f01f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/right_stick_up.png" +dest_files=["res://.godot/imported/right_stick_up.png-a4c8630be424a9d03cf60cd120a2f01f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/start.png b/addons/super_awesome_input_icons/textures/generic/start.png new file mode 100644 index 0000000..5a168af Binary files /dev/null and b/addons/super_awesome_input_icons/textures/generic/start.png differ diff --git a/addons/super_awesome_input_icons/textures/generic/start.png.import b/addons/super_awesome_input_icons/textures/generic/start.png.import new file mode 100644 index 0000000..715b85a --- /dev/null +++ b/addons/super_awesome_input_icons/textures/generic/start.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://w8vqntv66xw4" +path="res://.godot/imported/start.png-b49c5bb12f5618e04bd5031459dfc2e9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/generic/start.png" +dest_files=["res://.godot/imported/start.png-b49c5bb12f5618e04bd5031459dfc2e9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png b/addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png deleted file mode 100644 index 524ae24..0000000 Binary files a/addons/super_awesome_input_icons/textures/generic/xbox_ls_outline.png and /dev/null differ diff --git a/addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png b/addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png deleted file mode 100644 index 4bbbe32..0000000 Binary files a/addons/super_awesome_input_icons/textures/generic/xbox_rs_outline.png and /dev/null differ diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_down.png b/addons/super_awesome_input_icons/textures/playstation/left_stick_down.png new file mode 100644 index 0000000..fd66661 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/left_stick_down.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_down.png.import b/addons/super_awesome_input_icons/textures/playstation/left_stick_down.png.import new file mode 100644 index 0000000..eccb8c3 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/left_stick_down.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dk7kk0knykb1x" +path="res://.godot/imported/left_stick_down.png-24923b8dd0496334a76c7855906d5682.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/left_stick_down.png" +dest_files=["res://.godot/imported/left_stick_down.png-24923b8dd0496334a76c7855906d5682.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_left.png b/addons/super_awesome_input_icons/textures/playstation/left_stick_left.png new file mode 100644 index 0000000..b13f531 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/left_stick_left.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_left.png.import b/addons/super_awesome_input_icons/textures/playstation/left_stick_left.png.import new file mode 100644 index 0000000..0d17346 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/left_stick_left.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dkmqvy8gkrgo0" +path="res://.godot/imported/left_stick_left.png-69555fd431b6027efb15dce6d425d710.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/left_stick_left.png" +dest_files=["res://.godot/imported/left_stick_left.png-69555fd431b6027efb15dce6d425d710.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_right.png b/addons/super_awesome_input_icons/textures/playstation/left_stick_right.png new file mode 100644 index 0000000..4d1cae8 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/left_stick_right.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_right.png.import b/addons/super_awesome_input_icons/textures/playstation/left_stick_right.png.import new file mode 100644 index 0000000..444fd81 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/left_stick_right.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://2wfwvotx7hqt" +path="res://.godot/imported/left_stick_right.png-c0728cd93791d14a5e5868fc9d39b393.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/left_stick_right.png" +dest_files=["res://.godot/imported/left_stick_right.png-c0728cd93791d14a5e5868fc9d39b393.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_up.png b/addons/super_awesome_input_icons/textures/playstation/left_stick_up.png new file mode 100644 index 0000000..c113abd Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/left_stick_up.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/left_stick_up.png.import b/addons/super_awesome_input_icons/textures/playstation/left_stick_up.png.import new file mode 100644 index 0000000..918600d --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/left_stick_up.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bh0yvf8jiwatv" +path="res://.godot/imported/left_stick_up.png-b6b530c7c7661bfbd29db22dce2cc39c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/left_stick_up.png" +dest_files=["res://.godot/imported/left_stick_up.png-b6b530c7c7661bfbd29db22dce2cc39c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_down.png b/addons/super_awesome_input_icons/textures/playstation/right_stick_down.png new file mode 100644 index 0000000..bb9db74 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/right_stick_down.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_down.png.import b/addons/super_awesome_input_icons/textures/playstation/right_stick_down.png.import new file mode 100644 index 0000000..9f00b13 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/right_stick_down.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5vrfbtvjv33r" +path="res://.godot/imported/right_stick_down.png-06be6edfad15f60ff027915db45cb0d3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/right_stick_down.png" +dest_files=["res://.godot/imported/right_stick_down.png-06be6edfad15f60ff027915db45cb0d3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_left.png b/addons/super_awesome_input_icons/textures/playstation/right_stick_left.png new file mode 100644 index 0000000..45b049a Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/right_stick_left.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_left.png.import b/addons/super_awesome_input_icons/textures/playstation/right_stick_left.png.import new file mode 100644 index 0000000..836e591 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/right_stick_left.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://v60c36mugluo" +path="res://.godot/imported/right_stick_left.png-f3af3407b89c84311551f484a44abc37.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/right_stick_left.png" +dest_files=["res://.godot/imported/right_stick_left.png-f3af3407b89c84311551f484a44abc37.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_right.png b/addons/super_awesome_input_icons/textures/playstation/right_stick_right.png new file mode 100644 index 0000000..07c116f Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/right_stick_right.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_right.png.import b/addons/super_awesome_input_icons/textures/playstation/right_stick_right.png.import new file mode 100644 index 0000000..27ffa63 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/right_stick_right.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cpr5urirtg4yt" +path="res://.godot/imported/right_stick_right.png-0ac97397cde3f6896b385216d7ee4148.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/right_stick_right.png" +dest_files=["res://.godot/imported/right_stick_right.png-0ac97397cde3f6896b385216d7ee4148.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_up.png b/addons/super_awesome_input_icons/textures/playstation/right_stick_up.png new file mode 100644 index 0000000..a3aad3c Binary files /dev/null and b/addons/super_awesome_input_icons/textures/playstation/right_stick_up.png differ diff --git a/addons/super_awesome_input_icons/textures/playstation/right_stick_up.png.import b/addons/super_awesome_input_icons/textures/playstation/right_stick_up.png.import new file mode 100644 index 0000000..8136101 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/playstation/right_stick_up.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://nvwgonwpld88" +path="res://.godot/imported/right_stick_up.png-bb312f7a562947aa9249c33633124641.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/playstation/right_stick_up.png" +dest_files=["res://.godot/imported/right_stick_up.png-bb312f7a562947aa9249c33633124641.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/playstation/select.png b/addons/super_awesome_input_icons/textures/playstation/start.png similarity index 100% rename from addons/super_awesome_input_icons/textures/playstation/select.png rename to addons/super_awesome_input_icons/textures/playstation/start.png diff --git a/addons/super_awesome_input_icons/textures/playstation/select.png.import b/addons/super_awesome_input_icons/textures/playstation/start.png.import similarity index 78% rename from addons/super_awesome_input_icons/textures/playstation/select.png.import rename to addons/super_awesome_input_icons/textures/playstation/start.png.import index 3aff91e..4538881 100644 --- a/addons/super_awesome_input_icons/textures/playstation/select.png.import +++ b/addons/super_awesome_input_icons/textures/playstation/start.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bqg6emc2vouf0" -path="res://.godot/imported/select.png-616cea1760a5645d468255fd5969e1b9.ctex" +uid="uid://b2joge1ip221j" +path="res://.godot/imported/start.png-6affcaa1d95ebe708a173681fc614daa.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://addons/super_awesome_input_icons/textures/playstation/select.png" -dest_files=["res://.godot/imported/select.png-616cea1760a5645d468255fd5969e1b9.ctex"] +source_file="res://addons/super_awesome_input_icons/textures/playstation/start.png" +dest_files=["res://.godot/imported/start.png-6affcaa1d95ebe708a173681fc614daa.ctex"] [params] diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_down.png b/addons/super_awesome_input_icons/textures/switch/left_stick_down.png new file mode 100644 index 0000000..fd66661 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/left_stick_down.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_down.png.import b/addons/super_awesome_input_icons/textures/switch/left_stick_down.png.import new file mode 100644 index 0000000..42f35c7 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/left_stick_down.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b7rurmng8y2q1" +path="res://.godot/imported/left_stick_down.png-ea5bae359678afd44779593235caba7e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/left_stick_down.png" +dest_files=["res://.godot/imported/left_stick_down.png-ea5bae359678afd44779593235caba7e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_left.png b/addons/super_awesome_input_icons/textures/switch/left_stick_left.png new file mode 100644 index 0000000..b13f531 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/left_stick_left.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_left.png.import b/addons/super_awesome_input_icons/textures/switch/left_stick_left.png.import new file mode 100644 index 0000000..406692f --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/left_stick_left.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b40wmnpv3huvc" +path="res://.godot/imported/left_stick_left.png-470649cbe845757731366b6da5d149f0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/left_stick_left.png" +dest_files=["res://.godot/imported/left_stick_left.png-470649cbe845757731366b6da5d149f0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_right.png b/addons/super_awesome_input_icons/textures/switch/left_stick_right.png new file mode 100644 index 0000000..4d1cae8 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/left_stick_right.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_right.png.import b/addons/super_awesome_input_icons/textures/switch/left_stick_right.png.import new file mode 100644 index 0000000..8ab1a99 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/left_stick_right.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c4dwloosj1xre" +path="res://.godot/imported/left_stick_right.png-71862f6eba9fc39a34428d48fa62c7e3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/left_stick_right.png" +dest_files=["res://.godot/imported/left_stick_right.png-71862f6eba9fc39a34428d48fa62c7e3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_up.png b/addons/super_awesome_input_icons/textures/switch/left_stick_up.png new file mode 100644 index 0000000..c113abd Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/left_stick_up.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/left_stick_up.png.import b/addons/super_awesome_input_icons/textures/switch/left_stick_up.png.import new file mode 100644 index 0000000..d35fc97 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/left_stick_up.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://yin14inm65ej" +path="res://.godot/imported/left_stick_up.png-33366963b74aa8c11e2ac8177791b524.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/left_stick_up.png" +dest_files=["res://.godot/imported/left_stick_up.png-33366963b74aa8c11e2ac8177791b524.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_down.png b/addons/super_awesome_input_icons/textures/switch/right_stick_down.png new file mode 100644 index 0000000..bb9db74 Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/right_stick_down.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_down.png.import b/addons/super_awesome_input_icons/textures/switch/right_stick_down.png.import new file mode 100644 index 0000000..725159e --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/right_stick_down.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dgwoogrq73ews" +path="res://.godot/imported/right_stick_down.png-deea7cae420ccc1ac92529b659c4ff4a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/right_stick_down.png" +dest_files=["res://.godot/imported/right_stick_down.png-deea7cae420ccc1ac92529b659c4ff4a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_left.png b/addons/super_awesome_input_icons/textures/switch/right_stick_left.png new file mode 100644 index 0000000..45b049a Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/right_stick_left.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_left.png.import b/addons/super_awesome_input_icons/textures/switch/right_stick_left.png.import new file mode 100644 index 0000000..131c50b --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/right_stick_left.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dba3hm5t1n3cs" +path="res://.godot/imported/right_stick_left.png-3c45eb204f2286194032e1df2cd00c3e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/right_stick_left.png" +dest_files=["res://.godot/imported/right_stick_left.png-3c45eb204f2286194032e1df2cd00c3e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_right.png b/addons/super_awesome_input_icons/textures/switch/right_stick_right.png new file mode 100644 index 0000000..07c116f Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/right_stick_right.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_right.png.import b/addons/super_awesome_input_icons/textures/switch/right_stick_right.png.import new file mode 100644 index 0000000..aae0f00 --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/right_stick_right.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://uh0law000io3" +path="res://.godot/imported/right_stick_right.png-f4151603ea2ac148ea8f0b9a76b19e67.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/right_stick_right.png" +dest_files=["res://.godot/imported/right_stick_right.png-f4151603ea2ac148ea8f0b9a76b19e67.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_up.png b/addons/super_awesome_input_icons/textures/switch/right_stick_up.png new file mode 100644 index 0000000..a3aad3c Binary files /dev/null and b/addons/super_awesome_input_icons/textures/switch/right_stick_up.png differ diff --git a/addons/super_awesome_input_icons/textures/switch/right_stick_up.png.import b/addons/super_awesome_input_icons/textures/switch/right_stick_up.png.import new file mode 100644 index 0000000..baa13ed --- /dev/null +++ b/addons/super_awesome_input_icons/textures/switch/right_stick_up.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cuyqdvfn35ude" +path="res://.godot/imported/right_stick_up.png-282e04eef6984e0548ae565aca5993e1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/super_awesome_input_icons/textures/switch/right_stick_up.png" +dest_files=["res://.godot/imported/right_stick_up.png-282e04eef6984e0548ae565aca5993e1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +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/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/game.tscn b/scenes/game.tscn index 4dd5f3d..dd75165 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -594,6 +594,116 @@ offset_right = 640.0 grow_horizontal = 1 grow_vertical = 1 +[node name="ControlsBox" type="VBoxContainer" parent="UI/Control"] +modulate = Color(1, 1, 1, 0.53333336) +layout_mode = 1 +anchors_preset = 6 +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +offset_left = -40.0 +offset_top = -20.0 +offset_bottom = 20.0 +grow_horizontal = 0 +grow_vertical = 2 + +[node name="Flow" type="HBoxContainer" parent="UI/Control/ControlsBox"] +layout_mode = 2 + +[node name="Label" type="Label" parent="UI/Control/ControlsBox/Flow"] +layout_mode = 2 +size_flags_horizontal = 3 +text = "MOVE" + +[node name="InputIconTextureRect" type="TextureRect" parent="UI/Control/ControlsBox/Flow"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "forward" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + +[node name="InputIconTextureRect2" type="TextureRect" parent="UI/Control/ControlsBox/Flow"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "backward" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + +[node name="Flow2" type="HBoxContainer" parent="UI/Control/ControlsBox"] +layout_mode = 2 + +[node name="Label" type="Label" parent="UI/Control/ControlsBox/Flow2"] +layout_mode = 2 +size_flags_horizontal = 3 +text = "STEER" + +[node name="InputIconTextureRect" type="TextureRect" parent="UI/Control/ControlsBox/Flow2"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "turn_left" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + +[node name="InputIconTextureRect2" type="TextureRect" parent="UI/Control/ControlsBox/Flow2"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "turn_right" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + +[node name="Flow3" type="HBoxContainer" parent="UI/Control/ControlsBox"] +layout_mode = 2 + +[node name="Label" type="Label" parent="UI/Control/ControlsBox/Flow3"] +layout_mode = 2 +size_flags_horizontal = 3 +text = "FIRE" + +[node name="InputIconTextureRect" type="TextureRect" parent="UI/Control/ControlsBox/Flow3"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "fire" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + +[node name="Flow4" type="HBoxContainer" parent="UI/Control/ControlsBox"] +layout_mode = 2 + +[node name="Label" type="Label" parent="UI/Control/ControlsBox/Flow4"] +layout_mode = 2 +size_flags_horizontal = 3 +text = "PAUSE" + +[node name="InputIconTextureRect" type="TextureRect" parent="UI/Control/ControlsBox/Flow4"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "pause" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + +[node name="Flow5" type="HBoxContainer" parent="UI/Control/ControlsBox"] +layout_mode = 2 + +[node name="Label" type="Label" parent="UI/Control/ControlsBox/Flow5"] +layout_mode = 2 +size_flags_horizontal = 3 +text = "NAVPANEL" + +[node name="InputIconTextureRect" type="TextureRect" parent="UI/Control/ControlsBox/Flow5"] +custom_minimum_size = Vector2(32, 32) +layout_mode = 2 +expand_mode = 1 +script = ExtResource("15_ca42v") +action_name = "navpanel" +metadata/_custom_type_script = "uid://b2maxk5g6yb0i" + [node name="FadeToBlack" type="ColorRect" parent="UI"] process_mode = 3 modulate = Color(1, 1, 1, 0) diff --git a/scripts/game.gd b/scripts/game.gd index b76972a..2c0e627 100644 --- a/scripts/game.gd +++ b/scripts/game.gd @@ -151,6 +151,10 @@ func _process(delta: float) -> void: $UI/Control/Navpanel/Navigation/Hyperboost.visible = false + if $UI/Control/Navpanel/Start.visible: + $UI/Control/Navpanel/Start/Fuel.value = global.stats.fuel + $UI/Control/Navpanel/Start/Fuel/Label.text = str(roundi(global.stats.fuel)) + "%" + if $UI/Control/Navpanel/NavigationRoutes.visible: for n in $UI/Control/Navpanel/NavigationRoutes/Scroll/Box.get_children(): n.update()