https://github.com/timerertim/deverse
2D Automation Game
https://github.com/timerertim/deverse
Last synced: 12 months ago
JSON representation
2D Automation Game
- Host: GitHub
- URL: https://github.com/timerertim/deverse
- Owner: TimerErTim
- License: mit
- Created: 2022-04-07T18:17:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-07T18:17:46.000Z (about 4 years ago)
- Last Synced: 2025-06-27T20:54:51.904Z (12 months ago)
- Language: Kotlin
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## A Starter Game Template for the LittleKt Game Framework
This template repository contains a base project for creating games with [LittleKt](https://littlekt.com). It contains
the bare necessities to get a LittleKt project up and running. This includes the necessary plugins, dependencies and
source set structure.
This project is set up to use all the available platforms that LittleKt currently supports: **JVM**, **Web**, and **Android**.
If a certain platform isn't needed, simply deleting the source directory and the source sets in
the `build.gradle.kts` file will get rid of it.
## Usage
Clone this repo and open up in IntelliJ to get started. Each platform target contains a class to execute for their
respective platform.
### JVM
**Running:**
Run `LwjglApp` to execute on the desktop.
**Deploying:**
A custom deploy task is created specifically for JVM. Run the `package/packageFatJar` gradle task to create a fat
executable JAR. This task can be tinkered with in the `build.gradlek.kts` file.
If and when the packages are renamed from `com.game.template.LwjglApp` to whatever, ensure to update the `jvm.mainClass`
property in the `gradle.properties` file to ensure that the `packageFatJar` task will work properly.
### JS
**Running:**
Run the `other/jsRun` gradle task like any other **Kotlin/JS** project to run in development mode.
**Deploying:**
Run the `kotlin browser/jsBrowserDistribution` gradle task to create a distribution build. This build will require a
webserver in order to run.
### Android
**Running:**
Run `AndroidApp` class under `src/androidMain/`.
**Deploying:**
To create a release build of the Android application, use the `Build/Generate Signed Bundle / APK...` menu option. This
will require knowledge on creating keys for signing the Android app. Going over how to do that is out of scope for this
repository.