Hey I'm back. Have you ever wondered how to create a tileset with various materials that you can place around against each other without the result looking ugly? This tutorial is very short but very useful for that! The process is called "9 Slicing" or "9 Slices" and it's called that because you can take any two tileset materials, arrange them against each other into these two specific 3x3 arrangement of tiles, then freely place them around without an ugly result. However I must emphasize that for full tileset placement versatility of 2 materials you want to place around, again you should include two sets of 9 slices. To explain, for now here's a grass/dirt example below which showcases two sets of 9 slices.

The left set has a grass center tile paired with grass-dirt bordering tiles while the right set has a dirt center tile paired with dirt-grass bordering tiles. To create 9 slices like these, the process is simple.
First 9 Slices
For the first 9 slices, take a single inner material and make a full center tile out of it. For example, grass.

Then draw the outer tiles with a secondary material outward so that they connect seamlessly with the inner tile.

Second 9 Slices
That gets you some grass/dirt tileset functionality if you want to design levels including grass and dirt, but don't forget to duplicate and swap the inner and outer materials for the 2nd set of 9 slices. If you look at this inverse set here below where dirt is the inner material and grass is the outer material, there are 4 new corner tiles and 1 new center tile compared to the only having the original set.

What You Can Do With This!
In theory, there's a lot you can do with this, but you may have to draw more of your own details to make the tileset more interesting. For something like this, you can add trees, mushrooms, rocks, houses, sign posts, etc. I'd say look into well known pixel art JRPGs or Zelda. Here's an example of something you can do if you spent a little more time working on the tileset.

That's it for this tutorial. I hope you found this useful as it should be for my dungeon tilemapping series soon enough! Thanks for reading.















































































