kool-engine / kool

An OpenGL / WebGPU engine for Desktop JVM, Android and Javascript written in Kotlin
https://fabmax.github.io/kool/kool-js
Apache License 2.0
306 stars 20 forks source link

No issue, just wanted to say that this is awesome #51

Open 4lfg24 opened 1 year ago

4lfg24 commented 1 year ago

Hey man, I've gotta say that out of all the graphics libraries I've tried so far this is one of, if not, the best! Great job on making this awesome 3d kotlin game engine, the only bad thing I can say about this project is the lack of tutorials 😅

fabmax commented 1 year ago

Thanks! I'm working on this for quite some time now and always trying to make things better - good to hear that apparently it's working out :smile:

Tutorials and documentation are indeed a little thin but writing these is a lot less fun than working on the engine itself. Maybe things will get better once the editor has reached a usable state.

4lfg24 commented 1 year ago

Cool, glad to know you guys are working on it, because I've been trying to set up a kotlin project like you instructed in the last part of the readme but I don't understand how to do it properly, so I've been working in the source code instead.

antzGames commented 1 year ago

@4lfg24: Fabulous max has created: https://github.com/fabmax/kool-templates repo with everything you need to start a project from scratch.

I tested it. It works fine in InteliJ (but not Android Studio), only thing I had to do is set the Gradle's JVM version to V11. File > Settings > Build, Ex... > Build > Gradle

Both JS and JVM versions can be run/built from the Gradle menu, but you can also do it by the command line as he describes in the README.

4lfg24 commented 1 year ago

Thank you @antzGames ! (Also what are you doing here, are you thinking about betraying libgdx? 😂 jk)

antzGames commented 1 year ago

So 3D performance in HTML with libGDX is very poor compared with this engine.

fabmax commented 1 year ago

So 3D performance in HTML with libGDX is very poor compared with this engine.

Good to know. As far as I know libGDX uses GWT for the web frontend. I'm not 100% sure but I have the feeling that GWT is not the most future-proof technology (development has pretty much stopped by now).

antzGames commented 1 year ago

LibGDX has an experimental TeaVM web backend (produces JS or WASM).