From 9c7f7039eaf40f08d19a956153348c9ae261f883 Mon Sep 17 00:00:00 2001 From: fgnm Date: Mon, 12 Oct 2020 10:32:06 +0200 Subject: [PATCH] Update README, close #13 --- README.md | 2 +- h2d-libgdx-spine-extension/README.md | 16 +++++++++++++++- hyperlap2d-runtime-libgdx/README.md | 26 +++++++++++++++++++++++++- 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9d9a5a12..c47d92ac 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ We need your help! HyperLap2D is a very large and complex project, if you have s #### Building from source -HyperLap2D is developed using IntelliJ IDEA. +HyperLap2D is developed using IntelliJ IDEA. HyperLap2D needs `Java 14`. 1. Fork this repository 2. Clone it diff --git a/h2d-libgdx-spine-extension/README.md b/h2d-libgdx-spine-extension/README.md index 8d263e5f..24e49bb1 100644 --- a/h2d-libgdx-spine-extension/README.md +++ b/h2d-libgdx-spine-extension/README.md @@ -7,9 +7,11 @@ HyperLap2D extension for libgdx runtime that adds Spine rendering support. #### Gradle Release artifacts are available through [Bintray][bintray]. +Extension needs to be included into your `core` project. ```groovy dependencies { - implementation 'games.rednblack.editor:h2d-libgdx-spine-extension:0.0.1' + api "com.esotericsoftware.spine:spine-libgdx:$spineVersion" + api "games.rednblack.editor:h2d-libgdx-spine-extension:$h2dSpineExtension" } ``` @@ -23,5 +25,17 @@ dependencies { ``` +This extension needs `Java 8`. In order to integrate into an Android project add the following to your platform specific `build.gradle` + +```groovy +android { + ... + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } +} + +``` ### License Spine is a commercial software distributed with its own license, in order to include Spine support in your project, please, be sure to have a valid [Spine License](https://github.com/EsotericSoftware/spine-runtimes) \ No newline at end of file diff --git a/hyperlap2d-runtime-libgdx/README.md b/hyperlap2d-runtime-libgdx/README.md index b8fa6f80..ef8f12da 100644 --- a/hyperlap2d-runtime-libgdx/README.md +++ b/hyperlap2d-runtime-libgdx/README.md @@ -7,9 +7,21 @@ HyperLap2D runtime for libGDX framework. #### Gradle Release artifacts are available through [Bintray][bintray]. +Runtime needs to be included into your `core` project. ```groovy dependencies { - implementation 'games.rednblack.editor:hyperlap2d-runtime-libgdx:0.0.1' + //Mandatory + api "com.badlogicgames.gdx:gdx:$gdxVersion" + api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion" + api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion" + api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" + api "com.badlogicgames.ashley:ashley:$ashleyVersion" + + //Optional - graph node actions + api "com.googlecode.json-simple:json-simple:1.1.1" + + //HyperLap2D Runtime + api "games.rednblack.editor:hyperlap2d-runtime-libgdx:$h2dVersion" } ``` @@ -23,6 +35,18 @@ dependencies { ``` +This runtime needs `Java 8`. In order to integrate into an Android project add the following to your platform specific `build.gradle` + +```groovy +android { + ... + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } +} +``` + ### Support You can learn how to use runtime in [Wiki](https://hyperlap2d.rednblack.games/wiki)