How to setup my KorGE project to use Fleks ECS library?

Viewed 50
1 Answers

I found that there is a built in function to import the Fleks into KorGE project.

Just configure the build.gradle.kts file as in the example below:

...
korge {
    id = "com.example.mygame"
    name = "My Game"

    supportFleks()

    targetJvm()
    targetJs()
    targetDesktop()
    targetIos()
    targetAndroidIndirect() // targetAndroidDirect()
}
Related