Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raydac/jhexed
Java Hexagonal engine
https://github.com/raydac/jhexed
android gui hexagonal-grids java java-engine swing
Last synced: about 2 months ago
JSON representation
Java Hexagonal engine
- Host: GitHub
- URL: https://github.com/raydac/jhexed
- Owner: raydac
- Created: 2015-03-13T20:09:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-24T06:54:53.000Z (over 7 years ago)
- Last Synced: 2023-02-28T17:17:41.671Z (almost 2 years ago)
- Topics: android, gui, hexagonal-grids, java, java-engine, swing
- Language: Java
- Homepage:
- Size: 1.29 MB
- Stars: 13
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-2.0.txt
Awesome Lists containing this project
README
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Java 6.0+](https://img.shields.io/badge/java-6.0%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
[![PayPal donation](https://img.shields.io/badge/donation-PayPal-red.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)
[![Yandex.Money donation](https://img.shields.io/badge/donation-Я.деньги-yellow.svg)](http://yasobe.ru/na/iamoss)# Introduction
It is a small Java engine allows to organize a hexagonal field and make some manipulations with it.
# License
The Framework is under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)# Modules
## jhexed-engine
The Engine Core, it is implemented maximally platform independently and I guess it can be used for GWT and Android also. It is very small and allows to organize a hexagonal field and define own hexagonal field model and a render. It allows to use hexagons of two types:
### Horizontal hexes
![Map](https://github.com/raydac/jhexed/blob/master/files/horzhexesexample.png)### Vertical hexes
![Map](https://github.com/raydac/jhexed/blob/master/files/verthexesexample.png)## jhexed-swing
it contains some Swing-based components for graphic operations. it uses the Apache™ Batik SVG Toolkit to parse and render SVG images. [A Small example of usage the engine with Swing, you can find in wiki](https://github.com/raydac/jhexed/wiki/ExampleOfUsage)
## jhexed-swing-editor
An Implementation of Swing-based Hexagonal Map Editor. it allows to create and edit layered hexagonal maps. Prebuilt versions for Java and Windows can be downloaded from [my Google drive folder](https://drive.google.com/folderview?id=0BxHnNp97IgMRcERvNTI4SjZJN1k&usp=drive_web).
![Screenshot](https://github.com/raydac/jhexed/blob/master/files/mapeditorscreen.png)# How to use with Android
The Engine can be used with Android [and there is a small example of usage under Android 2.1](https://github.com/raydac/jhexed/tree/master/samples/android/JHexedPhotoView)
![Screenshot](https://github.com/raydac/jhexed/blob/master/files/android_screen.jpg)