Skip to content

Does LibKTX depend on Java libraries? #116

Answered by czyzby
SohnyBohny asked this question in Q&A
Discussion options

You must be logged in to vote

KTX itself is built around LibGDX, which is written in Java with some C++. You will not be able to use Kotlin-to-JS because of the crucial LibGDX dependency.

However, LibGDX itself works in the browser. The official backend uses GWT, which is only able to compile Java code, but there are two open source projects (that I know of) that use tools which can compile JVM bytecode, supporting other languages. Look into Dragome and TeaVM.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by czyzby
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #116 on December 11, 2020 14:29.