Libgdx to HTML 5

I have a hell of a time porting my libgdx game to HTML 5

I am now at the point where I just use the projects the UI wizard give me.
Even if I dont change any code and use the sample app as is, I get this error when trying to compile to GWT:


Invoking generator com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator
               [ERROR] Generator 'com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator' threw an exception while rebinding 'com.badlogic.gdx.backends.gwt.preloader.PreloaderBundle'
java.lang.NullPointerException
	at com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator.getAssetOutputPath(PreloaderBundleGenerator.java:167)
	at com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator.generate(PreloaderBundleGenerator.java:51)
...

Full Console here: http://pastebin.com/Jjs7xCHM

Also using libgdx nightlies from like 2 days ago, if that matters

Seems to be indeed a problem with the nightlies. Opened an issue @ libgdx

Sorry Cero I can’t help. I also use libgdx but only for desktop and android :frowning:

You know since Applets suck and we wanted to try some play-in-browser-right-now-because-im-too-lazy-to-download ^^

Yeah, I can’t even deploy libgdx applet in new version. Dunno if it’s issue or my miss.

I also love web deployment, but my GWT installer is still sitting untouched cutely here :point:

Well getting Applets to work at all is hard for me, because you need to package everything into a single jar, which I never do usually…

Should be fixed. I only occassionally visit these forums, your best bet are the official forums and the issue tracker if you found a bug.

But some people feel guilty when register to just ask one question and leave, like me ;D