A fork of fork of opsu! that use libgdx to fake Slick2D's API and do it very bad. I do some shit here. Don't judge me, please.
Cutting-edge builds are generated automatically for every commit. You can see them in the actions tab (you have to be logged in).
If you'd rather compile on your own, follow these instructions. First, make sure you have at least JDK 8 installed.
Then clone the project by command git clone https://github.com/rust2/opsu.git
Open a command line or a terminal in the root directory of the project and run the following commands:
Run: gradlew desktop:run
Build: gradlew desktop:dist
Run: ./gradlew desktop:run
Build: ./gradlew desktop:dist
- Enable Android plugin.
- While importing a project, IDEA will download needed SDK and platform-tools.
- Set the
ANDROID_HOME
environment variable to point to your unzipped Android SDK directory. - Enable developer mode on your device/emulator. If you are on testing on a phone you can follow these instructions, otherwise you need to google how to enable your emulator's developer mode specifically.
- Run
gradlew android:assembleDebug
(or./gradlew
if on linux/mac). This will create an unsigned APK inandroid/build/outputs/apk
.
If your IDE throws an error while trying to launch a desktop project, go to project folder and create there a run
folder.
On one PC I had to create the folder myself, on another it was created automatically (as it supposed to be).