I was able to get the Libgdx tutorial game "Drop" working as a desktop application.
Here's the url for the tutorial:http://code.google.com/p/libgdx/wiki/SimpleApp
I have a couple questions about the HTML5 project.
First of all, it seems to be running at a really slow fps. It takes a good second to respond to keystrokes or mouse button clicks, and the sound effect comes considerably after the event on the screen.
Is this normal?
Also, I am getting this warning repeatedly:
[WARN] [com.badlogic.drop.GwtDefinition] - Something other than an int was returned from JSNI method
'@com.google.gwt.dom.client.DOMImplStandardBase$ClientRect::getLeft()': Rounding double (178.33334350585938) to int for int
Any thoughts or advice?
[EDIT] Just noticed, there's lots of messages being posted to the Console, and during the 'game' lots of 'keydown' lines. I could see where this might be slowing down performance. Is there a way to optionally turn off the console messaging? It seems like that might help *some* but maybe HTML5 is just going to be slower, regardless? Or I have to get out of Eclipse and try running it?