Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Wow! Tiles fit so well, it's a fantastic job. I would be curious to check that code. Btw, water tiles would be nice, sometimes you want an island but it's so hard to keep it an island, it's always grow into bigger land.

(+1)

Thank you! Unfortunately, I can’t get islands either :) This needs an edit to the generation of the chunk. Right now it’s very simple, literally 4x4 completely random nodes per chunk.

About the code, it’s messy. Well you know how it is when every time you’re faced with the question - do it right or do it fast to get something done. But I want to write a little post with code examples in Lua of how auto-tiling works here. There isn’t much magic here, but it might be interesting and useful for someone as an example with using Defold.