Added more grass tiles & extended level a bit.

This commit is contained in:
Sander Schobers 2023-06-05 02:09:54 +02:00
parent 438b0a35bb
commit c7930db414
3 changed files with 21 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -1,21 +1,21 @@
x x x x
x x x x
x x x x
x S S x x S S x
x xxxxxx x x xxxxxx S S x
x x x xxxxxxxxxxx x
x x x x
x x x xxxxx x
x xxxxxx x x xxxxxx x x
x x x x xxxxxxxxx x
x x x S S x x x
x xxxxxx x x xxxxxx xxxxxx xxxxx xxxxx xxxxxxx xxxxx x
x x x x x x
x x x x x xxx x
x x x x S x x x x
xxxxxxxxxx x xxxxxxxxxx xxxxx xxxxx x xxxx xxx x x
x x x x x x x
x S S S x x S S S x xxx x x
x P S S S S x x P S S S S S x x x x
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

View File

@ -121,6 +121,7 @@ pub const GameScene = struct {
3 => { 3 => {
if (!ordinals.left) offset = 6; if (!ordinals.left) offset = 6;
if (!ordinals.right) offset = 7; if (!ordinals.right) offset = 7;
if (!ordinals.bottom) offset = 10 + self.game.randomTileOffset(x, y, 2);
}, },
else => {}, else => {},
} }