Awesome Open Source
Awesome Open Source

Cyberpunk Logo

Introduction

Cyberpunk is a collection of independent, modular, pure-Kotlin libraries to use on top of libGDX, tailored with Java interoperability in mind. By offering various utilities and boilerplates, it aims to speed up development and ease the making of prototypes, making it a great fit for game jams!

Modules

Cyberpunk is all about small, independent modules. Because of the Gradle integration, you can import just the modules that you need. To properly serve that purpose, every single module is totally independent from all others:

Module Description
audio Music/Sound asset management and various utilities.
camera Various camera styles on the go.
core State management and transitions - get up and running quickly!
image Image asset management and various utilities.
profiler Wrappers around libGDX profiling utilities.
physics Friendly and practical Box2D constructs.
text Text positioning helpers.

Usage

JitPack is used here, so, if you want to import any module, add this to your root build.gradle file:

allprojects {
  repositories {
    // ...
    maven { url 'https://jitpack.io' }
  }
}

Now, in order to import single modules, add to the dependencies as follows:

compile 'com.github.imXico.cyberpunk:$module:$version'

Replace $module with the name of the desired library (see above). Likewise, $version should be replaced with the desired version. Check out the released versions here.

What About libKTX?

Hey, libKTX is an awesome project, and I recommend it for larger Kotlin projects. Moreover, Cyberpunk and libKTX have actually collaborated in the past. libKTX provides an incredible range of features, all very high quality. That being said, if you're looking for a smoother Java interoperability, or are carrying out a game jam, give Cyberpunk a try!

License

This project is released under the MIT License.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (709,307
Kotlin (59,757
Boilerplate (5,659
Camera (1,683
State Management (1,207
Helper (1,204
Transition (561
Libgdx (556
Utility Library (414
Game Jam (320
Box2d (142
Related Projects