Hacker News new | ask | show | jobs
by Liquidor 1118 days ago
That's really cool :-)

I like how it looks and how hard it seems.

I see that you're into Java, so I was thinking maybe you could look into transpiring your game into JavaScript so it can be embedded on a website.

Checkout GWT for that: https://github.com/gwtproject/gwt

4 comments

The author mentions that they used LibGDX. It's been a decade since I've done anything with it, but I do recall LibGDX can be transpiled with GWT with a bit of work:

https://libgdx.com/wiki/html5-backend-and-gwt-specifics

I had no idea GWT still existed!
There are much better options than GWT, google’s closure compiler, teawm, cheerpj. Though libgdx might be problematic.
It's coming