Skip to content

Commit

Permalink
Add touchscreen controls to HUD and cleaned up extra assets
Browse files Browse the repository at this point in the history
- Added PNG assets and nodes required for touchscreen controls.
- Implemented three touchscreen buttons using Control UI and button nodes.
- Enabled touchscreen-only visibility and updated unhandled input logic for HUD.
- Adjusted buttons for better alignment and functionality.
- Removed unused assets, files, and scenes accidentally included in the project.
  • Loading branch information
jbourqueendless committed Dec 5, 2024
1 parent 4c4769a commit 2f214a5
Show file tree
Hide file tree
Showing 27 changed files with 442 additions and 1 deletion.
Binary file added assets/controls/flatDarkA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatDarkA.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://vujn5y4v732w"
path="res://.godot/imported/flatDarkA.png-e8fcfe6d3936e7a5d681bd0e5e45aae2.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatDarkA.png"
dest_files=["res://.godot/imported/flatDarkA.png-e8fcfe6d3936e7a5d681bd0e5e45aae2.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatDarkB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatDarkB.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://csmnti2si6uth"
path="res://.godot/imported/flatDarkB.png-54d11fc27dc8b1091e12acec5401f9e0.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatDarkB.png"
dest_files=["res://.godot/imported/flatDarkB.png-54d11fc27dc8b1091e12acec5401f9e0.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatDarkDown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatDarkDown.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dnp7jtypbl5fd"
path="res://.godot/imported/flatDarkDown.png-015ba7fc4eaf832ed5bb675c8ad9c765.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatDarkDown.png"
dest_files=["res://.godot/imported/flatDarkDown.png-015ba7fc4eaf832ed5bb675c8ad9c765.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatDarkLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatDarkLeft.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://svp2vgo37htu"
path="res://.godot/imported/flatDarkLeft.png-a8f670b599bb4a2a49cb06335af8614b.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatDarkLeft.png"
dest_files=["res://.godot/imported/flatDarkLeft.png-a8f670b599bb4a2a49cb06335af8614b.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatDarkRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatDarkRight.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cwxk6km6rqwl3"
path="res://.godot/imported/flatDarkRight.png-482440e3ee7d656161b860db319aec8e.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatDarkRight.png"
dest_files=["res://.godot/imported/flatDarkRight.png-482440e3ee7d656161b860db319aec8e.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatDarkUp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatDarkUp.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://uib6aoa0jw6w"
path="res://.godot/imported/flatDarkUp.png-6446423be785d9ad806028ffd83fb926.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatDarkUp.png"
dest_files=["res://.godot/imported/flatDarkUp.png-6446423be785d9ad806028ffd83fb926.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatLightA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatLightA.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://crocudarwwiec"
path="res://.godot/imported/flatLightA.png-13c0106a0029e003fabb7a508c013a3a.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatLightA.png"
dest_files=["res://.godot/imported/flatLightA.png-13c0106a0029e003fabb7a508c013a3a.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatLightB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatLightB.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cqvf6pc6yekku"
path="res://.godot/imported/flatLightB.png-efad50bd67fa14fc3e61affea3e7850f.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatLightB.png"
dest_files=["res://.godot/imported/flatLightB.png-efad50bd67fa14fc3e61affea3e7850f.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatLightDown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatLightDown.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cbieuf3n6iqko"
path="res://.godot/imported/flatLightDown.png-fc02fbb80ca7839a8a1b41ce1ee02bd4.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatLightDown.png"
dest_files=["res://.godot/imported/flatLightDown.png-fc02fbb80ca7839a8a1b41ce1ee02bd4.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatLightLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatLightLeft.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://c6ic03u2yvnk6"
path="res://.godot/imported/flatLightLeft.png-7417751073a90d250b770e32ab2c47c9.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatLightLeft.png"
dest_files=["res://.godot/imported/flatLightLeft.png-7417751073a90d250b770e32ab2c47c9.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatLightRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/controls/flatLightRight.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dsght3iwomray"
path="res://.godot/imported/flatLightRight.png-084b80e4bde0175c530c7761108ec3b7.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/controls/flatLightRight.png"
dest_files=["res://.godot/imported/flatLightRight.png-084b80e4bde0175c530c7761108ec3b7.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Binary file added assets/controls/flatLightUp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2f214a5

Please sign in to comment.