Forum Thread
by member
  Posts  
Pathfinding in a hex-grid map (Forums : Coding & Scripting : Pathfinding in a hex-grid map) Locked
Thread Options
Aug 17 2012, 3:36pm Anchor

Hi,
I'm pretty new with that whole scripting thing but I'm starting a game in unity using javascript. Unfortunately, I'm completely lost with the pathfinding since it's in a hex-grid map.
How should I do this ?

Dragonlord
Dragonlord Linux-Dragon of quick wit and sharp tongue
Aug 17 2012, 6:56pm Anchor

Have a look at A* algorithm. It works for all kinds of regular grids. Policyalmanac.org should get you started implementing it in JS.

--

User Posted Image
Leader, Head Programmer: Epsylon | Drag[en]gine Game Engine

User Posted Image by Salohcin

Reply to Thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.