https://github.com/jeremyz/gdx-boardgame
a libgdx framework to build hex map boardgames
https://github.com/jeremyz/gdx-boardgame
astar boardgame hexboard hexgrid hexmap libgdx libgdx-framework libgdx-game lineofsight wargame
Last synced: 6 months ago
JSON representation
a libgdx framework to build hex map boardgames
- Host: GitHub
- URL: https://github.com/jeremyz/gdx-boardgame
- Owner: jeremyz
- License: mit
- Created: 2019-01-29T20:53:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-15T06:18:08.000Z (about 6 years ago)
- Last Synced: 2025-03-11T20:37:05.088Z (over 1 year ago)
- Topics: astar, boardgame, hexboard, hexgrid, hexmap, libgdx, libgdx-framework, libgdx-game, lineofsight, wargame
- Language: Java
- Homepage:
- Size: 11.6 MB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gdx-boardgame
[](https://jitpack.io/#jeremyz/gdx-boardgame)
[](https://travis-ci.org/jeremyz/gdx-boardgame)
is a [libgdx](https://libgdx.badlogicgames.com/) based framework to build 2D hex map boardgames.
code is mainly extracted from [rustanddust](https://github.com/jeremyz/rustanddust).
check [godot-hexgrid](https://github.com/jeremyz/godot-hexgrid) for the [godot](https://godotengine.org/)/gdscript implementation.
base map made with [hexmap](https://github.com/jeremyz/hexmap) a [gimp](https://www.gimp.org) plugin.
## features
- 3D line of sight, possible moves, shortest path
- moveable, zoomable board with tile identification on touch
- moveable, orientable pieces
- various animations
## screenshots




## install
Add the repository:
```groovy
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
```
Add the dependency to all subprojects: (You can replace `master-SNAPSHOT` with a tag from github)
```groovy
dependencies {
implementation 'com.github.jeremyz:gdx-boardgame:master-SNAPSHOT'
}
```
If you use the html module, you have to add also this module to its dependencies:
```groovy
dependencies {
implementation 'com.github.jeremyz:gdx-boardgame:master-SNAPSHOT:sources'
}
```
For the html build, you have to add this line to your *.gwt.xml files in the html project:
```xml
```
## javadoc
[Latest](https://javadoc.jitpack.io/com/github/jeremyz/gdx-boardgame/master-SNAPSHOT/javadoc/)