/korge-fleks-hello-world

Template and Hello World for the KorGE Game Engine using Fleks Entity Component System

Primary LanguageKotlinMIT LicenseMIT

Korge-Fleks Hello World Template

This is a template for setting up a project with KorGE game engine and version 2.x of Fleks Entity Component System (ECS). It uses gradle with kotlin-dsl. You can open this project in IntelliJ IDEA by opening the folder or the build.gradle.kts file.

Korge-Fleks is maintained by @jobe-m

Korge version

Korge version needs to be updated in gradle/libs.versions.toml:

[plugins]
korge = { id = "com.soywiz.korge", version = "5.3.2" }

Fleks version

Fleks ECS version needs to be updated in the kproject file deps.kproject.yml:

dependencies:
- https://github.com/korlibs/korge-fleks/tree/0acbfcb5d89eca161c3537a9160143c9a72d2725/korge-fleks

It is possible to use a local copy of Korge-fleks e. g. via git submodules. Just create a submodule with the following command:

$ git submodule add https://github.com/korlibs/korge-fleks submodules/korge-fleks

After that comment line 3 and uncomment line 5 in deps.kproject.yml file.

More information

For more information how to compile and run this example please continue to read the Korge Hello-World example README file.

For more general information how to use Fleks ECS please have a look in the Fleks Wiki. Make sure to read version 2.x there!

Checkout the Korge-Fleks README to learn which Korge-ready ECS systems and component configurations already exist which you can reuse!