An open API service indexing awesome lists of open source software.

https://github.com/korlibs/korge-fleks-hello-world

Template and Hello World for the KorGE Game Engine using Fleks Entity Component System
https://github.com/korlibs/korge-fleks-hello-world

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://github.com/Quillraven/Fleks) (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](https://github.com/korlibs/korge-fleks) is maintained by [@jobe-m](https://github.com/jobe-m)

## Korge version

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

```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](https://github.com/korlibs/korge-hello-world/blob/main/README.md) file.

For more general information how to use Fleks ECS please have a look in the
[Fleks Wiki](https://github.com/Quillraven/Fleks/wiki). Make sure to read version 2.x there!

Checkout the Korge-Fleks [README](https://github.com/korlibs/korge-fleks/blob/main/README.md) to learn
which Korge-ready ECS systems and component configurations already exist which you can reuse!