From 954a46f965f9e56ab8c3bf594569e1521c361744 Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Mon, 5 Jun 2023 06:43:46 +0200 Subject: [PATCH] Extended the level. Add missing grass tiles. --- src/assets/images/tiles_grass_32.png | Bin 7024 -> 8971 bytes src/assets/levels/level1.txt | 40 +++++++++++++-------------- src/game_scene.zig | 2 ++ 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/assets/images/tiles_grass_32.png b/src/assets/images/tiles_grass_32.png index a755aa9e5b6bdd09009424ad08188ef6e455f205..ee54e25a6aeb7baf529cf98d8d9e64db61150a4d 100644 GIT binary patch delta 8648 zcmb7~XHZnlx9;}j=|D8hg`4uHr}6_QHpW8&v(wR!-S=(#V>`0pYhC#Z`G1e|0kJufI3@uDq%1XQUM#LnN z=ZO&@7OUlK`v$v^emf@bXDG?q#Qv1E0e_yL{Onoie8r`ys#p~(8O_vC_g^xDD@wo? zygR4k$xur30r>pVEA?$XdnT z?3JSY+4a%o9Myw?Y7B4cN8|4a2P*caAX^;n&h09@cj@}p zm8nKs|8}WFx=eO@Bmd|2U~`<%IWqb=o^OJ-Xl$r8oYpwQydra#EDikmH#Xw7I*Xl! zsti^6uQ<2809{U{?(aoz?aY&ZB?Qi7w{ji@N684h$kD#Ibp7bGo6sA_07{hKXq3qu3HxQO8vuA!5n%`LBlJ2-CzBL(pH~E831(jE*d1&pY?rX@-XJxsy z|519nn4D9L^D-NLTpYOQw1PWGH6pPgdPiehy4do)kr;#ma}(@q1vo21IUr}^545OC z-MrM7L^kQ9)u=AeUhQ5#kvV4a0K!`-*vQ)SmV^J#;)(tz1$cJ!9~BY!WElESAa!R8 z1M~cL`}M^-_~@%3sqVBeS2WpZ@YioMRao`kwQ7mQddipqJ~NwWb1nhes$SO2&IW)l zV&EcL1(Y^9D@rxoJ11T$39te^LT?>)?X(RXCKqyICT4=?AFg&MwM{U#@FZA?`Y6px zE{XGtv4@Y=JQmtqQ8zNq3|7muIsy@u-u{0K3bdh%oY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kMq5X2=#! zHK&XihZ1eKE78QLt&rRPaoW24(6m`&Xq9X4&=Q6-57Hn;E!A!WgZs z_Ms|PUXy*TG{&>!YD%wUAvzuO2W(3V=^NkU->hdQ#Ry*RtVws%*&V$SxP8)r-~M%{ zQbe3L3uUQUdvL`c)TtY|tgV?SyQHmpA+0btMowh)r!cjoaY^Wv`ohw?x)bQC44P9UqFGs$A&KCcC& zeVzp}{er1rt?TQ1uXwQOihqRg6M3p1X9yzh*g$JaZqbaljF z=t@p4oelHznYD-@>b1YVh+#L`m&e3yYC4!bOAIMzTSqwi7}E0?#i?8sp4o0o+sH>M#dVtq|UaJYQ}FTX{_@`c5IK@AajRV0e7BTmhCl* z!OMuGYPv58pSO57*wRXK-+F62Xi4rV+b4iO<-UDRypss8*D_*82wha4MMsp$kpG3r zxbaYWx+9=#u+05|7_A-$#@-yEo_{^Q;z)nnAvqZ}y(ndEe49$r)0L*p$6N`A)?7(m z8)jT;c{lt}B&!FOQ8mw>C&0kC>0;{LtIVHN1SqFJ--%?usXMi$e48&lqnTZPtsBHy zTd0{{a76A7>vMN)JuWyK(4F#Py?lA7x_O~6ALN; diff --git a/src/assets/levels/level1.txt b/src/assets/levels/level1.txt index 28726cf..afc06bc 100644 --- a/src/assets/levels/level1.txt +++ b/src/assets/levels/level1.txt @@ -1,21 +1,21 @@ -x x -x x -x x -x S S x -x xxxxxx S S x -x xxxxxxxxxxx x -x x -x xxxxx x -x xxxxxx x x -x x xxxxxxxxx x -x S S x x x -x xxxxxx xxxxxx xxxxx xxxxx xxxxxxx xxxxx x -x x x x -x x x xxx x -x x S x x x S S x -xxxxxxxxxx xxxxx xxxxx x xxxx xxx x xxxxx xxxxx x -x x x x x -x S S S x xxx x x -x P S S S S S x x x E x -xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +x S S S x +x xxxxx xxxxx xxxxxx x +x x +x S S x +x xxxxxx S S xxxxxxxxxx xxxxx x +x xxxxxxxxxxx x x +x x xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x +x xxxxx S x x x x xxxxx x +x xxxxxx x xxxxx x xxx x x x x +x x xxxxxxxxx x x S xx x x +x S S x x x xxxxxxxxxxx xxxxx xxxxxxxxxxxxx x xxxxx x +x xxxxxx xxxxxx xxxxx xxxxx xxxxxxx xxxxx S x x x x x x xxxxx x +x x x xxxxxxxxxxx x x x xxx xx x +x x x xxx x xxx x x x +x x S x x x S S x S x xxxxxxx x +xxxxxxxxxx xxxxx xxxxx x xxxx xxx x xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x xxxxx x +x x x x x x +x S S S x xxx x x x +x P S S S S S x x x x E x +xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ No newline at end of file diff --git a/src/game_scene.zig b/src/game_scene.zig index d6b822f..b83756f 100644 --- a/src/game_scene.zig +++ b/src/game_scene.zig @@ -128,6 +128,7 @@ pub const GameScene = struct { const ordinals = tiles.getOrdinals(x, y, .Grass); var offset: usize = 17; switch (ordinals.count()) { + 0 => offset = 16, 1 => { if (ordinals.right) offset = 0; if (ordinals.left) offset = 3; @@ -144,6 +145,7 @@ pub const GameScene = struct { }, 3 => { if (!ordinals.left) offset = 6; + if (!ordinals.top) offset = 18 + self.game.randomTileOffset(x, y, 2); if (!ordinals.right) offset = 7; if (!ordinals.bottom) offset = 10 + self.game.randomTileOffset(x, y, 2); },