Version 4

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 46
Change Set: 24120
Released: Apr 28, 2013
Updated: Apr 28, 2013 by pgeerkens
Dev status: Stable Help Icon

Recommended Download

Application HexGridExample V4.0 Binaries
application, 106K, uploaded Apr 28, 2013 - 20 downloads

Other Available Downloads

Source Code HexGridExample V4.0 Source
source code, 133K, uploaded Apr 28, 2013 - 13 downloads
Documentation HexGridExample V4.0 Documentation (Algorithms)
documentation, 2536K, uploaded Apr 28, 2013 - 13 downloads

Release Notes

This is a breaking change, though one I believe will be worth the pain. The project has been substantially reworked while being fully integrated to the library as used in my gaming engine. The gaming engine now uses the code exactly as published here, which will help to ensure that this publication is kept up-to-date.

I believe the current code is more robust, and easier to read and use, as a result of the integration. Some dead code has been removed, and several minor enhancements incorporated. (Mouse-wheel zoom and mouse-wheel scrolling two of the latest, though I frankly forgot to keep track.)

One change of note is that Path Finding now supports two modes, selected by setting PathFInder.RangeCutoff. The original algorithm, which maintains agent orientation to target but runs somewhat slower, is used at ranges less than or equal to this value; a faster algorithm which does not maintain agent orientation to target is used at greater ranges. The Line-of-Sight limit is a convenient value to use for the cut-off.

The difference is whether DictPrioirtyQueue or HeapPrioirtyQueue is used to maintain the Open List for the A-* implementation. The former provides a stable sort, maintaining the agent orientation, while the latter does not.

Additionally, the MIT Licence for this project has been properly incorporated into all source files, as well as being available on disk as a text file.

Reviews for this release

Seems a full system for hex based games. Very fast and likely all you could need for the basics. Havent fully delved in yet and it could do with some more documentation bit whats there is excellebt
by dbeves on May 14, 2013 at 8:42 AM