A LibGDX and Kotlin Mobile Game Example
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Removed version pull from gradle script, updated versions Jul 8, 2017
core
desktop
gradle/wrapper - Added iOS Multi-OS Engine module Oct 23, 2016
ios Removed version pull from gradle script, updated versions Jul 8, 2017
tools
.gitattributes
.gitignore Update to libgdx 1.9.7-SNAPSHOT. Better ignore artifacts file for May 12, 2017
LICENSE NYE 2017 Dec 31, 2017
README.md
build.gradle Removed version pull from gradle script, updated versions Jul 8, 2017
featured-splintersweets.png NYE 2017 Dec 31, 2017
gradle.properties
gradlew - fixed test flight crash issue Nov 17, 2016
gradlew.bat
settings.gradle - Added iOS Multi-OS Engine module Oct 23, 2016

README.md

Splinter Sweets - A LibGDX and Kotlin Mobile Game Example

splinter-sweets

This is an example of building a mobile game app using the libGDX game development framework and the Kotlin programming language.

The project includes the following features:

  • A simple mobile game to demonstrate the key concepts of the very popular box2D physics library.
  • The entire project is written in Kotlin, which is a modern statically typed JVM language and a pretty interesting alternative for Java developers.

Try it here

splinter-sweets-badge

Have a look at my Blog

Visit mariusreimer.com to follow me and my experience and tutorials on cross-platform mobile game development, kotlin and more.

Build the Project

  • Setup your development environment
  • For Android, simply use Android Studio to import the Gradle project. Even for Kotlin it is the best choice, because the IDE has a integrated support.
  • Consider using the Kotlin plugin for Android Studio.
  • To build for desktop, use the following run configuration: libgdx-desktop-run-config
  • To build for desktop and create a executable jar file, use the commandline and navigate to your project root folder, then type the following:
    • For Windows: gradlew.bat desktop:dist
    • For macOS/Linux: gradlew desktop:dist
    • You can find the resulting jar in the desktop/build/libs folder.

License

Copyright © 2018 Marius Reimer

Distributed under the Apache 2 License.