All Projects → dwursteisen → beat-the-high-score

dwursteisen / beat-the-high-score

Licence: other
Example of game that can be achieve with libGDX, Kotlin, ktx and libGDX-addons

Programming Languages

kotlin
9241 projects
GLSL
2045 projects
Makefile
30231 projects

Beat the high-score: build a game using libGDX and Kotlin

Playing games is fun but making games is even better, especially with Kotlin and libGDX. Let's build together a breakout game and let's explore the gaming framework libGDX.

This session will show some libGDX's concepts: how to draw and animate elements of our game, how collision system works to destroy our bricks, what Kotlin brings to libGDX. Then we will dive into more advanced topics like shaders, in order to handle pixels from our images. Why are we doing all of this? To break the high score, of course!

How to build the game?

./gradlew build

How to run the game?

./gradlew desktop:run

How to build the APK for Android?

Create a keystore.properties file in this directory:

storePassword=storePassword
keyPassword=keyPassword
keyAlias=keyAlias
storeFile=storeFile.jks

Create a local.properties file in this directory if you didn't have set ANDROID_HOME:

sdk.dir=<path to the android sdk>

./gradlew android:assembleRelease -PANDROID=true

Because the android plugin is a bit buggy with IntelliJ, Android project is enable only on demand, thanks to the parameter ANDROID

How to grab the game from Google Play Store?

Google Play Store page

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].