All Projects → pgeerkens → Hexgridutilitiesforgames

pgeerkens / Hexgridutilitiesforgames

Licence: mit
Hex-grid utilities for board and strategy games with path-finding, field-of-view, and more

Projects that are alternatives of or similar to Hexgridutilitiesforgames

Games
🎮 A list of popular/awesome video games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine.
Stars: ✭ 18,676 (+26580%)
Mutual labels:  strategy-game
High Speed Priority Queue For C Sharp
A C# priority queue optimized for pathfinding applications
Stars: ✭ 777 (+1010%)
Mutual labels:  pathfinding
Gridpath
Gridpath is a MIT licensed multithreaded 2D implementation of A*
Stars: ✭ 31 (-55.71%)
Mutual labels:  pathfinding
Navmeshplus
Unity NavMesh 2D Pathfinding
Stars: ✭ 347 (+395.71%)
Mutual labels:  pathfinding
Jumper
Fast, lightweight and easy-to-use pathfinding library for grid-based games
Stars: ✭ 540 (+671.43%)
Mutual labels:  pathfinding
Goapframework
C++ General Purpose Goal Oriented Action Planning framework for Unreal Engine
Stars: ✭ 17 (-75.71%)
Mutual labels:  pathfinding
Overmind
AI for Screeps, a multiplayer programming strategy game
Stars: ✭ 320 (+357.14%)
Mutual labels:  strategy-game
Jps
Jump Point Search, public domain, single .h -- OBSOLETE! See tinypile repo for a better version.
Stars: ✭ 63 (-10%)
Mutual labels:  pathfinding
Civis
JavaScript 4X game
Stars: ✭ 560 (+700%)
Mutual labels:  strategy-game
Jomini
Historical battle simulation package for Python
Stars: ✭ 31 (-55.71%)
Mutual labels:  strategy-game
Lockstepengine
A lockstep solution include lots of deterministic library (Math,Collision,Navmesh,BehaviorTree,Serialization ...)
Stars: ✭ 376 (+437.14%)
Mutual labels:  pathfinding
Libtcod
The official repository for libtcod. A roguelike development library.
Stars: ✭ 487 (+595.71%)
Mutual labels:  pathfinding
Ancientbeast
Turn Based Strategy Game. Master your beasts! 🐺
Stars: ✭ 907 (+1195.71%)
Mutual labels:  strategy-game
Freecol
FreeCol: FreeCol is a turn-based strategy game based on the old game Colonization, and similar to Civilization. The objective of the game is to create an independent nation.
Stars: ✭ 329 (+370%)
Mutual labels:  strategy-game
Svg World Map
🗺 A JavaScript library to easily integrate one or more SVG world maps with all nations (countries) and second-level political subdivisions (countries, provinces, states).
Stars: ✭ 38 (-45.71%)
Mutual labels:  strategy-game
Pathfinding
Pathfinding library for rust
Stars: ✭ 324 (+362.86%)
Mutual labels:  pathfinding
Zeps Gui
L'interface d'un outil de calcul d'itinéraires, principalement utilisé pour se repérer dans le Netherrail de Zcraft. Nécessite https://github.com/zDevelopers/ZePS-Core .
Stars: ✭ 5 (-92.86%)
Mutual labels:  pathfinding
09 Zombierunner Original
First person shooter with Unity terrain and AI pathfinding (http://gdev.tv/cudgithub)
Stars: ✭ 64 (-8.57%)
Mutual labels:  pathfinding
Knights province
Knights Province missions and wiki.
Stars: ✭ 43 (-38.57%)
Mutual labels:  strategy-game
Gdx Ai
Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines
Stars: ✭ 907 (+1195.71%)
Mutual labels:  pathfinding

HexGridUtilitiesForGames

Hex Grid Utilities for Board-Game Development in C#

A tool-kit of utilities for building board- and strategy-games on a hexagonal grid, providing these features:

  • Lightning-fast ALT Bidirectional Path-Finding implementation;
    • Default landmarks are the 4 corners and 4 side midpoints of the map
    • To/from distances for all landmarks pre-computed on load using Dijkstra's agorithm
  • Fast Shadowcasting implementation provides 3D Field-of-View;
    • optionally supports automatic visibility limiting due to Earth's curvature.
  • Board storage as either a flat or blocked (providing better localization) array;
  • Hexagonal grid with coordinates
    • Hex-picking (identifying the hex selected by the user);
    • All internal calculations performed with integer canonical (obtuse) coordinates;
    • All external interfaces and board storage erformed with user (standard rectangular) coordinates;
    • Built-in support for non-standard & transformed coordinate systems (such as for multi-map boards);
    • Automatic internal conversion between coordinate systems hidden in a single type HexCoords;
  • WinForms Panel sub-class exposing all of the above plus:
    • Mouse-wheel zoom and scroll; and
    • Map transposition

Structure

  • HexUtilitites: The core library with all functionality not dependent on either WinForms or WPF. THis library is moderatey to extremely stable at the present time.

  • HexgridPanel: All core functionality depending on either WinForms or WPF. THis library is undergoing revision currently that may include breaking changes.

  • HexgridExamplesCommon: Common structures used by the example libraries below.

  • HexgridExampleWinform: An example MDI WInForm that opens two windows (forms) based around HexgridPanel (terrible performance) and HexgridBufferedPanel (moderately good performance). Planned:

    • Example based around a 5-layer buffered & cached subclass of HexgridPanel (HexgridCachedPanel - from proprietary code) that offers excellent performance even on maps very much larger than the examples.
  • HexgridExampleWpf: A WPF example that opens two windows (forms) based around HexgridPanel (terrible performance) and HexgridBufferedPanel (moderately good performance). Once HexgridCachedPanel is complete an example based around it will also be added.

  • HexgridExampleWinformw: Work in progress.

External Documentation

Doxygen is used to generate external documentation for the entire solution, including diagrams using Graphviz DOT, in the file docs.zip. I endeavour to update this on every push to GitHub - but it is not yet automated.

References:

Many thanks to:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].