GAMES IN PROGRESS
Latest Videos
Home
/
Indie Game Developers
/
UnitOfTime
/
How to code an AutoTiler (Easier than you think!)

How to code an AutoTiler (Easier than you think!)

3 min
Today we look at how I coded an AutoTiler for my base builder game Spruce - which is actually not that difficult. AutoTilers select the correct edge tile to render a blobmap of a specific tile type. Most engines like Unity and Godot support features just like this. To do something similar, we generate a bitmask based on tile neighbors and use that to look up the correct tile that we want to render. โ Wishlist Spruce: https://bit.ly/SpruceOnSteam โ Twitter: https://bit.ly/UnitOfTimeOnTwitter Thanks for watching. Happy to answer any questions!