From f8ef73aa6221b18c238a60550a53af8cdc58fec1 Mon Sep 17 00:00:00 2001 From: hxtree <19890291+hxtree@users.noreply.github.com> Date: Thu, 14 Nov 2024 21:20:28 -0600 Subject: [PATCH] feat: add sewer rat animation --- .../public/game-assets/sewer/rat-1x1.png | Bin 777 -> 0 bytes .../public/game-assets/sewer/rat-3x1.png | Bin 0 -> 1195 bytes .../stories/game-assets/data/Sewer.json | 11 +++++++++-- 3 files changed, 9 insertions(+), 2 deletions(-) delete mode 100644 clients/design-system/public/game-assets/sewer/rat-1x1.png create mode 100644 clients/design-system/public/game-assets/sewer/rat-3x1.png diff --git a/clients/design-system/public/game-assets/sewer/rat-1x1.png b/clients/design-system/public/game-assets/sewer/rat-1x1.png deleted file mode 100644 index edc5ad7cdcd2c9b34a507dc67a112b4b256a559c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 777 zcmV+k1NQuhP)tG!@M#Td;_V!swxg zB74ZPz$`~AXt9DGf+DdJvVDPqf}%7kD0+!3MHy{T(NL7paYao>9CdW&_LT41ol2PR z`Eq~XIo!iNiV%XSgyvrhOcbxMr|}AV8n3XY@d|qyoy^P3Sp`CIb)fpilY4QyBJ=Lw zNE1#?%@t`ohS3`p@(Mlz+c|RVo-k>v8FDQkFYl0)0u-6M#EI;aVy&qRhkJmtnGGsZ0$HlV4>PbWhv5RL6WfI9APYM8%2Y=_%<+`Mb_(ug28WY9(Wm@b%w5)Ts$%q(7>d;kO+b6n=I{FvS zLmhK5*Q5~I@SSsodhR}b{QtaRfE)R5MXl9=rB|Wd)B0G?1@zn-A#lW3VB&nD|Bwb^f~h>uJq^Ola%CtBD^_TOH18MoBm=q+5f(&y+On$A2y@hWyx6oTN-{-T>zVGuqd!I)VLNK1AkXu0R1PhQ`K<)$!kXu0R1PhQ`K<)$! zkXu0Rs788V+PqIl?oKq}=@jo-A^o3H|0UaYoD|OfdW3Qc73CX!dV4LPprBZ+%^O6m zlPK9&4Xj{G(P0s$Y-GSagOU>8;J>D*XrIt2Z((<*QChP0Z)3+Q?2CQpRy9Q%BXAAe zr=Xx%R8?&ol_`yM7I^E89pZ(s%Q!p()ZK6}Yf%m>Uz^LJgBNJDWN@&u;9tqEH&%(X z!;!Aie><`NJ_+)u4V1seDSQLJe zP=$s$hPlvH$C+D^^hT$1uPc$#y~Z(psV!S8#iW=fBD?EZI-?h2^jy1i6^F+O!0pK| z`o;CduI^vK{>q)BG9TLnO~&n_&`?8Wii(yF8$E3uIEP@SrU`Q`eo2<@HA?2%M-1l> zs2-S!OPz=zLyuuPM0VHv#r4MSY3rb+!$xL`ib6vTCgb)|kGqfU0g`iw;n-YGTL$>0 z?;CE{XvvL5BqBA6DYH|_epZR?Hziq4tKX6*PVScWZ?}r& zNlLPl?DSS2XZ4~CDu)6!>@GRvGGaw94d~i8`}~9 zsMwVyEl+GBXL>l(;w8?uyRgP2kelwHFfZTl8x->$7oNU8EWN{=wy$D1HkXW9t*oAM z%wHshdHEtY-GMbGfwS!{ro~I-Ob=&yViOg+vi#cw50rl^o@lG0IeG%&@mgAMy2y#s zU_E~xbF-63{hPdB_Uf3{Y@jl|&VVad>S$=O;iLu}gmwE*br zYGrmpjGI0^Gm>neGQIu^t2Jsm8*ZWwnTV}NP0GY@dhZYL^Tl>n&yf)KnwhFS#aE|q z2$e_hWPBnQ%n=+rp1*V?*+6A_E#T!eC3h{8`SR#xG`bkB*Mha9oixQTKQ(J;^E|`i z*f<_uchfFC&Ca)%N$WKtT(sWO8*BM1v%sf`T zw{%Q9cAzpxJPeJOjQb0bU;%Oq$emyTatp|vU;%Oq$enRt!0(k*)v1Dzg3SN`002ov JPDHLkV1kwbJ(vIh literal 0 HcmV?d00001 diff --git a/clients/design-system/stories/game-assets/data/Sewer.json b/clients/design-system/stories/game-assets/data/Sewer.json index 3c98a24c..79a53d18 100644 --- a/clients/design-system/stories/game-assets/data/Sewer.json +++ b/clients/design-system/stories/game-assets/data/Sewer.json @@ -47,7 +47,7 @@ "t": "/game-assets/sewer/tileset-4x4.png", "w": "/game-assets/sewer/wall-8x1.png", "b": "/game-assets/sewer/barrel-1x1.png", - "r": "/game-assets/sewer/rat-1x1.png", + "r": "/game-assets/sewer/rat-3x1.png", "s": "/game-assets/sewer/spill-1x1.png" }, "grid": [ @@ -78,7 +78,7 @@ [ ["w1","w3","w1","w6","w6","w1","w2","w3","w1","w5","w5","w1"], ["w2","0","0","0","0","b1","b1","0","0","0","0","w1"], - ["w2","0","0","0","0","0","0","0","r1","0","0","w1"], + ["w2","0","0","0","0","0","0","0","r1_look1","0","0","w1"], ["w2","s1","0","0","0","0","0","0","0","0","0","w1"], ["w1","0","0","0","0","0","0","0","0","0","0","w1"], ["w4","0","0","0","0","0","0","0","0","0","0","w1"], @@ -87,6 +87,13 @@ ] ], "gridAnimations": { + "look1": { + "currentAnimation": "look1", + "startingFrame": 0, + "totalFrames": 3, + "frameDuration": { "seconds": 0.83 }, + "isAnimating": true + }, "wave1": { "currentAnimation": "water-ripples", "startingFrame": 0,