Jump to content

  • Log In with Google      Sign In   
  • Create Account


/* Why you crying? */



Heuristics

Posted by JTippetts, 16 November 2013 · 355 views
Goblinson Crusoe, Urho3D and 4 more...
http://i.imgur.com/T9BXgG0.jpg

As a first whack at the combat pathfinding heuristics, I built a heuristic function that assigns a cost of Distance for an open tile, Distance-1 for a resource node, Distance+10 for a tile with a different-faction destructible, and Distance+20 for a tile with a same-faction destructible. And it works pretty dang well. When...





Recent Entries

Recent Comments

November 2013 »

S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
PARTNERS