oakes / play-clj

A Clojure game library
The Unlicense
939 stars 73 forks source link

Building for HTML5 #41

Closed donbonifacio closed 10 years ago

donbonifacio commented 10 years ago

Hello,

I'm just starting to checkout play-clj. Can I build for HTML too? It seams to be possible from libgdx.

Thanks,

oakes commented 10 years ago

Not at the moment, no. LibGDX uses a Java->JavaScript source code converter to accomplish this, so it won't work with Clojure. I am still highly interested in finding a way to do it, but it won't be easy.

donbonifacio commented 10 years ago

Kay, thanks @oakes :) Maybe somewhere down the line someone will build a Clojure -> ClojureScript -> Javascript that will work with LibGDX. I'll close this.

oakes commented 10 years ago

My ideal scenario would be to convert JVM bytecode to JavaScript, so it would work with any JVM language. I plan on exploring this more in the near future.

AlexGoico commented 8 years ago

Something like this? http://teavm.org/

CaptainLexington commented 8 years ago

+1 - Targeting the web is super important, but I would like to use a robust, production-ready library rather than roll my own if at all possible - and targeting other platforms natively rather than through JavaScript VMs is attractive.