Press any key to switch between self-aware tiles and non-aware tiles.
P#67042 2019-08-30 15:16 ( Edited 2019-08-30 20:14)
:: sparr


@merwok the idea is that you can lay out a grid of simple tiles (in these examples, just ones and zeros), then the code will figure out which of many sprites to use based on the neighbors of each cell.
1 surrounded by 1 is solid land. 1 surrounded by 0 is a small island.
000 111 000 |
is an east/west bridge
P#72928 2020-02-09 08:21
[Please log in to post a comment]