diff --git a/src/assets/images/tiles_grass_32.png b/src/assets/images/tiles_grass_32.png index bbdbd23..a755aa9 100644 Binary files a/src/assets/images/tiles_grass_32.png and b/src/assets/images/tiles_grass_32.png differ diff --git a/src/assets/levels/level1.txt b/src/assets/levels/level1.txt index 841322e..16761c6 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 x -x x -x x -x x -x xxxxxx x -x x -x x -x xxxxxx x -x x -x x -x x -xxxxxxxxxx x -x x -x S S S x -x P S S S S x -xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +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 x +xxxxxxxxxx xxxxx xxxxx x xxxx xxx x x +x x x x x +x S S S x xxx x x +x P S S S S S x x x x +xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ No newline at end of file diff --git a/src/game_scene.zig b/src/game_scene.zig index 7d5c8a3..7dc3f0e 100644 --- a/src/game_scene.zig +++ b/src/game_scene.zig @@ -121,6 +121,7 @@ pub const GameScene = struct { 3 => { if (!ordinals.left) offset = 6; if (!ordinals.right) offset = 7; + if (!ordinals.bottom) offset = 10 + self.game.randomTileOffset(x, y, 2); }, else => {}, }