Grid Building System - City Builders, RTS | Unity Tutorial

Опубликовано: 22 Июнь 2021
на канале: Tamara Makes Games
104,257
1.9k

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...

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) -    • Grid Building System Tutorial in Unit...  
3D Grid Building System in Unity -    • 3D Grid Building System - Unity Tutor...  

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/TamaraMakesGames/G...
Final project with extra feature (smooth movement) available on Patreon

Lost in Athilidus Devlogs
   • LiA Devlog - Indie game  

————My Links————
💗 Patreon 💗
  / tamara_makes_games  
☕ Buy me a coffee ☕
https://www.buymeacoffee.com/tamarama...
⭐ Discord ⭐
  / discord  
🔷 Twitter 🔷
  / tamaramakesgame  

🎮Games🎮
https://tamara-m.itch.io/

👍 Like and Subscribe! 👍

#GridBuilding #UnityTutorial


Смотрите видео Grid Building System - City Builders, RTS | Unity Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tamara Makes Games 22 Июнь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 104,25 раз и оно понравилось 1.9 тысяч людям.