Grid Building System - City Builders, RTS | Unity Tutorial
An easy tutorial on how to make a grid based building system in Unity. You don't need to write a custom grid! The system works with standard Unity tilemaps. It implements grid snapping and placement checking. As an example, I used an isometric grid but it will work for any 2d grid.
Get the project files - https://www.patreon.com/posts/project-files-54256269?utm_medium=clipboard_copy&utm_source=copy_to_clipboard&utm_campaign=postshare
Grid placement is a very common mechanic used in simulation games, tycoon and city builders, rpg and rts games. I developed this system when I was making my fantasy town simulation game Lost in Athilidus. In my devlogs, I share a lot of useful resources so you can learn how to make a game in Unity by yourself.
HayDay style building system (based on this one) - https://youtu.be/3dmyKZw6i5k
3D Grid Building System in Unity - https://youtu.be/rKp9fWvmIww
0:00 Intro
0:24 How the system works
1:04 Setting up the project
3:28 Time to code!
12:28 How to make it better
14:18 Outro
You can use the code in your projects but you're required to credit me (include link to this video)
Starting project
https://github.com/TamaraMakes....Games/Grid-Building-
Final project with extra feature (smooth movement) available on Patreon
Lost in Athilidus Devlogs
https://youtube.com/playlist?l....ist=PL0FALXGqi7wK8fS
————My Links————
💗 Patreon 💗
https://www.patreon.com/tamara_makes_games
☕ Buy me a coffee ☕
https://www.buymeacoffee.com/tamaramakesgame
⭐ Discord ⭐
https://discord.com/invite/dCJBpe2meg
🔷 Twitter 🔷
https://twitter.com/TamaraMakesGame
🎮Games🎮
https://tamara-m.itch.io/
👍 Like and Subscribe! 👍
#GridBuilding #UnityTutorial