Skip to content

A tiny autoscroller game for android and desktop written in Kotlin using LibGDX, LibKTX and Ashley.

License

Notifications You must be signed in to change notification settings

Quillraven/Dark-Matter

Repository files navigation

Dark Matter

master

Kotlin LibGDX LibKTX

image

Dark Matter is a small LibGDX autoscroll survival game for android and desktop. It was generated with gdx-liftoff. It is written in Kotlin and uses the LibKTX extensions for libgdx.

The code and the project is explained in a video tutorial on my youtube channel.

Gameplay

image

In Dark Matter you control a spaceship that horizontally follows the mouse cursor or finger on android. The goal is to survive as long as possible. The dark matter area at the bottom of the screen slowly sucks you in and once you are inside its area you will take damage.

To survive you can collect different power-ups that are falling from the top of the screen:

  • Two different speed boost
  • Life gain
  • Shield gain

image

Credits