From a05189120c2673f04dc73e258d4b91ea94097138 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 17 Mar 2024 16:47:49 -0400 Subject: [PATCH] Add power plant background --- public/images/arenas/power_plant_a.png | Bin 0 -> 1024 bytes public/images/arenas/power_plant_b.png | Bin 0 -> 1825 bytes public/images/arenas/power_plant_b_1.png | Bin 0 -> 1076 bytes public/images/arenas/power_plant_b_2.png | Bin 0 -> 618 bytes public/images/arenas/power_plant_b_3.json | 146 ++++++++++++++++++++++ public/images/arenas/power_plant_b_3.png | Bin 0 -> 880 bytes public/images/arenas/power_plant_bg.png | Bin 0 -> 643 bytes src/battle-scene.ts | 2 +- src/field/arena.ts | 3 +- 9 files changed, 148 insertions(+), 3 deletions(-) create mode 100644 public/images/arenas/power_plant_a.png create mode 100644 public/images/arenas/power_plant_b.png create mode 100644 public/images/arenas/power_plant_b_1.png create mode 100644 public/images/arenas/power_plant_b_2.png create mode 100644 public/images/arenas/power_plant_b_3.json create mode 100644 public/images/arenas/power_plant_b_3.png create mode 100644 public/images/arenas/power_plant_bg.png diff --git a/public/images/arenas/power_plant_a.png b/public/images/arenas/power_plant_a.png new file mode 100644 index 0000000000000000000000000000000000000000..15f7970d7268eb351fde47eaa9cc8f6a2507f70b GIT binary patch literal 1024 zcmeAS@N?(olHy`uVBq!ia0y~yU~~YoTR7N&5jgR z3=A9lx&I`xGB7Yt@N{tusfc@f^I*P6sLX+nrn<2mxvdh18h8I;toroqEVp4>hL45E zj-TR%%2f)A0!cjL`S)yI$}cE4U8bn0%T|^d{PXR;>-%cw-kiJAdvoT^ zb2XL5)fGnIpM2QvTBfmu=Pl`{>%yx9{ye7q8qs|Nj)X_2+-Q?`^)Yj`zCS z=?^asDnDmUZxY@+DZQZbm{{TJAOn@yV&v(!11`&birI9sk!RvdnUt*`gDhER5Cj?%yyyS-5&}n0s1ks%kG=^VO?Y zO=eYnJfE@Q^Owk9;hTHAUpHTUcxqzl?i+XS&fR@4!^CUxx5pvzRcGgS3Gd~t7>D}o)`_e~c%iT*?H+FaL(JT;b+xKv_thvwAs@QvvEpB&~e*5-K z&G`DV((Uu)j#Yg=^y|!X(OZim?xnrY+5fBm#nsof2M^s&$@Dw+dVcJE{l(#@H_zTt z@ws*P-Up^iEe)+|P`rdfSe(%@sWwre_`pw@^diQzJG4uCdpBi3K>WKV#^IY}* zj)#xs<+v5q-(8vCa=YB_#`*0#eEGjURyr@9W_dVs*9vjg4KIJ*eY)EHy5`i|o!{-> z@vMzg|F(2m{@lZhIF7x)omR7T8^gXDOSw7La+eMU7)We(Py4vlZHRQu|BS7d*|hhNju%M#;QUNh)%1+VS9zvu6XPsK;7qCdtJ zu9p7w##y6Z`H=XmN8+c>8+}tunvwq8w_mws!sMb?e!I4PNR6-g9{BoIZbhc7k4GtJkRK?}&{fM%pi!IMEOPgg&ebxsLQ0DyP9U;qFB literal 0 HcmV?d00001 diff --git a/public/images/arenas/power_plant_b.png b/public/images/arenas/power_plant_b.png new file mode 100644 index 0000000000000000000000000000000000000000..67fa01426c92729642d1df4e6f0e8b9a85f4305e GIT binary patch literal 1825 zcmb`I`BxH%7RTXb4k?o6kPGfDrshITDo&7!PUEpKrK3(NC}w5m2IWR%xuuQ;@8yUK zsn{_e@2Q2FM2MREGNI*`gSe&QlBp=7pz`dT_ZPhL?hp5V?m72-&;8+h?#;S_xu~J0 zuLb}BG(3KF^8o;W&ikAOQr*u}#gc~o0wnodbOlrk3>Nkqm76Y?T>tNUES4HU}@P4^j**+n$N?3PHMZPmu99pXF@)HEKfNM zfLcfT&;pO(j7p62!MvYq$EEzO2N$|)Rs_6yhr;9=cP6&KZ}k6&n5-aC@d0Imm><8F zz0Ql?t>1PsRIUY+S$)rqaich=SlI`BJzZ`fddKJAofgP!BLz*n@_^7dcgRV4N2@JP z)MiZ}?#w5w^J5h0H$$JHk`JYZa=&ACKC$OS*Q*KcBq8x4ZfYidd zahimmS{SG(TIY6}%qE+`u{q`IrnW@~X{7R}<1}!HAy0RP^x}^=jbOc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$T@a|B9Y_U*Agwmo`7wfaB0><_ZSWFzsi1H<_w37ShP?y6g5U^j zZRfCgL%RQ`4D{aT-lM>o(n0S#NP7O9;AFt!*oUcd)1^6OB+TFA#^uWZ%Y6p@SMU?|*?01A$GBCy2B-W7@6=hB literal 0 HcmV?d00001 diff --git a/public/images/arenas/power_plant_b_1.png b/public/images/arenas/power_plant_b_1.png new file mode 100644 index 0000000000000000000000000000000000000000..43c4979214f3c34d0021f023d0ab6d5339064bd5 GIT binary patch literal 1076 zcmeAS@N?(olHy`uVBq!ia0y~yU~~YoTR7N&5jgR z3=A9lx&I`xGB7Y7@pN$vsfc@f*S1?UT;jmTK<(yy?naLed52uxDY?O&jNaV4S-vPo zL`Fp3;);67E+C@a+R&k>QkJE;$fKoU{fVT-Hk&`6C@f1W`(E|_PV4XA2MvsOAKhy4 z=e=e6yEtv2mE;4lE1ieg?T=r)!=%&3asU2xy{qjUM!dIY8RujQ?)m)u+?DJ4@iyzv zhp)T8F3+|qiN|>3+q06}_He`><6m}gw|exk_ov;j>tx68t-KwxHuc-_??w$XcJtiN zSD&_ee!XSD|24Va_bq+(clPzOcUN(X>t9b-ObKG+D;E7|UHmPi_`2@n>Ce9z-H20| zY?Lu$c29hZ?$-3mmHKs>N1P@QDb#9VWSbSQ2 zZ|ak_N7vIesub(w-Me0M%>OZwWx~#`8&5Ba@9(YoVVT~jxxUy_=DVc#M`cNlo@Fur z@{U!VzF+YD-u|nX)7QUx9i&(LxY2#jwwv;*#tv>%KX%`|=f-pP-=~*(Ee4Oo{cBDy z-us?Cm+6GYr<3^_-+!kqy(4Y%dvQO5(JG_5*RBR>^|hy;_C%femo#5Ltw!+>(AjNo zGR_$o@BF^K`ux3DmrtFV#Zh+h$J3vGcbAvGv8#(%`R?D(4OV4O0%~KA>Hpb~onE~4 z)SG@qHkRPfy1+~p^~cjs*&gUUrhiUw|DDg>KU&NF+%n$Z5nngE=f}mP3lg%F>QW~t z1$_LzGnFB@&A|1^uarNhKC~|Uv2`ZnrK1fAS+^K@1lO%&$P1C&zwSfpx*tz3ZC7d9 zQps`Xic5@9Q05D6-|LtA;#=}H>IC<8#K_$Lyi14geVb40Z+o3tUp`kz9_Wa?A0FFk zRQ8ld|DWv7TWR$rh6*!w8oA6CG~PAmudmelo{eCah)i}dnE$9td~;HQ;jFVR0e>W# z4<21nM5jS~=vP*z85|$u<9~oe_);T0(|mmyw18|5h!TcN!IMEOPgg&e IbxsLQ04>(hasU7T literal 0 HcmV?d00001 diff --git a/public/images/arenas/power_plant_b_2.png b/public/images/arenas/power_plant_b_2.png new file mode 100644 index 0000000000000000000000000000000000000000..1cecfa0e56ae7c8cd377f1e7f2ba1ffe8234e638 GIT binary patch literal 618 zcmeAS@N?(olHy`uVBq!ia0y~yU~~YoTR7N&5jgR z3=A9lx&I`x0_A>rx;TbZ#J#;8nAc<=!=AAH@*9g|u?LPfE26aB=!1p}H-93W0j52U1=sZaXk_&HQcm3%?)wnEig%?1{&3FbQXHyDxj5 zcSLFJ{cZDIH~;*5?Nvd|UHjvI&z)g<-zW6rl&WgEL42K z_fVPTV8_ABx4!SxmOZSOqj*9qdil)zGaeW8-{CzGS9!60fyLhfW#_}{Pk+4rwdbqF zna;+BPLV{BF4>i>eb-di1$ZZ4NJz46HqfbbKA@RLVb~kUufED3HouRZbsg_2pjmvW d5uRzjz6@GGHV4$~OTm*tEKgTImvv4FO#oc^&bR;o literal 0 HcmV?d00001 diff --git a/public/images/arenas/power_plant_b_3.json b/public/images/arenas/power_plant_b_3.json new file mode 100644 index 000000000..5a6543af5 --- /dev/null +++ b/public/images/arenas/power_plant_b_3.json @@ -0,0 +1,146 @@ +{ + "textures": [ + { + "image": "power_plant_b_3.png", + "format": "RGBA8888", + "size": { + "w": 121, + "h": 49 + }, + "scale": 1, + "frames": [ + { + "filename": "0003.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 320, + "h": 132 + }, + "spriteSourceSize": { + "x": 243, + "y": 24, + "w": 43, + "h": 49 + }, + "frame": { + "x": 0, + "y": 0, + "w": 43, + "h": 49 + } + }, + { + "filename": "0004.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 320, + "h": 132 + }, + "spriteSourceSize": { + "x": 243, + "y": 24, + "w": 43, + "h": 49 + }, + "frame": { + "x": 0, + "y": 0, + "w": 43, + "h": 49 + } + }, + { + "filename": "0005.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 320, + "h": 132 + }, + "spriteSourceSize": { + "x": 243, + "y": 24, + "w": 42, + "h": 49 + }, + "frame": { + "x": 43, + "y": 0, + "w": 42, + "h": 49 + } + }, + { + "filename": "0006.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 320, + "h": 132 + }, + "spriteSourceSize": { + "x": 243, + "y": 24, + "w": 42, + "h": 49 + }, + "frame": { + "x": 43, + "y": 0, + "w": 42, + "h": 49 + } + }, + { + "filename": "0001.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 320, + "h": 132 + }, + "spriteSourceSize": { + "x": 243, + "y": 26, + "w": 36, + "h": 47 + }, + "frame": { + "x": 85, + "y": 0, + "w": 36, + "h": 47 + } + }, + { + "filename": "0002.png", + "rotated": false, + "trimmed": true, + "sourceSize": { + "w": 320, + "h": 132 + }, + "spriteSourceSize": { + "x": 243, + "y": 26, + "w": 36, + "h": 47 + }, + "frame": { + "x": 85, + "y": 0, + "w": 36, + "h": 47 + } + } + ] + } + ], + "meta": { + "app": "https://www.codeandweb.com/texturepacker", + "version": "3.0", + "smartupdate": "$TexturePacker:SmartUpdate:04e5900ac6a3fd4ccfeda669259f92e5:c979055bd7bcf0c5e68d1732e2822670:9f608f85fe0088569af7e43cae7fd48a$" + } +} diff --git a/public/images/arenas/power_plant_b_3.png b/public/images/arenas/power_plant_b_3.png new file mode 100644 index 0000000000000000000000000000000000000000..25d75ff53edadd4d2fd2d7a360123f331426319a GIT binary patch literal 880 zcmV-$1CRWPP)qBEig~P{nYx^cz_qT;w4l_=#OvA0_4M=q|Nq9T zC_VrH00DGTPE!Ct=GbNc000SaNLh0L01FcU01FcV0GgZ_0008hNkl=c z$*1VhnN#tlx?GEqu1MWX3AWXS(30Nz@1|6)C5n&gybNb*^Ks^UD)LOz#r)|U9K_LO z+}1uEno?Y2QgZV8(JQnPS42xdQz*e$JPgA2&5JP?|lGjO~Y@?=8vG#NPD zhiNv>+PGNQqve`|I@Ztrmj3c;8KUcOKS1n9Pj5+y-l$ByW!Tg z-e2MOCEYZV*=3-(p+FSZ?QGNRFHg4@fHXshPnvsICtG`bT!tW~%QxFNj(lK_4FQ@D zTccZPw!kHze@*`F@q7yE zu6RlmgP8wFjrZdz(O&a4q(%SCybULjP4v&qeeslNj5r5U2>CzE1dfrNM+xnUr$nPU z$R%@MJRO?FoN%0{7TOh0iQ-h7rISdd)=7d~i_r#nYkL zJb7rGn&!TEIsEemY2gIfsQ5jE< zk~_uR5+my4=~1SAMKgcD74HUG=ueQ2csJ1Qx{7xXmFgdr5^JfF=1Q^v00005jgR z3=A9lx&I`xGB7X+d%8G=RK&f#yOGy1kfH5jd9TvM3|8HX9EN?GCRs~)brxlOR$?sF<+eEZLOLeN3Mo1syMk!2H$zzHEVPPWZD|M`a)J;f9zJT+ob zIL!o8bz0M4LMkIuBojwUB`@2FO+XXc6&$9qa-?u7Oi*obn8pB>BgDD3Blg`pW|m1h z5PQQPF-L-|5?}$Fi0q~{8}HAV%ft+Fi7DUi#jG4Ek;K_zy6yGU(*g}D+yW b === btKey); const propKey = `${btKey}_b_${p}`; if (!isPropAnimated) this.loadImage(propKey, 'arenas'); diff --git a/src/field/arena.ts b/src/field/arena.ts index a887b595f..813762d65 100644 --- a/src/field/arena.ts +++ b/src/field/arena.ts @@ -564,8 +564,6 @@ export class Arena { export function getBiomeKey(biome: Biome): string { switch (biome) { - case Biome.POWER_PLANT: - return 'ruins'; case Biome.METROPOLIS: return 'slum'; case Biome.JUNGLE: @@ -587,6 +585,7 @@ export function getBiomeHasProps(biomeType: Biome): boolean { case Biome.DESERT: case Biome.ICE_CAVE: case Biome.MEADOW: + case Biome.POWER_PLANT: case Biome.VOLCANO: case Biome.GRAVEYARD: case Biome.FACTORY: