From 8771f5373d43a0808f0ba28b723066155312bfdd Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 29 Sep 2019 03:42:00 -0400 Subject: [PATCH] v0.7.5: improved and optimized visuals after tengu fight --- .../assets/custom_tiles/prison_exit_new.png | Bin 3103 -> 8921 bytes .../levels/NewPrisonBossLevel.java | 95 +++++++++++++----- 2 files changed, 70 insertions(+), 25 deletions(-) diff --git a/android/src/main/assets/custom_tiles/prison_exit_new.png b/android/src/main/assets/custom_tiles/prison_exit_new.png index caa5f3c5d0707f53dcc3f5881ff9b142981c799e..ffe7a681c43e89ab214e9ff8d315aff58d816757 100644 GIT binary patch literal 8921 zcmeHtc{r4B*!Dd$7+Z}ZOEhRfDU=pzn5ndgXh(%1Tb3wU#xOIHRD_bPWJVHcL9%9< zk|@iNeaVm*TMT2J^&R@X-~0ZK?|c9H{`|h@kLSLh^E%J#y6)?~?&p}}Ip*Fei({)K z*GmEbR+%0*IRgMhIE4anG2!6#u9bF4E0>x5&;bvie`$T(++2xPYtLO}s z{E+TInk{1L>2iqn$>9$#)-s%&uUq@?)wB&Fo7%>X%|yvXuwmu4&tB|dQ=jO68@KB8 z7%_Ie)it)$_bY>=QRXQ9@O-lBLr-?-x#2q*g|PvnM(m6MNE`jQK$ZkoUD zC>Go0(P_-+%4hdhsc=vsWr!8!p7UdmE)PHF=UOq2Vf5eVteZ0-Qi?8R#C2d;)`a8j z*;4ZoDfv^%rL@$#EnUe4#9yiauU%GlhJ{_~7|tw&)&!R5G5707Qd z-h~ZMf6jf=A%Fe3*!+Ys>(#_ZeX7!UAA^HkDb3kxovV$u3DvI%U0G4W;$Iv@@-7>$ zNzxjIRq;ZoNRRofha41f0q^-%$G0YRZrV6`xi}Z_<9=7KmTuhOC4sq6?Al;_GG5Z% zi9!xk=w<9OowsJqR!lXf7nK)6Q?}syI{p^MuV%-(k~ydSxdp~LZyT)Uen0D}L#z^U z3wopI*7%ZSR5V{f>zi~5*X*Rn<-xGMds@}3yMZ6y<1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!2##G~k`k>r#ZS!t;>d63J*Y9za&Km}7VFb5yz#XM%J#n~637&_)0o;)&(r zb+G+%fDICb(`JG4A-o@aV+rUci2&1*03ByD%LOnvMAS!>L7);pStp4oze}tN9mIF& zYsR~LhX7!UM{@9V=)r5^fY5{VFfzvwS&$=LUpum0f*gXLO z_TiZ+7I7&Nmt3?M{10@cN&@OQck_6s` zFA^|7MqsPk1Wfr8?jhh&Xf=Qqr9$-ZQ<*+0Exp*^i_M1W4WZIaxV8>Laq{|S7oQjPC zze1=bLkV#$39bMl4L|N6ijT@MqWuXSxJH_x29`iW1y4aWRSL;0h<0=(bZw*CBmjs# zewoPJZw#@10W04Q^8xVwuwa4r2AWC6-W%M%g#MaMd0%h<{QpW$864Tc@jb+!_CL8` X<7(fYS1;U1!)kus9ItC0QCWWgPPAHK diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java index 1cf7b324e..02750bc00 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java @@ -270,12 +270,12 @@ public class NewPrisonBossLevel extends Level { W, e, e, e, e, e, e, e, e, W, W, W, W, W, e, e, e, e, e, e, e, e, e, e, e, e, W, W, e, e, e, e, e, e, e, e, e, e, e, e, e, W, - e, e, e, e, C, C, C, C, C, C, e, e, e, W, - e, W, C, C, C, C, C, C, C, C, C, e, e, W, - e, e, e, e, C, C, C, C, C, C, C, C, e, W, - e, e, e, e, e, e, e, C, C, C, C, C, e, W, + e, e, e, C, C, C, C, C, C, C, C, e, e, W, + e, W, C, C, C, C, C, C, C, C, C, C, e, W, + e, e, e, C, C, C, C, C, C, C, C, C, e, W, + e, e, e, e, e, C, C, C, C, C, C, C, e, W, e, e, e, e, e, e, e, W, W, W, C, C, C, W, - e, e, e, e, e, e, W, W, W, W, C, C, C, W, + W, e, e, e, e, e, W, W, W, W, C, C, C, W, W, e, e, e, e, W, W, W, W, W, W, C, C, W, W, W, W, W, W, W, W, W, W, W, W, C, C, W, W, W, W, W, W, W, W, W, W, W, W, C, C, W, @@ -302,6 +302,16 @@ public class NewPrisonBossLevel extends Level { } } + CustomTilemap vis = new exitVisual(); + vis.pos(11, 10); + customTiles.add(vis); + GameScene.add(vis, false); + + vis = new exitVisualWalls(); + vis.pos(11, 10); + customWalls.add(vis); + GameScene.add(vis, true); + Painter.set(this, tenguCell.left+4, tenguCell.top, Terrain.DOOR); int cell = pointToCell(endStart); @@ -443,16 +453,6 @@ public class NewPrisonBossLevel extends Level { unseal(); - CustomTilemap vis = new exitVisual(); - vis.pos(11, 9); - customTiles.add(vis); - GameScene.add(vis, false); - - vis = new exitVisualWalls(); - vis.pos(12, 9); - customWalls.add(vis); - GameScene.add(vis, true); - Dungeon.hero.interrupt(); Dungeon.hero.pos = tenguCell.left+4 + (tenguCell.top+2)*width(); Dungeon.hero.sprite.interruptMotion(); @@ -731,19 +731,36 @@ public class NewPrisonBossLevel extends Level { { texture = Assets.PRISON_EXIT_NEW; - tileW = 13; - tileH = 24; + tileW = 14; + tileH = 11; } - final int TEX_WIDTH = 512; + final int TEX_WIDTH = 256; + + private static byte[] render = new byte[]{ + 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, + 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, + 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, + 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, + 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 + }; @Override public Tilemap create() { Tilemap v = super.create(); - v.map(mapSimpleImage(0, 0, TEX_WIDTH), tileW); + int[] data = mapSimpleImage(0, 0, TEX_WIDTH); + for (int i = 0; i < data.length; i++){ + if (render[i] == 0) data[i] = -1; + } + v.map(data, tileW); return v; } - } public static class exitVisualWalls extends CustomTilemap { @@ -751,19 +768,47 @@ public class NewPrisonBossLevel extends Level { { texture = Assets.PRISON_EXIT_NEW; - tileW = 13; - tileH = 24; + tileW = 14; + tileH = 22; } - final int TEX_WIDTH = 512; + final int TEX_WIDTH = 256; + + private static byte[] render = new byte[]{ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, + 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, + 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 + }; @Override public Tilemap create() { Tilemap v = super.create(); - v.map(mapSimpleImage(13, 0, TEX_WIDTH), tileW); + int[] data = mapSimpleImage(0, 10, TEX_WIDTH); + for (int i = 0; i < data.length; i++){ + if (render[i] == 0) data[i] = -1; + } + v.map(data, tileW); return v; } - } }