
How to code an AutoTiler (Easier than you think!)
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!









![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)



![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)

















































![[2D 게임 개발 꿀팁 시리즈] Runtime Sprite Atlas](https://img.youtube.com/vi/ocFwQ4sogDo/hqdefault.jpg)








































































