-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML support #56
Comments
Thanks! I have never tried building for HTML5 and don't have any interest on fixing this issue myself. However, we can leave it open in case someone is up for the job :) |
Jetty was deprecated and should be replaced with Gretty, but it didn't work for HTML anyway (#56) so instead I have decided to remove it entirely for now (it can always be added back in a future if someone is willing to do so).
A new gradle build script should be made (or generated through libGDX's tool) to work on the latest version of gradle (using gretty instead of jetty). After it's ready, it should be tested and ensured that it works before making a commit. |
Is it okay if I try working on this issue and making your game compatible for HTML5? |
Sure, that would be awesome to see! Feel free to work on it. |
I've re-ran the libGDX setup (9c6be35) and left the |
Awesome job on this project! Very instructive.
I managed to make it work on Android and iOS, but on HTML, I get the following error.
I see that
GdxDefinition.gwt.xml
already contains:<set-configuration-property name="gdx.assetpath" value="../android/assets" />
com.badlogic.gdx.utils.SerializationException: Error reading file: skin/uiskin.json
Following https://stackoverflow.com/questions/31574577/libgdx-error-reading-file-uiskin-json, I tried removing parts of the uiskin.json, but then I get:
Uncaught Error: java.lang.RuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: Error loading font file: font/x0.75/geosans-light64.fnt
The text was updated successfully, but these errors were encountered: