blob: 2f8f07cf66ee7f732fdc11a42d8adc39349947d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# godot-hexgrid
is a [godot](https://godotengine.org/) based framework to build hex map boardgames.
code is based on [gdx-boardgame](https://github.com/jeremyz/gdx-boardgame),
which is based on [rustanddust](https://github.com/jeremyz/rustanddust).
test maps made with [hexmap](https://github.com/jeremyz/hexmap) a [gimp](https://www.gimp.org) plugin.
## features
- [x] Distance
- [x] Adjacents
- [x] 3D Line Of Sight
- [x] Reachable Tiles ::: BFS
- [x] Shortest Path ::: A*
- [x] Range Of Influence (LOS - Fire Power)
- [ ] Battle lines (Kruskal + farthest apart units are the flank units)
## screenshots
![Line Of Sight](data/los.gif)
![Possible Move - Shortest Path](data/move.gif)
![Range Of Influence Path](data/influence.gif)
|