mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
* constants for position of discard button * Moved transfer/discard button up in doubles * Fixed the various `.setOrigin(0,0)` * Small clean up * Added `isBenched` property to slots; x origin of `slotBg` is now 0 * Also set y origin to 0 * Offsets are relevant to the same thing * Introducing const object to store ui magic numbers * More magic numbers in const * Laid out numbers for slot positions * Added smaller main slots for transfer mode in doubles * Changed background to fit new slot disposition * Apply suggestions from code review Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com> * Optimized PNGs * Updated comment * Removed "magicNumbers" container, added multiple comments * Update src/ui/party-ui-handler.ts Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com> * Fainted pkmn slots displaying correctly --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com> Co-authored-by: Adri1 <adrien.grivel@hotmail.fr> Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com> Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
147 lines
2.4 KiB
JSON
147 lines
2.4 KiB
JSON
{
|
|
"textures": [
|
|
{
|
|
"image": "party_slot_main_short.png",
|
|
"format": "RGBA8888",
|
|
"size": {
|
|
"w": 110,
|
|
"h": 294
|
|
},
|
|
"scale": 1,
|
|
"frames": [
|
|
{
|
|
"filename": "party_slot_main_short",
|
|
"rotated": false,
|
|
"trimmed": false,
|
|
"sourceSize": {
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"spriteSourceSize": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"frame": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
}
|
|
},
|
|
{
|
|
"filename": "party_slot_main_short_sel",
|
|
"rotated": false,
|
|
"trimmed": false,
|
|
"sourceSize": {
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"spriteSourceSize": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"frame": {
|
|
"x": 0,
|
|
"y": 41,
|
|
"w": 110,
|
|
"h": 41
|
|
}
|
|
},
|
|
{
|
|
"filename": "party_slot_main_short_fnt",
|
|
"rotated": false,
|
|
"trimmed": false,
|
|
"sourceSize": {
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"spriteSourceSize": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"frame": {
|
|
"x": 0,
|
|
"y": 82,
|
|
"w": 110,
|
|
"h": 41
|
|
}
|
|
},
|
|
{
|
|
"filename": "party_slot_main_short_fnt_sel",
|
|
"rotated": false,
|
|
"trimmed": false,
|
|
"sourceSize": {
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"spriteSourceSize": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"frame": {
|
|
"x": 0,
|
|
"y": 123,
|
|
"w": 110,
|
|
"h": 41
|
|
}
|
|
},
|
|
{
|
|
"filename": "party_slot_main_short_swap",
|
|
"rotated": false,
|
|
"trimmed": false,
|
|
"sourceSize": {
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"spriteSourceSize": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"frame": {
|
|
"x": 0,
|
|
"y": 164,
|
|
"w": 110,
|
|
"h": 41
|
|
}
|
|
},
|
|
{
|
|
"filename": "party_slot_main_short_swap_sel",
|
|
"rotated": false,
|
|
"trimmed": false,
|
|
"sourceSize": {
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"spriteSourceSize": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 110,
|
|
"h": 41
|
|
},
|
|
"frame": {
|
|
"x": 0,
|
|
"y": 205,
|
|
"w": 110,
|
|
"h": 41
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"app": "https://www.codeandweb.com/texturepacker",
|
|
"version": "3.0",
|
|
"smartupdate": "$TexturePacker:SmartUpdate:29685f2f538901cf5bf7f0ed2ea867c3:a080ea6c8cccd1e03244214053e79796:565f7afc5ca419b6ba8dbce51ea30818$"
|
|
}
|
|
}
|