New answers tagged

2

I arrived here by Googling this problem myself, read the linked articles, and produced a relatively compact solution which generates the common set of 47 tiles. It requires a 2x3 tileset for the autotiled material like this: With a single-tile variant at the top left, inner corners at the top right, and four outer corner tiles at the bottom (you may ...


0

You are painting your tiles in the wrong order. Yes, you would use the painters algorithm, which just means, that you draw from back to forward. In your image (I can't really see, where you 0,0 is in the image. 0,0 should be in the top middle of the screen and then like so: if you "rotate" to change the direction you are viewing you need another draw order. ...


0

Although our world may be functionally infinite, we typically need only a finite, contiguous chunk of it at a time. We can exploit that structure to make our lives easier and our code faster. One neat way to do this is with what's called a clipmap. Here we lay down a finite grid of tiles for our scene. Let's say for simplicity it's 1024x1024 tile on each ...


Top 50 recent answers are included