Showcasing my attempt on a tile/grid based movement in 2D. Hovering over each tile based on where my mouse is. Once I click on that tile, the player will move towards it, calculating the quickest way to reach its destination.
Follow my Socials:
Patreon (DOWNLOAD at 'Other Source Project Files') - https://www.patreon.com/VinnyGameDev
Discord Server: https://discord.gg/fkWf2ZSMNr
Twitter: https://twitter.com/vinnygamedev
Tik Tok : https://www.tiktok.com/@vinny.gamedev
Discord DM: VinnyDev6490
0:00 - Intro
0:27 - Set Up Scene
0:56 - Grid Utils Script
1:13 - A Star Script
2:47 - Tile Selection Script
3:54 - Obstacle Tilemap Script
4:42 - Movement Script
5:57: Results & Outro
#UnityTutorial #Unity2022 #UnityGridMovement