Compare commits
No commits in common. "a9a6152c0408b44b2d84d0d30260a1c953fc554d" and "8e442b4f6496ad7226f2d18567ee6a47a789aa06" have entirely different histories.
a9a6152c04
...
8e442b4f64
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dfmnqts222b6e"
|
uid="uid://dfmnqts222b6e"
|
||||||
path="res://.godot/imported/bug.png-2766a2b1a5adcb30c1a0233db70158e9.ctex"
|
path="res://.godot/imported/bug.png-78e6c86c98b6c8398b3232c1b3996384.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/bug.png"
|
source_file="res://assets/types/symbols/bug.png"
|
||||||
dest_files=["res://.godot/imported/bug.png-2766a2b1a5adcb30c1a0233db70158e9.ctex"]
|
dest_files=["res://.godot/imported/bug.png-78e6c86c98b6c8398b3232c1b3996384.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://71ufanayln8q"
|
uid="uid://71ufanayln8q"
|
||||||
path="res://.godot/imported/dark.png-e1c82ea109504167a8123a063deeb8a4.ctex"
|
path="res://.godot/imported/dark.png-4fdfb624ebd0fdda6774c58258b384df.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/dark.png"
|
source_file="res://assets/types/symbols/dark.png"
|
||||||
dest_files=["res://.godot/imported/dark.png-e1c82ea109504167a8123a063deeb8a4.ctex"]
|
dest_files=["res://.godot/imported/dark.png-4fdfb624ebd0fdda6774c58258b384df.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dthmd16chdhrk"
|
uid="uid://dthmd16chdhrk"
|
||||||
path="res://.godot/imported/dragon.png-312c07f44b30339b517e97f94e4f0480.ctex"
|
path="res://.godot/imported/dragon.png-79109ee974c8d974e11e1f34b49f2247.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/dragon.png"
|
source_file="res://assets/types/symbols/dragon.png"
|
||||||
dest_files=["res://.godot/imported/dragon.png-312c07f44b30339b517e97f94e4f0480.ctex"]
|
dest_files=["res://.godot/imported/dragon.png-79109ee974c8d974e11e1f34b49f2247.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://c7rxmb5nbq0fe"
|
uid="uid://c7rxmb5nbq0fe"
|
||||||
path="res://.godot/imported/electric.png-2233f3b150fe2bae2b751b840a4b9fcb.ctex"
|
path="res://.godot/imported/electric.png-456144fe6e4f4662cdb4888f3df771a3.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/electric.png"
|
source_file="res://assets/types/symbols/electric.png"
|
||||||
dest_files=["res://.godot/imported/electric.png-2233f3b150fe2bae2b751b840a4b9fcb.ctex"]
|
dest_files=["res://.godot/imported/electric.png-456144fe6e4f4662cdb4888f3df771a3.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bvf8t0i0bklww"
|
uid="uid://bvf8t0i0bklww"
|
||||||
path="res://.godot/imported/fairy.png-f706a56d45a8eb4dea243b38d6e4ca69.ctex"
|
path="res://.godot/imported/fairy.png-7e946565ee81cd761cdd9251f9b36741.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/fairy.png"
|
source_file="res://assets/types/symbols/fairy.png"
|
||||||
dest_files=["res://.godot/imported/fairy.png-f706a56d45a8eb4dea243b38d6e4ca69.ctex"]
|
dest_files=["res://.godot/imported/fairy.png-7e946565ee81cd761cdd9251f9b36741.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://ch1k7lg57h7or"
|
uid="uid://ch1k7lg57h7or"
|
||||||
path="res://.godot/imported/fighting.png-470ae135d1ee0c6f04ad0e46f4cb9559.ctex"
|
path="res://.godot/imported/fighting.png-28d1c6ff32e8d6b357b10031b99f6234.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/fighting.png"
|
source_file="res://assets/types/symbols/fighting.png"
|
||||||
dest_files=["res://.godot/imported/fighting.png-470ae135d1ee0c6f04ad0e46f4cb9559.ctex"]
|
dest_files=["res://.godot/imported/fighting.png-28d1c6ff32e8d6b357b10031b99f6234.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://mifp3ggainij"
|
uid="uid://mifp3ggainij"
|
||||||
path="res://.godot/imported/fire.png-bb0e2b216456a48a49ba72e32dbe92e5.ctex"
|
path="res://.godot/imported/fire.png-f8da9c6864285cb8801259dccf3734ca.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/fire.png"
|
source_file="res://assets/types/symbols/fire.png"
|
||||||
dest_files=["res://.godot/imported/fire.png-bb0e2b216456a48a49ba72e32dbe92e5.ctex"]
|
dest_files=["res://.godot/imported/fire.png-f8da9c6864285cb8801259dccf3734ca.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dyxlsy4s7uuwi"
|
uid="uid://dyxlsy4s7uuwi"
|
||||||
path="res://.godot/imported/flying.png-57cb53c09ae4c29e0057af45e91f903e.ctex"
|
path="res://.godot/imported/flying.png-6157126aa64c5e526a5f8010a6986cca.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/flying.png"
|
source_file="res://assets/types/symbols/flying.png"
|
||||||
dest_files=["res://.godot/imported/flying.png-57cb53c09ae4c29e0057af45e91f903e.ctex"]
|
dest_files=["res://.godot/imported/flying.png-6157126aa64c5e526a5f8010a6986cca.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://ui81tr0rjdgx"
|
uid="uid://ui81tr0rjdgx"
|
||||||
path="res://.godot/imported/ghost.png-a7949eae3be7b0b317c9aaf32e4a867f.ctex"
|
path="res://.godot/imported/ghost.png-4b566cb780f6cb18c28e1efeb9d59032.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/ghost.png"
|
source_file="res://assets/types/symbols/ghost.png"
|
||||||
dest_files=["res://.godot/imported/ghost.png-a7949eae3be7b0b317c9aaf32e4a867f.ctex"]
|
dest_files=["res://.godot/imported/ghost.png-4b566cb780f6cb18c28e1efeb9d59032.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://vvcmm1pmtpdk"
|
uid="uid://vvcmm1pmtpdk"
|
||||||
path="res://.godot/imported/grass.png-3c01ec48121410827e3411aa37c3e337.ctex"
|
path="res://.godot/imported/grass.png-c940c350f7164fe1ace9e570af29cd91.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/grass.png"
|
source_file="res://assets/types/symbols/grass.png"
|
||||||
dest_files=["res://.godot/imported/grass.png-3c01ec48121410827e3411aa37c3e337.ctex"]
|
dest_files=["res://.godot/imported/grass.png-c940c350f7164fe1ace9e570af29cd91.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://d1h5u5imumix1"
|
uid="uid://d1h5u5imumix1"
|
||||||
path="res://.godot/imported/ground.png-7c9eb08303917110a6679422c181de75.ctex"
|
path="res://.godot/imported/ground.png-459049580ca950572ab32983573835a1.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/ground.png"
|
source_file="res://assets/types/symbols/ground.png"
|
||||||
dest_files=["res://.godot/imported/ground.png-7c9eb08303917110a6679422c181de75.ctex"]
|
dest_files=["res://.godot/imported/ground.png-459049580ca950572ab32983573835a1.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://b8s8fosmn8dti"
|
uid="uid://b8s8fosmn8dti"
|
||||||
path="res://.godot/imported/ice.png-c78d7b456cc901014f207ca39ec7e276.ctex"
|
path="res://.godot/imported/ice.png-b7fefd91f38ebbfcc243ac1bcf838b89.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/ice.png"
|
source_file="res://assets/types/symbols/ice.png"
|
||||||
dest_files=["res://.godot/imported/ice.png-c78d7b456cc901014f207ca39ec7e276.ctex"]
|
dest_files=["res://.godot/imported/ice.png-b7fefd91f38ebbfcc243ac1bcf838b89.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://cspmj2qucdw0s"
|
uid="uid://cspmj2qucdw0s"
|
||||||
path="res://.godot/imported/normal.png-9fbb8e8fcddad1b24237a3c5a73d33d3.ctex"
|
path="res://.godot/imported/normal.png-5b2bbfb4fbce0c8bcb8ec37fa6bd2f74.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/normal.png"
|
source_file="res://assets/types/symbols/normal.png"
|
||||||
dest_files=["res://.godot/imported/normal.png-9fbb8e8fcddad1b24237a3c5a73d33d3.ctex"]
|
dest_files=["res://.godot/imported/normal.png-5b2bbfb4fbce0c8bcb8ec37fa6bd2f74.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bavkhhubi35xf"
|
uid="uid://bavkhhubi35xf"
|
||||||
path="res://.godot/imported/poison.png-bd5f77c4c95d0bb902a5b056d9ae1c99.ctex"
|
path="res://.godot/imported/poison.png-a30f4c7855b7b1f44b7ccddbf58d1351.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/poison.png"
|
source_file="res://assets/types/symbols/poison.png"
|
||||||
dest_files=["res://.godot/imported/poison.png-bd5f77c4c95d0bb902a5b056d9ae1c99.ctex"]
|
dest_files=["res://.godot/imported/poison.png-a30f4c7855b7b1f44b7ccddbf58d1351.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://cb67mi0c2t4du"
|
uid="uid://cb67mi0c2t4du"
|
||||||
path="res://.godot/imported/psychic.png-f22f90d7e289800381ed88430308c458.ctex"
|
path="res://.godot/imported/psychic.png-c7e4ad315ab5238e0f6ff1759f1e093c.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/psychic.png"
|
source_file="res://assets/types/symbols/psychic.png"
|
||||||
dest_files=["res://.godot/imported/psychic.png-f22f90d7e289800381ed88430308c458.ctex"]
|
dest_files=["res://.godot/imported/psychic.png-c7e4ad315ab5238e0f6ff1759f1e093c.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dtqprytuqfdv4"
|
uid="uid://dtqprytuqfdv4"
|
||||||
path="res://.godot/imported/rock.png-0276c300725a23fff0e891012e9284b3.ctex"
|
path="res://.godot/imported/rock.png-5964d64148bf2778dee1d19a38281b79.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/rock.png"
|
source_file="res://assets/types/symbols/rock.png"
|
||||||
dest_files=["res://.godot/imported/rock.png-0276c300725a23fff0e891012e9284b3.ctex"]
|
dest_files=["res://.godot/imported/rock.png-5964d64148bf2778dee1d19a38281b79.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dd0idj2l3ao8j"
|
uid="uid://dd0idj2l3ao8j"
|
||||||
path="res://.godot/imported/steel.png-1c1b97d85807dfbaf29df8780c4a61a9.ctex"
|
path="res://.godot/imported/steel.png-744fdbce726dcceb98ab9071ea516a2a.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/steel.png"
|
source_file="res://assets/types/symbols/steel.png"
|
||||||
dest_files=["res://.godot/imported/steel.png-1c1b97d85807dfbaf29df8780c4a61a9.ctex"]
|
dest_files=["res://.godot/imported/steel.png-744fdbce726dcceb98ab9071ea516a2a.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dpqv0q8fobbx"
|
uid="uid://dpqv0q8fobbx"
|
||||||
path="res://.godot/imported/stellar.png-83d2474711b36fcf8976bda2e1665ca3.ctex"
|
path="res://.godot/imported/stellar.png-83bd49eebae2166894b0cbb5325ccfca.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/stellar.png"
|
source_file="res://assets/types/symbols/stellar.png"
|
||||||
dest_files=["res://.godot/imported/stellar.png-83d2474711b36fcf8976bda2e1665ca3.ctex"]
|
dest_files=["res://.godot/imported/stellar.png-83bd49eebae2166894b0cbb5325ccfca.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://b4b6poy7sn6cu"
|
uid="uid://b4b6poy7sn6cu"
|
||||||
path="res://.godot/imported/water.png-c40f3e38972ed5a09324769d77fb1a74.ctex"
|
path="res://.godot/imported/water.png-f4791ef1eeda0dec2b76fa49366591a1.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ui/types/water.png"
|
source_file="res://assets/types/symbols/water.png"
|
||||||
dest_files=["res://.godot/imported/water.png-c40f3e38972ed5a09324769d77fb1a74.ctex"]
|
dest_files=["res://.godot/imported/water.png-f4791ef1eeda0dec2b76fa49366591a1.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
102
demo/IconRemapper.gd
Normal file
|
|
@ -0,0 +1,102 @@
|
||||||
|
extends Control
|
||||||
|
|
||||||
|
@onready var nodes := [
|
||||||
|
%A, %B, %X, %Y,
|
||||||
|
%LB, %RB, %LT, %RT,
|
||||||
|
%L_Stick_Click, %R_Stick_Click,
|
||||||
|
%Select, %Start, %DPAD,
|
||||||
|
%DPAD_Up, %DPAD_Down,
|
||||||
|
%DPAD_Left, %DPAD_Right,
|
||||||
|
%Home, %Share,
|
||||||
|
%LStick, %RStick,
|
||||||
|
]
|
||||||
|
|
||||||
|
var base_names := []
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
for child in nodes:
|
||||||
|
base_names.push_back(child.get_child(0).texture.path)
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Auto_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
nodes[i].get_child(0).texture.path = base_names[i]
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Luna_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_luna(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_PS3_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_ps3(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_PS4_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_ps4(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_PS5_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_ps5(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Stadia_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_stadia(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Steam_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_steam(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Switch_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_switch(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Joycon_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_joycon(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Xbox360_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_xbox360(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_XboxOne_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_xboxone(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_XboxSeries_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_xboxseries(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_SteamDeck_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_steamdeck(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
|
|
||||||
|
|
||||||
|
func _on_ouya_pressed():
|
||||||
|
for i in range(nodes.size()):
|
||||||
|
var control_text = ControllerIcons.Mapper._convert_joypad_to_ouya(base_names[i])
|
||||||
|
nodes[i].get_child(0).texture.path = control_text
|
||||||
1
demo/IconRemapper.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://c048itedcqksc
|
||||||
587
demo/IconRemapper.tscn
Normal file
|
|
@ -0,0 +1,587 @@
|
||||||
|
[gd_scene load_steps=24 format=3 uid="uid://cmopiwmgjwjb8"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://demo/IconRemapper.gd" id="2"]
|
||||||
|
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_ww1q8"]
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_oaqcv"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/a"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_julos"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/b"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_p7fj8"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/x"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_e65pp"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/y"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_drwxf"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/lb"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_lpg8q"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/rb"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_tqj64"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/lt"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_g8v8u"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/rt"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_uqh53"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/l_stick_click"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_jt7n0"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/r_stick_click"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_jmm2v"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/select"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_2w7la"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/start"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_rhnqu"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/dpad"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_vr4j2"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/dpad_up"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_hp6k2"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/dpad_down"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_4trym"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/dpad_left"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_61h51"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/dpad_right"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_adhf2"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/home"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_dl7nm"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/share"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_3ry3e"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/l_stick"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_t68xw"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_ww1q8")
|
||||||
|
path = "joypad/r_stick"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[node name="Control" type="MarginContainer"]
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
theme_override_constants/margin_left = 50
|
||||||
|
theme_override_constants/margin_top = 50
|
||||||
|
theme_override_constants/margin_right = 50
|
||||||
|
theme_override_constants/margin_bottom = 50
|
||||||
|
script = ExtResource("2")
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 4
|
||||||
|
|
||||||
|
[node name="Icons" type="HBoxContainer" parent="HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/Icons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="A" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/A"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_oaqcv")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/A"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " A"
|
||||||
|
|
||||||
|
[node name="B" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/B"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_julos")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/B"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " B"
|
||||||
|
|
||||||
|
[node name="X" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/X"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_p7fj8")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/X"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " X"
|
||||||
|
|
||||||
|
[node name="Y" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/Y"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_e65pp")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/Y"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Y"
|
||||||
|
|
||||||
|
[node name="LB" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/LB"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_drwxf")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/LB"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Left Button"
|
||||||
|
|
||||||
|
[node name="RB" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/RB"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_lpg8q")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/RB"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Right Button"
|
||||||
|
|
||||||
|
[node name="LT" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/LT"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_tqj64")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/LT"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Left Trigger"
|
||||||
|
|
||||||
|
[node name="RT" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/RT"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_g8v8u")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/RT"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Right Trigger"
|
||||||
|
|
||||||
|
[node name="L_Stick_Click" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/L_Stick_Click"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_uqh53")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/L_Stick_Click"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Left Stick Click"
|
||||||
|
|
||||||
|
[node name="R_Stick_Click" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/R_Stick_Click"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_jt7n0")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/R_Stick_Click"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Right Stick Click"
|
||||||
|
|
||||||
|
[node name="Select" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/Select"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_jmm2v")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/Select"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Select"
|
||||||
|
|
||||||
|
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/Icons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="Start" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Start"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_2w7la")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Start"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Start"
|
||||||
|
|
||||||
|
[node name="DPAD" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_rhnqu")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " DPAD"
|
||||||
|
|
||||||
|
[node name="DPAD_Up" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Up"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_vr4j2")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Up"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " DPAD Up"
|
||||||
|
|
||||||
|
[node name="DPAD_Down" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Down"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_hp6k2")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Down"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " DPAD Down"
|
||||||
|
|
||||||
|
[node name="DPAD_Left" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Left"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_4trym")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Left"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " DPAD Left"
|
||||||
|
|
||||||
|
[node name="DPAD_Right" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Right"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_61h51")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Right"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " DPAD Right"
|
||||||
|
|
||||||
|
[node name="Home" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Home"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_adhf2")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Home"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Home"
|
||||||
|
|
||||||
|
[node name="Share" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Share"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_dl7nm")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Share"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Share"
|
||||||
|
|
||||||
|
[node name="LStick" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/LStick"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_3ry3e")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/LStick"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Left Stick"
|
||||||
|
|
||||||
|
[node name="RStick" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/RStick"]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = SubResource("Texture2D_t68xw")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/RStick"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = " Right Stick"
|
||||||
|
|
||||||
|
[node name="Buttons" type="VBoxContainer" parent="HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
|
||||||
|
[node name="Auto" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "[ Set to automatic ]"
|
||||||
|
|
||||||
|
[node name="Luna" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Amazon Luna"
|
||||||
|
|
||||||
|
[node name="PS3" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "PlayStation 3"
|
||||||
|
|
||||||
|
[node name="PS4" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "PlayStation 4"
|
||||||
|
|
||||||
|
[node name="PS5" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "PlayStation 5"
|
||||||
|
|
||||||
|
[node name="Stadia" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Google Stadia"
|
||||||
|
|
||||||
|
[node name="Steam" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Steam Controller"
|
||||||
|
|
||||||
|
[node name="SteamDeck" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Steam Deck"
|
||||||
|
|
||||||
|
[node name="Switch" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Nintendo Switch Controller"
|
||||||
|
|
||||||
|
[node name="Joycon" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Nintendo Switch JoyCon"
|
||||||
|
|
||||||
|
[node name="OUYA" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "OUYA"
|
||||||
|
|
||||||
|
[node name="Xbox360" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Xbox 360"
|
||||||
|
|
||||||
|
[node name="XboxOne" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Xbox One"
|
||||||
|
|
||||||
|
[node name="XboxSeries" type="Button" parent="HBoxContainer/Buttons"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
text = "Xbox Series"
|
||||||
|
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Auto" to="." method="_on_Auto_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Luna" to="." method="_on_Luna_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/PS3" to="." method="_on_PS3_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/PS4" to="." method="_on_PS4_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/PS5" to="." method="_on_PS5_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Stadia" to="." method="_on_Stadia_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Steam" to="." method="_on_Steam_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/SteamDeck" to="." method="_on_SteamDeck_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Switch" to="." method="_on_Switch_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Joycon" to="." method="_on_Joycon_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/OUYA" to="." method="_on_ouya_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/Xbox360" to="." method="_on_Xbox360_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/XboxOne" to="." method="_on_XboxOne_pressed"]
|
||||||
|
[connection signal="pressed" from="HBoxContainer/Buttons/XboxSeries" to="." method="_on_XboxSeries_pressed"]
|
||||||
224
demo/Showcase.tscn
Normal file
|
|
@ -0,0 +1,224 @@
|
||||||
|
[gd_scene format=3 uid="uid://8ypaj35qfhyr"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_vfnng"]
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_s5m8q"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("1_vfnng")
|
||||||
|
path = "ui_accept"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_m553g"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("1_vfnng")
|
||||||
|
path = "joypad/x"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_htjm2"]
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_tf27q"]
|
||||||
|
sky_material = SubResource("ProceduralSkyMaterial_htjm2")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_klhn5"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_tf27q")
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_utrwd"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("1_vfnng")
|
||||||
|
path = "joypad/a"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_8wr4o"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("1_vfnng")
|
||||||
|
path = "joypad/x"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_82sge"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("1_vfnng")
|
||||||
|
path = "switch/controllers_separate"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
||||||
|
[node name="Showcase" type="Node" unique_id=295027238]
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=349315614]
|
||||||
|
offset_left = 150.0
|
||||||
|
offset_top = 25.0
|
||||||
|
offset_right = 1002.0
|
||||||
|
offset_bottom = 111.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "Controller Icons provides automatic icons for all major controllers, keyboard, and mouse.
|
||||||
|
|
||||||
|
It provides a [b]ControllerIconTexture[/b] resource that can be set on any node that accepts a [b]Texture2D[/b], such as:"
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="." unique_id=1724750574]
|
||||||
|
offset_left = 117.0
|
||||||
|
offset_top = 151.0
|
||||||
|
offset_right = 292.0
|
||||||
|
offset_bottom = 174.0
|
||||||
|
text = "TextureRect / Sprite2D"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="." unique_id=405427048]
|
||||||
|
offset_left = 164.0
|
||||||
|
offset_top = 187.0
|
||||||
|
offset_right = 235.0
|
||||||
|
offset_bottom = 258.0
|
||||||
|
texture = SubResource("Texture2D_s5m8q")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label2" type="Label" parent="." unique_id=1009805006]
|
||||||
|
offset_left = 357.0
|
||||||
|
offset_top = 152.0
|
||||||
|
offset_right = 451.0
|
||||||
|
offset_bottom = 175.0
|
||||||
|
text = "Button"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
|
||||||
|
[node name="Button" type="Button" parent="." unique_id=2024101150]
|
||||||
|
offset_left = 340.0
|
||||||
|
offset_top = 191.0
|
||||||
|
offset_right = 468.0
|
||||||
|
offset_bottom = 239.0
|
||||||
|
text = "Attack"
|
||||||
|
icon = SubResource("Texture2D_m553g")
|
||||||
|
expand_icon = true
|
||||||
|
|
||||||
|
[node name="Label3" type="Label" parent="." unique_id=296529233]
|
||||||
|
offset_left = 571.0
|
||||||
|
offset_top = 151.0
|
||||||
|
offset_right = 665.0
|
||||||
|
offset_bottom = 174.0
|
||||||
|
text = "Sprite3D"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
|
||||||
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="." unique_id=1188610478]
|
||||||
|
offset_left = 546.0
|
||||||
|
offset_top = 187.0
|
||||||
|
offset_right = 689.0
|
||||||
|
offset_bottom = 332.0
|
||||||
|
stretch = true
|
||||||
|
|
||||||
|
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer" unique_id=1088140940]
|
||||||
|
handle_input_locally = false
|
||||||
|
size = Vector2i(143, 145)
|
||||||
|
render_target_update_mode = 4
|
||||||
|
|
||||||
|
[node name="Camera3D" type="Camera3D" parent="SubViewportContainer/SubViewport" unique_id=255731315]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.125, 0.745)
|
||||||
|
environment = SubResource("Environment_klhn5")
|
||||||
|
|
||||||
|
[node name="Sprite3D" type="Sprite3D" parent="SubViewportContainer/SubViewport" unique_id=942846403]
|
||||||
|
texture = SubResource("Texture2D_utrwd")
|
||||||
|
|
||||||
|
[node name="Label3D" type="Label3D" parent="SubViewportContainer/SubViewport" unique_id=1104632312]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.573528, 0)
|
||||||
|
text = "Jump"
|
||||||
|
|
||||||
|
[node name="Label4" type="Label" parent="." unique_id=232674080]
|
||||||
|
offset_left = 826.0
|
||||||
|
offset_top = 152.0
|
||||||
|
offset_right = 934.0
|
||||||
|
offset_bottom = 175.0
|
||||||
|
text = "RichTextLabel"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
|
||||||
|
[node name="RichTextLabel2" type="RichTextLabel" parent="." unique_id=755217362]
|
||||||
|
offset_left = 775.0
|
||||||
|
offset_top = 195.0
|
||||||
|
offset_right = 993.0
|
||||||
|
offset_bottom = 279.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "Press [img=40]res://demo/icon_respect.tres[/img] to pay respects"
|
||||||
|
|
||||||
|
[node name="RichTextLabel3" type="RichTextLabel" parent="." unique_id=176142651]
|
||||||
|
offset_left = 262.0
|
||||||
|
offset_top = 389.0
|
||||||
|
offset_right = 858.0
|
||||||
|
offset_bottom = 421.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "You'll need to provide a [b]path[/b] indicating which icon to display, which can be:"
|
||||||
|
|
||||||
|
[node name="RichTextLabel4" type="RichTextLabel" parent="." unique_id=2109360878]
|
||||||
|
offset_left = 47.0
|
||||||
|
offset_top = 434.0
|
||||||
|
offset_right = 373.0
|
||||||
|
offset_bottom = 525.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center]An input action, switching automatically between keyboard/mouse and controller[/center]"
|
||||||
|
|
||||||
|
[node name="TextureRect2" type="TextureRect" parent="." unique_id=881988573]
|
||||||
|
offset_left = 187.0
|
||||||
|
offset_top = 515.0
|
||||||
|
offset_right = 258.0
|
||||||
|
offset_bottom = 586.0
|
||||||
|
texture = SubResource("Texture2D_s5m8q")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="RichTextLabel5" type="RichTextLabel" parent="." unique_id=1415597120]
|
||||||
|
offset_left = 181.0
|
||||||
|
offset_top = 596.0
|
||||||
|
offset_right = 274.0
|
||||||
|
offset_bottom = 624.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[i]\"ui_accept\"[/i]"
|
||||||
|
|
||||||
|
[node name="RichTextLabel6" type="RichTextLabel" parent="." unique_id=1634196808]
|
||||||
|
offset_left = 417.0
|
||||||
|
offset_top = 432.0
|
||||||
|
offset_right = 777.0
|
||||||
|
offset_bottom = 523.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center]A generic joypad path, which shows only controller icons and according to the connected controller type[/center]"
|
||||||
|
|
||||||
|
[node name="TextureRect3" type="TextureRect" parent="." unique_id=345677152]
|
||||||
|
offset_left = 567.0
|
||||||
|
offset_top = 513.0
|
||||||
|
offset_right = 638.0
|
||||||
|
offset_bottom = 584.0
|
||||||
|
texture = SubResource("Texture2D_8wr4o")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="RichTextLabel7" type="RichTextLabel" parent="." unique_id=1190522777]
|
||||||
|
offset_left = 561.0
|
||||||
|
offset_top = 594.0
|
||||||
|
offset_right = 654.0
|
||||||
|
offset_bottom = 622.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[i]\"joypad/x\"[/i]"
|
||||||
|
|
||||||
|
[node name="RichTextLabel8" type="RichTextLabel" parent="." unique_id=2135033758]
|
||||||
|
offset_left = 789.0
|
||||||
|
offset_top = 432.0
|
||||||
|
offset_right = 1060.0
|
||||||
|
offset_bottom = 523.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center]A specific path, which will always display the chosen icon[/center]"
|
||||||
|
|
||||||
|
[node name="TextureRect4" type="TextureRect" parent="." unique_id=617366000]
|
||||||
|
offset_left = 874.0
|
||||||
|
offset_top = 513.0
|
||||||
|
offset_right = 945.0
|
||||||
|
offset_bottom = 584.0
|
||||||
|
texture = SubResource("Texture2D_82sge")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="RichTextLabel9" type="RichTextLabel" parent="." unique_id=711467859]
|
||||||
|
offset_left = 798.0
|
||||||
|
offset_top = 594.0
|
||||||
|
offset_right = 1031.0
|
||||||
|
offset_bottom = 622.0
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[i]\"switch/controllers_separate\"[/i]"
|
||||||
11
demo/icon_respect.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[gd_resource type="Texture2D" script_class="ControllerIconTexture" format=3 uid="uid://5bh1m7kwdsah"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_up1mj"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("1_up1mj")
|
||||||
|
path = "key/f"
|
||||||
|
show_mode = 0
|
||||||
|
force_type = 0
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
[gd_scene format=3 uid="uid://b2gh50nogfllj"]
|
[gd_scene format=3 uid="uid://b2gh50nogfllj"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://ba5gqdhohvdin" path="res://game/player/camera/camera_holder.gd" id="1_bvor0"]
|
[ext_resource type="Script" uid="uid://ba5gqdhohvdin" path="res://game/player/Camera/CameraHolder.gd" id="1_ha8x6"]
|
||||||
|
|
||||||
[node name="CameraHolder" type="Node3D" unique_id=232451612]
|
[node name="CameraHolder" type="Node3D" unique_id=232451612]
|
||||||
script = ExtResource("1_bvor0")
|
script = ExtResource("1_ha8x6")
|
||||||
|
|
||||||
[node name="SpringArm3D" type="SpringArm3D" parent="." unique_id=1346420998]
|
[node name="SpringArm3D" type="SpringArm3D" parent="." unique_id=1346420998]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
[gd_scene format=3 uid="uid://dwxpt0s7vn36k"]
|
[gd_scene format=3 uid="uid://dwxpt0s7vn36k"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://b2gh50nogfllj" path="res://game/player/camera/camera_holder.tscn" id="1_obar5"]
|
[ext_resource type="Script" uid="uid://br1dfd4fltlef" path="res://game/player/StateMachine/PlayerCharacter.gd" id="1_lg056"]
|
||||||
[ext_resource type="Script" uid="uid://br1dfd4fltlef" path="res://game/player/player_character.gd" id="1_pj0hh"]
|
[ext_resource type="PackedScene" uid="uid://b2gh50nogfllj" path="res://game/player/Camera/CameraHolder.tscn" id="1_obar5"]
|
||||||
[ext_resource type="Script" uid="uid://c8vfvcjtsb220" path="res://game/player/input/input_management_component.gd" id="2_r5dqo"]
|
[ext_resource type="Script" uid="uid://c8vfvcjtsb220" path="res://game/player/InputManagementComponent/InputManagementComponent.gd" id="2_r5dqo"]
|
||||||
[ext_resource type="Script" uid="uid://dy4wrpvpep1jq" path="res://game/player/states/state_machine.gd" id="3_o4naa"]
|
[ext_resource type="Script" uid="uid://dy4wrpvpep1jq" path="res://game/player/StateMachine/StateMachine.gd" id="3_o4naa"]
|
||||||
[ext_resource type="Script" uid="uid://bf6hjwfa74ttj" path="res://game/player/states/idle_state.gd" id="4_38lxl"]
|
[ext_resource type="Script" uid="uid://bf6hjwfa74ttj" path="res://game/player/StateMachine/IdleState.gd" id="4_38lxl"]
|
||||||
[ext_resource type="Script" uid="uid://2agliol5dulc" path="res://game/player/states/walk_state.gd" id="4_lg056"]
|
[ext_resource type="Script" uid="uid://2agliol5dulc" path="res://game/player/StateMachine/WalkState.gd" id="4_lg056"]
|
||||||
[ext_resource type="Script" uid="uid://dr5p8ygj25w6x" path="res://game/player/states/jump_state.gd" id="6_lwgph"]
|
[ext_resource type="Script" uid="uid://dr5p8ygj25w6x" path="res://game/player/StateMachine/JumpState.gd" id="6_lwgph"]
|
||||||
[ext_resource type="Script" uid="uid://dn5idrvu68k83" path="res://game/player/states/aim_state.gd" id="7_kxr4l"]
|
[ext_resource type="Script" uid="uid://dn5idrvu68k83" path="res://game/player/StateMachine/AimState.gd" id="7_kxr4l"]
|
||||||
[ext_resource type="Script" uid="uid://dpcfffs3vt5co" path="res://game/player/states/run_state.gd" id="8_j4mf1"]
|
[ext_resource type="Script" uid="uid://dpcfffs3vt5co" path="res://game/player/StateMachine/RunState.gd" id="8_j4mf1"]
|
||||||
[ext_resource type="Script" uid="uid://bwojkp7yrwswt" path="res://game/player/states/dodge_state.gd" id="9_6abew"]
|
[ext_resource type="Script" uid="uid://bwojkp7yrwswt" path="res://game/player/StateMachine/DodgeState.gd" id="9_6abew"]
|
||||||
[ext_resource type="Script" uid="uid://d0577tj0c23bu" path="res://game/player/states/crouch_state.gd" id="10_mi63v"]
|
[ext_resource type="Script" uid="uid://d0577tj0c23bu" path="res://game/player/StateMachine/CrouchState.gd" id="10_mi63v"]
|
||||||
|
|
||||||
[sub_resource type="Curve" id="Curve_kxr4l"]
|
[sub_resource type="Curve" id="Curve_kxr4l"]
|
||||||
_limits = [0.0, 10.0, 0.0, 1.0]
|
_limits = [0.0, 10.0, 0.0, 1.0]
|
||||||
|
|
@ -40,7 +40,7 @@ size = Vector3(0.1484375, 0.1640625, 0.907959)
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3agn1"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3agn1"]
|
||||||
|
|
||||||
[node name="PlayerCharacter" type="CharacterBody3D" unique_id=1830301535]
|
[node name="PlayerCharacter" type="CharacterBody3D" unique_id=1830301535]
|
||||||
script = ExtResource("1_pj0hh")
|
script = ExtResource("1_lg056")
|
||||||
nb_jumps_in_air_allowed = 0
|
nb_jumps_in_air_allowed = 0
|
||||||
in_air_move_speed = Array[Curve]([SubResource("Curve_kxr4l"), SubResource("Curve_j4mf1")])
|
in_air_move_speed = Array[Curve]([SubResource("Curve_kxr4l"), SubResource("Curve_j4mf1")])
|
||||||
in_air_accel = Array[Curve]([SubResource("Curve_6abew"), SubResource("Curve_mi63v")])
|
in_air_accel = Array[Curve]([SubResource("Curve_6abew"), SubResource("Curve_mi63v")])
|
||||||
BIN
game/player/StateMachine/README.rtf
Normal file
|
|
@ -17,10 +17,6 @@ config/features=PackedStringArray("4.7", "Forward Plus")
|
||||||
boot_splash/show_image=false
|
boot_splash/show_image=false
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
[audio]
|
|
||||||
|
|
||||||
buses/default_bus_layout="res://game/core/default_bus_layout.tres"
|
|
||||||
|
|
||||||
[autoload]
|
[autoload]
|
||||||
|
|
||||||
ControllerIcons="*uid://b7ho1rjcpht1d"
|
ControllerIcons="*uid://b7ho1rjcpht1d"
|
||||||
|
|
|
||||||
73
project_tree.txt
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
├── README.md
|
||||||
|
├── assets
|
||||||
|
│ ├── textures
|
||||||
|
│ │ ├── background
|
||||||
|
│ │ │ ├── 0.png
|
||||||
|
│ │ ├── splash.png
|
||||||
|
│ └── types
|
||||||
|
│ └── symbols
|
||||||
|
│ ├── bug.png
|
||||||
|
│ ├── dark.png
|
||||||
|
├── data
|
||||||
|
│ └── mounts
|
||||||
|
│ └── charizard.tres
|
||||||
|
├── default_bus_layout.tres
|
||||||
|
├── demo
|
||||||
|
│ ├── IconRemapper.gd
|
||||||
|
│ ├── IconRemapper.tscn
|
||||||
|
│ ├── Showcase.tscn
|
||||||
|
│ └── icon_respect.tres
|
||||||
|
├── game
|
||||||
|
│ ├── player
|
||||||
|
│ │ ├── Camera
|
||||||
|
│ │ │ ├── CameraHolder.gd
|
||||||
|
│ │ │ └── CameraHolder.tscn
|
||||||
|
│ │ ├── InputManagementComponent
|
||||||
|
│ │ │ ├── InputManagementComponent.gd
|
||||||
|
│ │ ├── PlayerCharacter.tscn
|
||||||
|
│ │ ├── StateMachine
|
||||||
|
│ │ │ ├── AimState.gd
|
||||||
|
│ │ │ ├── CrouchState.gd
|
||||||
|
│ │ │ ├── DodgeState.gd
|
||||||
|
│ │ │ ├── IdleState.gd
|
||||||
|
│ │ │ ├── JumpState.gd
|
||||||
|
│ │ │ ├── MountedState.gd
|
||||||
|
│ │ │ ├── PlayerCharacter.gd
|
||||||
|
│ │ │ ├── README.rtf
|
||||||
|
│ │ │ ├── RunState.gd
|
||||||
|
│ │ │ ├── State.gd
|
||||||
|
│ │ │ ├── StateMachine.gd
|
||||||
|
│ │ │ ├── WalkState.gd
|
||||||
|
│ │ └── actions
|
||||||
|
│ │ ├── AimTarget.gd
|
||||||
|
│ └── ui
|
||||||
|
│ └── ui.tscn
|
||||||
|
├── icon.svg
|
||||||
|
├── pause_menu.gdshader
|
||||||
|
├── project.godot
|
||||||
|
├── scenes
|
||||||
|
│ ├── main.tscn
|
||||||
|
│ ├── main_menu.tscn
|
||||||
|
│ ├── pause_menu.tscn
|
||||||
|
│ └── splash_screen.tscn
|
||||||
|
└── scripts
|
||||||
|
├── game_data.gd
|
||||||
|
├── main_menu.gd
|
||||||
|
├── mount
|
||||||
|
│ ├── mount_profile.gd
|
||||||
|
│ └── mount_registry.gd
|
||||||
|
├── pause_menu.gd
|
||||||
|
├── pokedex.gd
|
||||||
|
├── pokemon
|
||||||
|
│ ├── move_slot.gd
|
||||||
|
│ ├── pokemon_instance.gd
|
||||||
|
│ ├── pokemon_nature.gd
|
||||||
|
│ ├── pokemon_team.gd
|
||||||
|
│ ├── trainer_data.gd
|
||||||
|
│ └── trainer_party_entry.gd
|
||||||
|
├── splash_screen.gd
|
||||||
|
├── storage
|
||||||
|
│ ├── PCScreen.gd
|
||||||
|
│ ├── pokemon_box.gd
|
||||||
|
│ └── pokemon_storage.gd
|
||||||
|
├── ui_audio.gd
|
||||||
|
|
@ -5,10 +5,10 @@
|
||||||
[ext_resource type="Texture2D" uid="uid://cm5m7nr7dugjd" path="res://assets/textures/grids/Purple/texture_09.png" id="3_tefeu"]
|
[ext_resource type="Texture2D" uid="uid://cm5m7nr7dugjd" path="res://assets/textures/grids/Purple/texture_09.png" id="3_tefeu"]
|
||||||
[ext_resource type="Texture2D" uid="uid://djg8y25y06h5n" path="res://assets/textures/grids/Green/texture_09.png" id="4_o6xl0"]
|
[ext_resource type="Texture2D" uid="uid://djg8y25y06h5n" path="res://assets/textures/grids/Green/texture_09.png" id="4_o6xl0"]
|
||||||
[ext_resource type="Texture2D" uid="uid://hu5rfl6qr2nv" path="res://assets/textures/grids/Red/texture_09.png" id="5_o6xl0"]
|
[ext_resource type="Texture2D" uid="uid://hu5rfl6qr2nv" path="res://assets/textures/grids/Red/texture_09.png" id="5_o6xl0"]
|
||||||
[ext_resource type="Script" uid="uid://ce2wj6d8xb055" path="res://game/player/aim/aim_target.gd" id="6_85g3d"]
|
[ext_resource type="Script" uid="uid://ce2wj6d8xb055" path="res://game/player/actions/AimTarget.gd" id="6_85g3d"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dwxpt0s7vn36k" path="res://game/player/player_character.tscn" id="6_o6xl0"]
|
[ext_resource type="PackedScene" uid="uid://dwxpt0s7vn36k" path="res://game/player/PlayerCharacter.tscn" id="6_o6xl0"]
|
||||||
[ext_resource type="PackedScene" uid="uid://d1mcef8gl66j" path="res://game/ui/pause_menu/pause_menu.tscn" id="6_tefeu"]
|
[ext_resource type="PackedScene" uid="uid://d1mcef8gl66j" path="res://scenes/pause_menu.tscn" id="6_tefeu"]
|
||||||
[ext_resource type="PackedScene" uid="uid://di22cs2qposdm" path="res://game/ui/hud/ui.tscn" id="8_tipki"]
|
[ext_resource type="PackedScene" uid="uid://di22cs2qposdm" path="res://game/ui/ui.tscn" id="8_tipki"]
|
||||||
|
|
||||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tipki"]
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tipki"]
|
||||||
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene format=3 uid="uid://bluq6da7tku3d"]
|
[gd_scene format=3 uid="uid://bluq6da7tku3d"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://cj37ns1ahfvhr" path="res://game/ui/main_menu/main_menu.gd" id="1_ekxnf"]
|
[ext_resource type="Script" uid="uid://cj37ns1ahfvhr" path="res://scripts/main_menu.gd" id="1_ekxnf"]
|
||||||
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_bqqt6"]
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_bqqt6"]
|
||||||
[ext_resource type="Texture2D" uid="uid://d23fefvrd41re" path="res://assets/textures/background/0.png" id="2_wu84c"]
|
[ext_resource type="Texture2D" uid="uid://d23fefvrd41re" path="res://assets/textures/background/0.png" id="2_wu84c"]
|
||||||
|
|
||||||
109
scenes/main_menu.tscn6324169466.tmp
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
[gd_scene format=3 uid="uid://bluq6da7tku3d"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://cj37ns1ahfvhr" path="res://scripts/main_menu.gd" id="1_ekxnf"]
|
||||||
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_bqqt6"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://d23fefvrd41re" path="res://assets/textures/background/0.png" id="2_wu84c"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bqqt6"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ekxnf"]
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_wu84c"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_bqqt6")
|
||||||
|
path = "ui_accept"
|
||||||
|
metadata/_custom_type_script = "uid://7hglx6nfu063"
|
||||||
|
|
||||||
|
[sub_resource type="LabelSettings" id="LabelSettings_3agn1"]
|
||||||
|
font_size = 64
|
||||||
|
|
||||||
|
[node name="MainMenu" type="Control" unique_id=1471802333]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("1_ekxnf")
|
||||||
|
progression_backgrounds = Array[Texture2D]([ExtResource("2_wu84c")])
|
||||||
|
|
||||||
|
[node name="Background" type="TextureRect" parent="." unique_id=545049912]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
expand_mode = 1
|
||||||
|
stretch_mode = 6
|
||||||
|
|
||||||
|
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=1404024715]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 6
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -571.0
|
||||||
|
offset_top = -323.5
|
||||||
|
offset_bottom = 323.5
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1437260283]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 3
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 1.0
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_left = -130.0
|
||||||
|
offset_top = -67.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 0
|
||||||
|
theme_override_constants/margin_right = 200
|
||||||
|
theme_override_constants/margin_bottom = 150
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=212717997]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/VBoxContainer" unique_id=455366583]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_bqqt6")
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/PanelContainer" unique_id=980574030]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="Start" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer" unique_id=1823965781]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_ekxnf")
|
||||||
|
text = "Appuyer sur"
|
||||||
|
flat = true
|
||||||
|
icon_alignment = 2
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer" unique_id=544893863]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
texture = SubResource("Texture2D_wu84c")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="." unique_id=745232782]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 6
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -489.0
|
||||||
|
offset_top = -185.0
|
||||||
|
offset_right = -45.0
|
||||||
|
offset_bottom = -97.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 2
|
||||||
|
text = "Tales of PKMN"
|
||||||
|
label_settings = SubResource("LabelSettings_3agn1")
|
||||||
|
|
||||||
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer/Start" to="." method="_on_start_pressed"]
|
||||||
109
scenes/main_menu.tscn6333752743.tmp
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
[gd_scene format=3 uid="uid://bluq6da7tku3d"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://cj37ns1ahfvhr" path="res://scripts/main_menu.gd" id="1_ekxnf"]
|
||||||
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_bqqt6"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://d23fefvrd41re" path="res://assets/textures/background/0.png" id="2_wu84c"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bqqt6"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ekxnf"]
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_wu84c"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_bqqt6")
|
||||||
|
path = "ui_accept"
|
||||||
|
metadata/_custom_type_script = "uid://7hglx6nfu063"
|
||||||
|
|
||||||
|
[sub_resource type="LabelSettings" id="LabelSettings_3agn1"]
|
||||||
|
font_size = 64
|
||||||
|
|
||||||
|
[node name="MainMenu" type="Control" unique_id=1471802333]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("1_ekxnf")
|
||||||
|
progression_backgrounds = Array[Texture2D]([ExtResource("2_wu84c")])
|
||||||
|
|
||||||
|
[node name="Background" type="TextureRect" parent="." unique_id=545049912]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
expand_mode = 1
|
||||||
|
stretch_mode = 6
|
||||||
|
|
||||||
|
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=1404024715]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 6
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -571.0
|
||||||
|
offset_top = -323.5
|
||||||
|
offset_bottom = 323.5
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1437260283]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 3
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 1.0
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_left = -130.0
|
||||||
|
offset_top = -67.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 0
|
||||||
|
theme_override_constants/margin_right = 200
|
||||||
|
theme_override_constants/margin_bottom = 150
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=212717997]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/VBoxContainer" unique_id=455366583]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_bqqt6")
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/PanelContainer" unique_id=980574030]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="Start" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer" unique_id=1823965781]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_ekxnf")
|
||||||
|
text = "Appuyer sur"
|
||||||
|
flat = true
|
||||||
|
icon_alignment = 2
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer" unique_id=544893863]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
texture = SubResource("Texture2D_wu84c")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="." unique_id=745232782]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 6
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -489.0
|
||||||
|
offset_top = -185.0
|
||||||
|
offset_right = -45.0
|
||||||
|
offset_bottom = -97.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 2
|
||||||
|
text = "Tales of PKMN"
|
||||||
|
label_settings = SubResource("LabelSettings_3agn1")
|
||||||
|
|
||||||
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer/Start" to="." method="_on_start_pressed"]
|
||||||
109
scenes/main_menu.tscn6356094100.tmp
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
[gd_scene format=3 uid="uid://bluq6da7tku3d"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://cj37ns1ahfvhr" path="res://scripts/main_menu.gd" id="1_ekxnf"]
|
||||||
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_bqqt6"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://d23fefvrd41re" path="res://assets/textures/background/0.png" id="2_wu84c"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bqqt6"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ekxnf"]
|
||||||
|
|
||||||
|
[sub_resource type="Texture2D" id="Texture2D_wu84c"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
script = ExtResource("2_bqqt6")
|
||||||
|
path = "ui_accept"
|
||||||
|
metadata/_custom_type_script = "uid://7hglx6nfu063"
|
||||||
|
|
||||||
|
[sub_resource type="LabelSettings" id="LabelSettings_3agn1"]
|
||||||
|
font_size = 64
|
||||||
|
|
||||||
|
[node name="MainMenu" type="Control" unique_id=1471802333]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("1_ekxnf")
|
||||||
|
progression_backgrounds = Array[Texture2D]([ExtResource("2_wu84c")])
|
||||||
|
|
||||||
|
[node name="Background" type="TextureRect" parent="." unique_id=545049912]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
expand_mode = 1
|
||||||
|
stretch_mode = 6
|
||||||
|
|
||||||
|
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=1404024715]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 6
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -571.0
|
||||||
|
offset_top = -323.5
|
||||||
|
offset_bottom = 323.5
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1437260283]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 3
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 1.0
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_left = -130.0
|
||||||
|
offset_top = -67.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 0
|
||||||
|
theme_override_constants/margin_right = 200
|
||||||
|
theme_override_constants/margin_bottom = 150
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=212717997]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/VBoxContainer" unique_id=455366583]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_bqqt6")
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/PanelContainer" unique_id=980574030]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="Start" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer" unique_id=1823965781]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_ekxnf")
|
||||||
|
text = "Appuyer sur"
|
||||||
|
flat = true
|
||||||
|
icon_alignment = 2
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer" unique_id=544893863]
|
||||||
|
custom_minimum_size = Vector2(40, 40)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
texture = SubResource("Texture2D_wu84c")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="." unique_id=745232782]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 6
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -489.0
|
||||||
|
offset_top = -185.0
|
||||||
|
offset_right = -45.0
|
||||||
|
offset_bottom = -97.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 2
|
||||||
|
text = "Tales of PKMN"
|
||||||
|
label_settings = SubResource("LabelSettings_3agn1")
|
||||||
|
|
||||||
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer/HBoxContainer/Start" to="." method="_on_start_pressed"]
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[gd_scene format=3 uid="uid://d1mcef8gl66j"]
|
[gd_scene format=3 uid="uid://d1mcef8gl66j"]
|
||||||
|
|
||||||
[ext_resource type="Shader" uid="uid://dg3j314tijk1e" path="res://game/ui/pause_menu/pause_menu.gdshader" id="1_hdmo1"]
|
[ext_resource type="Shader" uid="uid://dg3j314tijk1e" path="res://pause_menu.gdshader" id="1_hdmo1"]
|
||||||
[ext_resource type="Script" uid="uid://bu3n6rboirk5r" path="res://game/ui/pause_menu/pause_menu.gd" id="1_kukqi"]
|
[ext_resource type="Script" uid="uid://bu3n6rboirk5r" path="res://scripts/pause_menu.gd" id="1_kukqi"]
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3agn1"]
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3agn1"]
|
||||||
shader = ExtResource("1_hdmo1")
|
shader = ExtResource("1_hdmo1")
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene format=3 uid="uid://bi3r04lqth7iq"]
|
[gd_scene format=3 uid="uid://bi3r04lqth7iq"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://ddxoruhyuxesc" path="res://game/ui/splash_screen/splash_screen.gd" id="1_hsxvm"]
|
[ext_resource type="Script" uid="uid://ddxoruhyuxesc" path="res://scripts/splash_screen.gd" id="1_hsxvm"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c28nuhy3im7y4" path="res://assets/textures/splash.png" id="2_4gp4q"]
|
[ext_resource type="Texture2D" uid="uid://c28nuhy3im7y4" path="res://assets/textures/splash.png" id="2_4gp4q"]
|
||||||
|
|
||||||
[node name="SplashScreen" type="Control" unique_id=300161700]
|
[node name="SplashScreen" type="Control" unique_id=300161700]
|
||||||
|
|
@ -12,7 +12,7 @@ extends Node
|
||||||
@export var menu_music: AudioStream
|
@export var menu_music: AudioStream
|
||||||
@export var start_click_sound: AudioStream
|
@export var start_click_sound: AudioStream
|
||||||
|
|
||||||
const GAME_SCENE_PATH := "res://game/world/main.tscn"
|
const GAME_SCENE_PATH := "res://scenes/main.tscn"
|
||||||
const MUSIC_FADE_DURATION := 0.8
|
const MUSIC_FADE_DURATION := 0.8
|
||||||
const SCREEN_FADE_DURATION := 0.6
|
const SCREEN_FADE_DURATION := 0.6
|
||||||
|
|
||||||