GithubHelp home page GithubHelp logo

dwursteisen / beat-the-high-score Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 7.0 1.48 MB

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

Makefile 0.14% Kotlin 97.57% GLSL 2.29%

beat-the-high-score's Introduction

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

beat-the-high-score's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

beat-the-high-score's Issues

Too hard to run without prior knowledge. // How to import in IntelliJ?

I am getting too many warnings, I don't know what I am doing wrong.
I just tried to import, updated gradle to 4.10.2-all, and got 879 errors and 3 warnings. Clearly, there is something weird going on.

screen shot 2018-11-01 at 19 33 17

Edit: I got it after running the run task. Needless to say, it was very unintuitive - I usually build before running. I suggest modifying the README to note this.

libktx.github.io link

Hey, just wanted to tell you that I added your project and a link to your talk to the KTX landing page (libktx.github.io). If you want me to remove it, let me know. Thank you for using KTX and including it in your presentation!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.