Add monotype icons

This commit is contained in:
Flashfyre 2024-04-04 12:27:41 -04:00
parent 7b85b92a6e
commit fcecad8707
10 changed files with 1763 additions and 0 deletions

View File

@ -0,0 +1,440 @@
{
"textures": [
{
"image": "pbinfo_enemy_type.png",
"format": "RGBA8888",
"size": {
"w": 21,
"h": 460
},
"scale": 1,
"frames": [
{
"filename": "unknown",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 0,
"w": 21,
"h": 23
}
},
{
"filename": "bug",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 23,
"w": 21,
"h": 23
}
},
{
"filename": "dark",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 46,
"w": 21,
"h": 23
}
},
{
"filename": "dragon",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 69,
"w": 21,
"h": 23
}
},
{
"filename": "electric",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 92,
"w": 21,
"h": 23
}
},
{
"filename": "fairy",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 115,
"w": 21,
"h": 23
}
},
{
"filename": "fighting",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 138,
"w": 21,
"h": 23
}
},
{
"filename": "fire",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 161,
"w": 21,
"h": 23
}
},
{
"filename": "flying",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 184,
"w": 21,
"h": 23
}
},
{
"filename": "ghost",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 207,
"w": 21,
"h": 23
}
},
{
"filename": "grass",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 230,
"w": 21,
"h": 23
}
},
{
"filename": "ground",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 253,
"w": 21,
"h": 23
}
},
{
"filename": "ice",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 276,
"w": 21,
"h": 23
}
},
{
"filename": "normal",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 299,
"w": 21,
"h": 23
}
},
{
"filename": "poison",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 322,
"w": 21,
"h": 23
}
},
{
"filename": "psychic",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 345,
"w": 21,
"h": 23
}
},
{
"filename": "rock",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 368,
"w": 21,
"h": 23
}
},
{
"filename": "steel",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 391,
"w": 21,
"h": 23
}
},
{
"filename": "water",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 414,
"w": 21,
"h": 23
}
},
{
"filename": "stellar",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 21,
"h": 23
},
"frame": {
"x": 0,
"y": 437,
"w": 21,
"h": 23
}
}
]
}
],
"meta": {
"app": "https://www.codeandweb.com/texturepacker",
"version": "3.0",
"smartupdate": "$TexturePacker:SmartUpdate:d7423e5fc58b914373ec2dccdd15a444:c260e815ef717a8a7523b6509cc187e1:bacf33678e11ee465e1d949fffc5dec2$"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -0,0 +1,440 @@
{
"textures": [
{
"image": "pbinfo_player_type.png",
"format": "RGBA8888",
"size": {
"w": 20,
"h": 460
},
"scale": 1,
"frames": [
{
"filename": "unknown",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 0,
"w": 20,
"h": 23
}
},
{
"filename": "bug",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 23,
"w": 20,
"h": 23
}
},
{
"filename": "dark",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 46,
"w": 20,
"h": 23
}
},
{
"filename": "dragon",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 69,
"w": 20,
"h": 23
}
},
{
"filename": "eletric",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 92,
"w": 20,
"h": 23
}
},
{
"filename": "fairy",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 115,
"w": 20,
"h": 23
}
},
{
"filename": "fighting",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 138,
"w": 20,
"h": 23
}
},
{
"filename": "fire",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 161,
"w": 20,
"h": 23
}
},
{
"filename": "flying",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 184,
"w": 20,
"h": 23
}
},
{
"filename": "ghost",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 207,
"w": 20,
"h": 23
}
},
{
"filename": "grass",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 230,
"w": 20,
"h": 23
}
},
{
"filename": "ground",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 253,
"w": 20,
"h": 23
}
},
{
"filename": "ice",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 276,
"w": 20,
"h": 23
}
},
{
"filename": "normal",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 299,
"w": 20,
"h": 23
}
},
{
"filename": "poison",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 322,
"w": 20,
"h": 23
}
},
{
"filename": "psychic",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 345,
"w": 20,
"h": 23
}
},
{
"filename": "rock",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 368,
"w": 20,
"h": 23
}
},
{
"filename": "steel",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 391,
"w": 20,
"h": 23
}
},
{
"filename": "water",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 414,
"w": 20,
"h": 23
}
},
{
"filename": "stellar",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 437,
"w": 20,
"h": 23
}
}
]
}
],
"meta": {
"app": "https://www.codeandweb.com/texturepacker",
"version": "3.0",
"smartupdate": "$TexturePacker:SmartUpdate:b139d32bbbcec621e078626c2e13480b:86845e2a793b2bfffdcc07a60b09fb76:d43f9ea8795e21ec0026609410dfb7c5$"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -0,0 +1,440 @@
{
"textures": [
{
"image": "pbinfo_enemy_type.png",
"format": "RGBA8888",
"size": {
"w": 20,
"h": 460
},
"scale": 1,
"frames": [
{
"filename": "unknown",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 0,
"w": 20,
"h": 23
}
},
{
"filename": "bug",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 23,
"w": 20,
"h": 23
}
},
{
"filename": "dark",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 46,
"w": 20,
"h": 23
}
},
{
"filename": "dragon",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 69,
"w": 20,
"h": 23
}
},
{
"filename": "electric",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 92,
"w": 20,
"h": 23
}
},
{
"filename": "fairy",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 115,
"w": 20,
"h": 23
}
},
{
"filename": "fighting",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 138,
"w": 20,
"h": 23
}
},
{
"filename": "fire",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 161,
"w": 20,
"h": 23
}
},
{
"filename": "flying",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 184,
"w": 20,
"h": 23
}
},
{
"filename": "ghost",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 207,
"w": 20,
"h": 23
}
},
{
"filename": "grass",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 230,
"w": 20,
"h": 23
}
},
{
"filename": "ground",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 253,
"w": 20,
"h": 23
}
},
{
"filename": "ice",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 276,
"w": 20,
"h": 23
}
},
{
"filename": "normal",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 299,
"w": 20,
"h": 23
}
},
{
"filename": "poison",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 322,
"w": 20,
"h": 23
}
},
{
"filename": "psychic",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 345,
"w": 20,
"h": 23
}
},
{
"filename": "rock",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 368,
"w": 20,
"h": 23
}
},
{
"filename": "steel",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 391,
"w": 20,
"h": 23
}
},
{
"filename": "water",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 414,
"w": 20,
"h": 23
}
},
{
"filename": "stellar",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 21,
"h": 25
},
"spriteSourceSize": {
"x": 0,
"y": 2,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 437,
"w": 20,
"h": 23
}
}
]
}
],
"meta": {
"app": "https://www.codeandweb.com/texturepacker",
"version": "3.0",
"smartupdate": "$TexturePacker:SmartUpdate:d7423e5fc58b914373ec2dccdd15a444:c260e815ef717a8a7523b6509cc187e1:bacf33678e11ee465e1d949fffc5dec2$"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,440 @@
{
"textures": [
{
"image": "pbinfo_player_type.png",
"format": "RGBA8888",
"size": {
"w": 20,
"h": 460
},
"scale": 1,
"frames": [
{
"filename": "unknown",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 0,
"w": 20,
"h": 23
}
},
{
"filename": "bug",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 23,
"w": 20,
"h": 23
}
},
{
"filename": "dark",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 46,
"w": 20,
"h": 23
}
},
{
"filename": "dragon",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 69,
"w": 20,
"h": 23
}
},
{
"filename": "eletric",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 92,
"w": 20,
"h": 23
}
},
{
"filename": "fairy",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 115,
"w": 20,
"h": 23
}
},
{
"filename": "fighting",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 138,
"w": 20,
"h": 23
}
},
{
"filename": "fire",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 161,
"w": 20,
"h": 23
}
},
{
"filename": "flying",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 184,
"w": 20,
"h": 23
}
},
{
"filename": "ghost",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 207,
"w": 20,
"h": 23
}
},
{
"filename": "grass",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 230,
"w": 20,
"h": 23
}
},
{
"filename": "ground",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 253,
"w": 20,
"h": 23
}
},
{
"filename": "ice",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 276,
"w": 20,
"h": 23
}
},
{
"filename": "normal",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 299,
"w": 20,
"h": 23
}
},
{
"filename": "poison",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 322,
"w": 20,
"h": 23
}
},
{
"filename": "psychic",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 345,
"w": 20,
"h": 23
}
},
{
"filename": "rock",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 368,
"w": 20,
"h": 23
}
},
{
"filename": "steel",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 391,
"w": 20,
"h": 23
}
},
{
"filename": "water",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 414,
"w": 20,
"h": 23
}
},
{
"filename": "stellar",
"rotated": false,
"trimmed": true,
"sourceSize": {
"w": 23,
"h": 29
},
"spriteSourceSize": {
"x": 0,
"y": 6,
"w": 20,
"h": 23
},
"frame": {
"x": 0,
"y": 437,
"w": 20,
"h": 23
}
}
]
}
],
"meta": {
"app": "https://www.codeandweb.com/texturepacker",
"version": "3.0",
"smartupdate": "$TexturePacker:SmartUpdate:b139d32bbbcec621e078626c2e13480b:86845e2a793b2bfffdcc07a60b09fb76:d43f9ea8795e21ec0026609410dfb7c5$"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -36,10 +36,12 @@ export class LoadingScene extends SceneBase {
this.loadAtlas('namebox', 'ui');
this.loadImage('pbinfo_player', 'ui');
this.loadImage('pbinfo_player_mini', 'ui');
this.loadAtlas('pbinfo_player_type', 'ui');
this.loadAtlas('pbinfo_player_type1', 'ui');
this.loadAtlas('pbinfo_player_type2', 'ui');
this.loadImage('pbinfo_enemy_mini', 'ui');
this.loadImage('pbinfo_enemy_boss', 'ui');
this.loadAtlas('pbinfo_enemy_type', 'ui');
this.loadAtlas('pbinfo_enemy_type1', 'ui');
this.loadAtlas('pbinfo_enemy_type2', 'ui');
this.loadImage('overlay_lv', 'ui');

View File

@ -206,6 +206,7 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
this.shinyIcon.setVisible(pokemon.isShiny());
const types = pokemon.getTypes(true);
this.type1Icon.setTexture(`pbinfo_${this.player ? 'player' : 'enemy'}_type${types.length > 1 ? '1' : ''}`);
this.type1Icon.setFrame(Type[types[0]].toLowerCase());
this.type2Icon.setVisible(types.length > 1);
if (types.length > 1)