From d86c1200f824b64eddd549d241bbb4157959ce49 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 3 Apr 2024 21:19:42 -0400 Subject: [PATCH] Add battle info type icons --- public/images/types.png | Bin 2088 -> 4467 bytes .../images/ui/legacy/pbinfo_enemy_type1.json | 440 ++++++++++++++++++ .../images/ui/legacy/pbinfo_enemy_type1.png | Bin 0 -> 1349 bytes .../images/ui/legacy/pbinfo_enemy_type2.json | 440 ++++++++++++++++++ .../images/ui/legacy/pbinfo_enemy_type2.png | Bin 0 -> 1349 bytes .../images/ui/legacy/pbinfo_player_type1.json | 440 ++++++++++++++++++ .../images/ui/legacy/pbinfo_player_type1.png | Bin 0 -> 1349 bytes .../images/ui/legacy/pbinfo_player_type2.json | 440 ++++++++++++++++++ .../images/ui/legacy/pbinfo_player_type2.png | Bin 0 -> 1349 bytes public/images/ui/pbinfo_enemy_type1.json | 440 ++++++++++++++++++ public/images/ui/pbinfo_enemy_type1.png | Bin 0 -> 1360 bytes public/images/ui/pbinfo_enemy_type2.json | 440 ++++++++++++++++++ public/images/ui/pbinfo_enemy_type2.png | Bin 0 -> 1340 bytes public/images/ui/pbinfo_player_type1.json | 440 ++++++++++++++++++ public/images/ui/pbinfo_player_type1.png | Bin 0 -> 1340 bytes public/images/ui/pbinfo_player_type2.json | 440 ++++++++++++++++++ public/images/ui/pbinfo_player_type2.png | Bin 0 -> 1360 bytes public/images/ui/type_bgs.png | Bin 882 -> 1124 bytes src/loading-scene.ts | 4 + src/ui/battle-info.ts | 27 ++ 20 files changed, 3551 insertions(+) create mode 100644 public/images/ui/legacy/pbinfo_enemy_type1.json create mode 100644 public/images/ui/legacy/pbinfo_enemy_type1.png create mode 100644 public/images/ui/legacy/pbinfo_enemy_type2.json create mode 100644 public/images/ui/legacy/pbinfo_enemy_type2.png create mode 100644 public/images/ui/legacy/pbinfo_player_type1.json create mode 100644 public/images/ui/legacy/pbinfo_player_type1.png create mode 100644 public/images/ui/legacy/pbinfo_player_type2.json create mode 100644 public/images/ui/legacy/pbinfo_player_type2.png create mode 100644 public/images/ui/pbinfo_enemy_type1.json create mode 100644 public/images/ui/pbinfo_enemy_type1.png create mode 100644 public/images/ui/pbinfo_enemy_type2.json create mode 100644 public/images/ui/pbinfo_enemy_type2.png create mode 100644 public/images/ui/pbinfo_player_type1.json create mode 100644 public/images/ui/pbinfo_player_type1.png create mode 100644 public/images/ui/pbinfo_player_type2.json create mode 100644 public/images/ui/pbinfo_player_type2.png diff --git a/public/images/types.png b/public/images/types.png index 303a88752601c0d0060f68be7b22d37c07255ed2..8b644f1041c4236c9e729b30c529149e209a286c 100644 GIT binary patch literal 4467 zcmV-(5sdDMP)Px`6G=otRCt`tU4Kwj*PZ`dd|iK}*^=FMf@w@19aKQ6Lh@$$l@@Ai16bm~240OR z?a2C^^+$F$8LSE+;i?d48<5y!qG2 z4nAzXdvPj3#3+Rc2s=~dZYcmds_}3t@GJpaU+P4an~(q~L^W0A+@L%MjyL}rC-?0e z7dIgROx9e`z7WMkldg%z$$k4^0KkJwbF^gP3T1x;6jatKZhE$V39NDGA zKhBV9V(dK}uXhr9DHLQ4Sg-aUk64^cX4@)IS_wnJH~>IH^DsieI22@w1LgG!*WTsX zxAH=y(izoLbq*+IprLsf0F*j5%b=zUC}toOj6*0Ghlb{1&-&6bsA5t|5Dh#}!-A{< zOJ+yMmPN*?1mige_>|I4S>BEFg8qdlnnh!x(f;ERb2lto8mlD>jr&Fo9{?;`{Dcnw zXxvu|W7kir$?L~^wFIyrJAf%)`NADFTD$|ea_K$!X}Ec3na=7 zQ`4W)l7-VJo-=ntLiFs0hG7^!LI^=mnhyUUgb;&tr|R7eNp~tC-Kn%1zQUJN2vB znPVNh1R>I^u9+EeZpth#k^ycv+|WLV8<9v^2Rz*LqP3fl60o4<5Csx-3EZHnC$jS_ z0gZM;yBbF)+zqH_(Gh^iP?cjRA8qrxGFkgV6jNJsS)23Pn#<;HShF}zOBQMl4M%pv zBUkn8hTr%*!$*!>C8OFfwOH`8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lh_lfdPTqI0kcqO z`%lx&7cXACeEH|g4-FqZkPWJcVpWt?W0y5%0z{!s!zmfdngdcWJPELMexlaQB11K`JtB+p~ Q=Kufz07*qoM6N<$f~-2|lK=n! diff --git a/public/images/ui/legacy/pbinfo_enemy_type1.json b/public/images/ui/legacy/pbinfo_enemy_type1.json new file mode 100644 index 00000000000..1426aaabf86 --- /dev/null +++ b/public/images/ui/legacy/pbinfo_enemy_type1.json @@ -0,0 +1,440 @@ +{ + "textures": [ + { + "image": "pbinfo_enemy_type1.png", + "format": "RGBA8888", + "size": { + "w": 14, + "h": 280 + }, + "scale": 1, + "frames": [ + { + "filename": "unknown", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 0, + "w": 14, + "h": 14 + } + }, + { + "filename": "bug", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 14, + "w": 14, + "h": 14 + } + }, + { + "filename": "dark", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 28, + "w": 14, + "h": 14 + } + }, + { + "filename": "dragon", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 42, + "w": 14, + "h": 14 + } + }, + { + "filename": "electric", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 56, + "w": 14, + "h": 14 + } + }, + { + "filename": "fairy", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 70, + "w": 14, + "h": 14 + } + }, + { + "filename": "fighting", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 84, + "w": 14, + "h": 14 + } + }, + { + "filename": "fire", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 98, + "w": 14, + "h": 14 + } + }, + { + "filename": "flying", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 112, + "w": 14, + "h": 14 + } + }, + { + "filename": "ghost", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 126, + "w": 14, + "h": 14 + } + }, + { + "filename": "grass", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 140, + "w": 14, + "h": 14 + } + }, + { + "filename": "ground", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 154, + "w": 14, + "h": 14 + } + }, + { + "filename": "ice", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 168, + "w": 14, + "h": 14 + } + }, + { + "filename": "normal", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 182, + "w": 14, + "h": 14 + } + }, + { + "filename": "poison", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 196, + "w": 14, + "h": 14 + } + }, + { + "filename": "psychic", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 210, + "w": 14, + "h": 14 + } + }, + { + "filename": "rock", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 224, + "w": 14, + "h": 14 + } + }, + { + "filename": "steel", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 238, + "w": 14, + "h": 14 + } + }, + { + "filename": "water", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 252, + "w": 14, + "h": 14 + } + }, + { + "filename": "stellar", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 21, + "h": 14 + }, + "spriteSourceSize": { + "x": 7, + "y": 0, + "w": 14, + "h": 14 + }, + "frame": { + "x": 0, + "y": 266, + "w": 14, + "h": 14 + } + } + ] + } + ], + "meta": { + "app": "https://www.codeandweb.com/texturepacker", + "version": "3.0", + "smartupdate": "$TexturePacker:SmartUpdate:5eeed0fd47b10bea43eb042742951a2c:18ec72659806247c374198dbea2b508b:d9090a2a3d5b7d3d6bf6fbf4664ed894$" + } +} \ No newline at end of file diff --git a/public/images/ui/legacy/pbinfo_enemy_type1.png b/public/images/ui/legacy/pbinfo_enemy_type1.png new file mode 100644 index 0000000000000000000000000000000000000000..f882e56ac88c646ba3fc385918224ff428763a48 GIT binary patch literal 1349 zcmV-L1-kl)P)&1l=!nSJ*uePsczDQAa5(rNXkd7d5LkdfaLBOO;4skm=tww_ zkdUC*fVlX;u*ksp|H#~5Gv+8Mq_XVmQ=YG?cwIDOML=FNeVBD+mOjPuHeie;e3+unpl_s3=QK(A#DMgV z4U05mJ6~&wDMpDWK24!Yh#@Yc&bITNi|Ijcq0W@4$?nzBy!EGu-_@+G$kM~mue8si z>)4j*L?QXufAZUl?`;-%whUO5-AY~Y~(U{~p zYWeTCh3_{ESdv5zvqTxfh-+phjcg4tGz0z0u(q(c#j)qy$W2tgAgXiig}SH$w24U2 z2J*>U@yboqza;8&?WMkG$sljq$3a^3Z*PZvp2cwJZqadOU}h%!_Rg@+ar$N~jkeKW z^2$xr_HXYtUYl*voI&2VjV3MnCLOkU7Q>;rMLkl8ZH+b&E_NeMgg>`Y*hYKKD>qU3 zoT$vT=gOk<8Dd+7NTjfg$$!M*l_^|V+9;p*%1tyiFPh@o`S3>(Fd__(IOy?+qdx(M z%)!b;7=nNQZ5HPyN>)S(*RCWYJd!Io#U#PSqTF>36JU~|eKZ95$PfFuU5Y zjqW7B8LIvn#4o6}{{c1U5PfPyiyEr|PGk;|2t!b{QJv(?(DBbv2RCp>LP#&wr_F2H?Lkb$h5V!Jz(5m930=ieROpE=r&1l=!nSJ*uePsczDQAa5(rNXkd7d5LkdfaLBOO;4skm=tww_ zkdUC*fVlX;u*ksp|H#~5Gv+8Mq_XVmQ=YG?cwIDOML=FNeVBD+mOjPuHeie;e3+unpl_s3=Q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G})!_IBs#`-)2 zpMQL69~&F%^Aa<$bH~Q|yl`mb2VIATF5oD5%q1ck9krabqv;5?c0?^zN2MQIJD&cG z*{Jl3_{VaHqe{OBf8UVRb!g}U4%?StG;Ci|b<|b2L1UM_JLueZTp7deJ3e}!S+0!9 z+TbMOXlL7N#Fd7xbR8PHfZg_O7(I~z^j|K($bY%ue8K)s4fX~5wSuZ+b`jfIz4RQjF}o-dOkGDD%`S?t zH;~kIXy^itTRs?#TRv4s!|@Z)*j*p?sX7uVtd7HPG8>7MNIUqweIg~o^+VX(9!Wlr z)9TF0000#=FC9FLzYel5&UAX73$p@)TG-5)n1|phm9Lss^Mfee4|({7s<4_;N=% zaPBb8-a8h(aewh40mS<@z$vcQyn=XJM0Z5+0H|$3L)s>IwSbar0k7T>-aaT$e*Pur z@b(e@`}<$2)bREZWa~|IM+6Umvm0q>cCX$sJh)WeOw-;w9vK%O8UXU_ieMMdrSe+> z(M2BJ5y1mspQbd_r|Bni2Yc2@3M=Am5&XiHn%saB3x5HCU!rm%$bO6gz%G7w2m4XJ zTDSL(WFY6r*92m;53A+M&58sk76O3P`ly^Q4;nMmkTLV_j^;jcOTD??-BFfz@-SCJ z=HVIGa?A3LZ$HwkW8d-p{hz3uFAus^(U4o!ubI`2oLMcqJ6g@1=TriS_K%<}H-N5+ z6w;bo%zqsbJOHkW-*>F)wePrhS4wtsr(e0lw_NT>dJ*s2uovpueJFMR*ut+X)wtfp{<%Dki7G!iT_KpZ10KMYf;nm9>!!U6Z z-R7~Mtg0%bpL%vq2Wz>5pmRFNJh#yu5j>L07k~a1qFL;(R9=y(TMyMEZ+!A_CtJQo?A3szmIQj2PX)Wb9O mjtCwAFIz`Lm#sVQj{gA_BaOJ&SE14X0000 1); + if (types.length > 1) + this.type2Icon.setFrame(Type[types[1]].toLowerCase()); + if (this.player) { this.expMaskRect.x = (pokemon.levelExp / getLevelTotalExp(pokemon.level, pokemon.species.growthRate)) * 510; this.lastExp = pokemon.exp; @@ -220,6 +236,11 @@ export default class BattleInfo extends Phaser.GameObjects.Container { const offsetElements = [ this.nameText, this.genderText, this.teraIcon, this.splicedIcon, this.statusIndicator, this.levelContainer ]; offsetElements.forEach(el => el.y += 1.5 * (mini ? -1 : 1)); + [ this.type1Icon, this.type2Icon ].forEach(el => { + el.x += 4 * (mini ? 1 : -1); + el.y += -8 * (mini ? 1 : -1); + }); + this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5); const toggledElements = [ this.hpNumbersContainer, this.expBar ]; @@ -310,6 +331,12 @@ export default class BattleInfo extends Phaser.GameObjects.Container { this.ownedIcon.setAlpha(this.statusIndicator.visible ? 0 : 1); } + const types = pokemon.getTypes(true); + this.type1Icon.setFrame(Type[types[0]].toLowerCase()); + this.type2Icon.setVisible(types.length > 1); + if (types.length > 1) + this.type2Icon.setFrame(Type[types[1]].toLowerCase()); + const updateHpFrame = () => { const hpFrame = this.hpBar.scaleX > 0.5 ? 'high' : this.hpBar.scaleX > 0.25 ? 'medium' : 'low'; if (hpFrame !== this.lastHpFrame) {