Descubra tudo sobre Robô IQ OPTION de AUTOMATIZAÇÃO de Lista de SINAIS
E conheça também sobre o Melhor Bot Para Opções Binárias 2022
Que tal um robo gratuito para IQ Option? Sistema Para IQ Option Grátis
In this tutorial we will create a hexagonal grid movement system in Unity. It will be similar to what strategy games like Civilization or Heroes III have.
First video will be about creating a Hex Grid data structure to be able to find the neighbors of a hex tile. In the second video of this series we will create a shader that will help us later to show a range of movement. In the last video of this series we will add a character an implement a Breadth First Search algorithm to find how far our hero can move.
I hope that you will find it helpful 🙂
Assets used:
Starter project / code files for patreons:
Learn to write more maintainable code using Design patterns by making a 2d platformer game:
Join the discord:
0:00 Introduction
0:44 Project setup
2:24 Snap settings
3:32 Problem with Offset coordinates
8:35 Hex script
9:54 SelectionBase attribute
10:45 HexGrid
12:30 Finding neighbors
18:33 Testing the grid