Skip to content

jeremyz/gdx-boardgame

Repository files navigation

gdx-boardgame

Build Status

is a libgdx based framework to build 2D hex map boardgames.

code is mainly extracted from rustanddust. check godot-hexgrid for the godot/gdscript implementation.

base map made with hexmap a gimp plugin.

features

- 3D line of sight, possible moves, shortest path
- moveable, zoomable board with tile identification on touch
- moveable, orientable pieces
- various animations

screenshots

Line Of Sight - Move Fire Animation Move Animation UI Pack

install

Add the repository:

	allprojects {
		repositories {
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency to all subprojects: (You can replace master-SNAPSHOT with a tag from github)

	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:

	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:

<inherits name='ch.asynk.gdx.boardgame'/>

javadoc

Latest