Android (Kotlin) project extended with libGDX using proper Gradle setup (4.4)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
KotlinLibGDXBoilerplate
README.md

README.md

Android + Kotlin + libGDX

A boilerplace of Android (Kotlin) integration with libGDX.

At the point of creating this code, libGDX nighty build (1.9.8) fails when selecting Kotlin as the primary language. Also the gradle scripts generated by libGDX use much older version of Gradle than Android Studio (v3.1.2) which may cause integration problems.

The example here solves that issues by extending a new project (blank Activity) generated for Kotlin by Android Studio with proper Gradle setup.

The whole process is also described at my blog:

http://rafalgolarz.com/blog/2018/05/17/add_libgdx_to_existing_android_kotlin_project/

Demo

Some simple demo of text transition is added to verify the setup:

demo