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
- Host: GitHub
- URL: https://github.com/korlibs/korge-fleks-hello-world
- Owner: korlibs
- License: mit
- Created: 2023-01-13T16:00:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-14T17:32:36.000Z (about 1 year ago)
- Last Synced: 2025-04-23T03:10:00.181Z (about 1 year ago)
- Language: Kotlin
- Size: 4.39 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!