libgdx 0.9.3 released

Time for a new release. Here’s what we changed/added/fixed

  • Tons of fixes for issues on the tracker, have a look yourself.
  • Fixes and additions to the UI framework
  • And all new build system that allows us to more easily integrate new extensions and backends.
  • Big performance improvements for OpenGL ES 2.0 by using vertex arrays instead of VBOs for SpriteBatch and friends.
  • Lifted the memory limit for native resources, see here.
  • Non-continuous rendering support
  • PixmapPacker, pack your images to a TextureAtlas at runtime.
  • An entire new backend allowing you to target native HTML5 via GWT.
  • Support for local files.
  • gdx-stb-truetype, a wrapper around stb-truetype to generate BitmapFonts from Unicode characters. Sadly its visual quality is not to good for small font sizes
  • gdx-jnigen, a tool that let’s you embed your JNI code in your Java files and helps you generate ant scripts to build the code for multiple platforms. All of libgdx’s native code has been converted to use this tool.
  • gdx-audio, wraps libmpg123 and tremor to help you decode mp3 and ogg files to plain PCM samples, wraps SoundTouch to allow you to pitch shift and timestretch your PCM samples, wraps kissfft to give you the frequency domain of a signal.
  • gdx-freetype, wraps FreeType and allows you to generate BitmapFonts on the fly from common TTF files.

There’s currently work being done on a Bullet Physics wrapper (gdx-bullet) and libjpeg/libpng/libgif wrapper (gdx-image). The Bullet Physics wrapper seems to be mostly complete but needs extensive testing. The image library wrapper is in it’s infancy, only libjpeg works for now. Both are packaged in the release for you to test them out if you wish.

We also created a few new ways to make libgdx project setup a lot easier. Check out this new Wiki page. Massive thanks to Aurelien Ribon for writting this fancy thing. I’ll add some screenshots to the article and will most likely replace the old introduction videos.

We also recognize the need for mavenization (edit: meaning everyone but Nate). We can now push artifacts to central, and as soon as i get the time, i’ll try to set things up so that happens automagically. Ruben and Arielsan of Gemserk kindly offered their help, so thanks for that as well.

I’ll write an extensive post on the new GWT backend asap. I’m working full time again since monday, so please be patient :)

29 thoughts on “libgdx 0.9.3 released

  1. Very great work. thank you.
    Do you intend to create a libgdx project setup for other IDE, especially for InlelliJ IDEA ?

  2. Pretty nifty.. Can you perhaps elaborate on this if you have the time: “Big performance improvements for OpenGL ES 2.0 by using vertex arrays instead of VBOs for SpriteBatch and friends.” What about GL/ES 2.0 is slow with VBOs and is this only some devices? A good deal of my GL/ES 1.x code is VA based still, so curious if it affects GL/ES 1.x or is this a device based concern. And :: snap :: I too am heading back to full time work very soon.

  3. Congrats on shipping!

    There’s really tons of new stuff. I’m only starting to use the AssetManager since a few days, guess I’ll never be able to test everything the lib has to offer :D Anyway, I’m really pleased that the lib is becoming one of the top (if not the one) java gaming library. Look at the download stats, that’s hugely impressive, not counting all the nightlies downloads (do you track them?).

    @zonex, I’m thinking about that, especially for the desktop project since the other ones are more eclipse dependent. Personally, I always work on the core project using the Netbeans IDE. Welcoming other IDEs (in advanced settings of the tool for instance) would be a nice addition. However, I still need to find a way to link the assets between the different projects if they don’t use the same IDE (and even if they do, they don’t always support folder linking). For now, I create hard links (either on linux or windows) for assets and source folders between projects. It may be a solution, I’ll think about it. In the meantime, if you could send me a hello-world project folder managed by IntelliJ (so i could know the required files), I’ll appreciate that.

  4. Woah, I was already looking at libGDX a few days ago to to decide if it could become my new weapon of choice. But the features in this release make it a “no-brainer”!

    A great product you have there! Thanks a lot for all your work and for letting us use it :-)

  5. Hello. Thanks for this library it is really appreciated.

    I’ve been trying to get the libmpg123 mp3 working for a couple of days now. I’m using your test example mpg123test with a 44100 hertz. The audio track on both the emulator and a droid sounds like it is going in slowmo. Can you share the code you used during benchmarking? I don’t understand how you are decoding them so fast.

    FYI, I’m just testing in audio track now but at the end of the day I’ll be mixing the PCM from the mp3 with an audio record wav file. I just need to know why mine is decoding so slow. Thank you for your time.

  6. Nice job! Can’t wait to try it on the my next game!

    Sticking to the latest version I have right now to make sure nothing breaks :o
    :D

  7. Woah, that’s SHITTON of new goodies! A little too much for minor update, eh? ;) (0.92 -> 0.93)
    Maybe it’s time to go 1.0?

  8. LibGDX rulzz freaking haaard!!!

    Hey! I’ll be more than happy to watch and click some ads in this website, think about it…

  9. Thanks for this awesome update, I just started to use libgdx and I love it.
    Just one thing though, It looks that bullet-physics was not included with this release as it was said above in the post, could you add it to the nightly please, so we can test :)

    thanks and regards

  10. Man, this is awesome.
    It has been 10 months since I’ve been studying and developing games with LibGDX. This new release brings many improvements, some of which I expected, as the improved performance of openGL 2.0.
    Thanks for the hard work for me is an honor to work with LibGDX.

  11. Hello, I downloaded the 0.9.3 release and followed the new project setup tutorial
    http://code.google.com/p/libgdx/wiki/ProjectSetupNew
    I used the gdx-setup-ui.jar and when I chose the html5 project and ran as Web Application. Everything went OK.
    But when I click the index.html link and access it in my chrome .The following exceptions appeared.
    Please help me !!!

    21:31:52.109 [ERROR] [com.me.mygdxgame.MyGdxGame] Generator ‘com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator’ threw an exception while rebinding ‘com.badlogic.gdx.backends.gwt.preloader.PreloaderBundle’

    java.lang.NullPointerException: null
    at java.io.File.<init>(Unknown Source)
    at com.badlogic.gdx.backends.gwt.preloader.FileWrapper.<init>(FileWrapper.java:38)
    at com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator.generate(PreloaderBundleGenerator.java:42)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
    at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:141)
    at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)
    at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    at com.google.gwt.core.client.GWT.create(GWT.java:97)
    at com.badlogic.gdx.backends.gwt.preloader.Preloader.<init>(Preloader.java:43)
    at com.badlogic.gdx.backends.gwt.GwtApplication$1.run(GwtApplication.java:128)
    at com.google.gwt.user.client.Timer.fire(Timer.java:149)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Unknown Source)
    ——————————————————————————————————
    [INFO] [com.me.mygdxgame.MyGdxGame] – Module com.me.mygdxgame.MyGdxGame has been loaded
    [DEBUG] [com.me.mygdxgame.MyGdxGame] – Rebinding com.badlogic.gdx.backends.gwt.preloader.PreloaderBundle
    [DEBUG] [com.me.mygdxgame.MyGdxGame] – Invoking generator com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator
    [ERROR] [com.me.mygdxgame.MyGdxGame] – Generator ‘com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator’ threw an exception while rebinding ‘com.badlogic.gdx.backends.gwt.preloader.PreloaderBundle’
    [ERROR] [com.me.mygdxgame.MyGdxGame] – Deferred binding failed for ‘com.badlogic.gdx.backends.gwt.preloader.PreloaderBundle'; expect subsequent failures
    [ERROR] [com.me.mygdxgame.MyGdxGame] – Uncaught exception escaped

  12. You can’t just start the thing by clicking the file in your explorer, opening it with your browser. You have to have a webserver running (Apache, ngnix) and serve it via that from localhost for testing.

  13. When I compile(gwt-compile) the latest super-jumper-html, I got the errors.

    Compiling module com.badlogicgames.superjumper.SuperJumperGwt
    Validating newly compiled units
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/Animation.java’
    [ERROR] Line 25: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/Assets.java’
    [ERROR] Line 27: No source code is available for type com.badlogic.gdx.graphics.Texture; did you forget to inherit a required module?
    [ERROR] Line 28: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Line 50: No source code is available for type com.badlogic.gdx.graphics.g2d.BitmapFont; did you forget to inherit a required module?
    [ERROR] Line 52: No source code is available for type com.badlogic.gdx.audio.Music; did you forget to inherit a required module?
    [ERROR] Line 53: No source code is available for type com.badlogic.gdx.audio.Sound; did you forget to inherit a required module?
    [ERROR] Line 60: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/DynamicGameObject.java’
    [ERROR] Line 22: No source code is available for type com.badlogic.gdx.math.Vector2; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/GameObject.java’
    [ERROR] Line 23: No source code is available for type com.badlogic.gdx.math.Vector2; did you forget to inherit a required module?
    [ERROR] Line 24: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/GameScreen.java’
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 39: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 42: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 43: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 44: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 48: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 115: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 131: No source code is available for type com.badlogic.gdx.Application.ApplicationType; did you forget to inherit a required module?
    [ERROR] Line 191: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/HelpScreen.java’
    [ERROR] Line 31: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 36: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 37: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 38: No source code is available for type com.badlogic.gdx.graphics.Texture; did you forget to inherit a required module?
    [ERROR] Line 39: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Line 54: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 66: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/HelpScreen2.java’
    [ERROR] Line 31: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 36: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 37: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 38: No source code is available for type com.badlogic.gdx.graphics.Texture; did you forget to inherit a required module?
    [ERROR] Line 39: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Line 54: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 66: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/HelpScreen3.java’
    [ERROR] Line 31: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 36: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 37: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 38: No source code is available for type com.badlogic.gdx.graphics.Texture; did you forget to inherit a required module?
    [ERROR] Line 39: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Line 54: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 66: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/HelpScreen4.java’
    [ERROR] Line 31: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 36: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 37: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 38: No source code is available for type com.badlogic.gdx.graphics.Texture; did you forget to inherit a required module?
    [ERROR] Line 39: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Line 54: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 66: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/HelpScreen5.java’
    [ERROR] Line 31: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 36: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 37: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 38: No source code is available for type com.badlogic.gdx.graphics.Texture; did you forget to inherit a required module?
    [ERROR] Line 39: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Line 54: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 66: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/HighscoresScreen.java’
    [ERROR] Line 29: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 30: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 33: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 56: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 68: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/MainMenuScreen.java’
    [ERROR] Line 29: No source code is available for type com.badlogic.gdx.Screen; did you forget to inherit a required module?
    [ERROR] Line 30: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Line 32: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 33: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 38: No source code is available for type com.badlogic.gdx.math.Vector3; did you forget to inherit a required module?
    [ERROR] Line 54: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 84: No source code is available for type com.badlogic.gdx.graphics.GLCommon; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/OverlapTester.java’
    [ERROR] Line 23: No source code is available for type com.badlogic.gdx.math.Rectangle; did you forget to inherit a required module?
    [ERROR] Line 30: No source code is available for type com.badlogic.gdx.math.Vector2; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/Settings.java’
    [ERROR] Line 33: No source code is available for type java.io.BufferedReader; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type java.io.InputStreamReader; did you forget to inherit a required module?
    [ERROR] Line 35: No source code is available for type com.badlogic.gdx.Gdx; did you forget to inherit a required module?
    [ERROR] Line 51: No source code is available for type java.io.BufferedWriter; did you forget to inherit a required module?
    [ERROR] Line 53: No source code is available for type java.io.OutputStreamWriter; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/SuperJumper.java’
    [ERROR] Line 22: No source code is available for type com.badlogic.gdx.Game; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/World.java’
    [ERROR] Line 41: No source code is available for type com.badlogic.gdx.math.Vector2; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper/src/com/badlogicgames/superjumper/WorldRenderer.java’
    [ERROR] Line 27: No source code is available for type com.badlogic.gdx.graphics.OrthographicCamera; did you forget to inherit a required module?
    [ERROR] Line 28: No source code is available for type com.badlogic.gdx.graphics.g2d.SpriteBatch; did you forget to inherit a required module?
    [ERROR] Line 29: No source code is available for type com.badlogic.gdx.graphics.g2d.TextureRegion; did you forget to inherit a required module?
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper-html/src/com/badlogicgames/superjumper/client/SuperJumperGwt.java’
    [ERROR] Line 8: No source code is available for type com.badlogic.gdx.backends.gwt.GwtApplication; did you forget to inherit a required module?
    [ERROR] Line 10: No source code is available for type com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; did you forget to inherit a required module?
    [ERROR] Line 16: No source code is available for type com.badlogic.gdx.ApplicationListener; did you forget to inherit a required module?
    Finding entry point classes
    [ERROR] Errors in ‘file:/D:/PythonCode/androiddev/libgdxStudy/superjumper/superjumper-html/src/com/badlogicgames/superjumper/client/SuperJumperGwt.java’
    [ERROR] Line 8: No source code is available for type com.badlogic.gdx.backends.gwt.GwtApplication; did you forget to inherit a required module?
    [ERROR] Line 10: No source code is available for type com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; did you forget to inherit a required module?
    [ERROR] Line 16: No source code is available for type com.badlogic.gdx.ApplicationListener; did you forget to inherit a required module?
    [ERROR] Unable to find type ‘com.badlogicgames.superjumper.client.SuperJumperGwt’
    [ERROR] Hint: Previous compiler errors may have made this type unavailable
    [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
    Exception in thread “UnitWriteThread” java.lang.RuntimeException: Unable to read from byte cache
    at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:196)
    at com.google.gwt.dev.util.DiskCacheToken.writeObject(DiskCacheToken.java:91)
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
    at java.io.ObjectOutputStream.writeSerialData(Unknown Source)

  14. You are missing projects/jar files. In this case you either need to link to the gdx-project (which the super-jumper example is set up to do in SVN) or the gdx-sources.jar. Please move this discussion to the forums.

  15. The gdx-setup-ui.jar tool have a problem: when generate projects it said:

    Decompressing projects…
    [error] Destination ‘__libgdx_setup_tmp/prj-common/src/MyGame.gwt.xml’ already exists

    this is a great tool, hope you can fix it. ^_^

  16. hi. i don’t know this is my problem or ….
    my nexus one is root (cyanogen Mod 7). after use “gdx-setup-ui.jar” to create my project, i create one of my android projects with “gdx-setup-ui.jar”. but after run that on my phone, my phone crashed… i mean my ADWLauncher get crashed (after this u can’t do anything with phone). i reset my phone(another time root that again) and do this again, result was same.
    so the question… this problem is from my phone? or my root? or android project?

  17. @Hosein, you should:

    – ask this on the forums
    – provide logs
    – try the android project on the emulator

  18. I get the svn libgdx code revision 3865 in Apr 19. The GWT backends, most of GWT version demo or test complain error:

    “The web.xml file does not exist WEB-INF ”

    I not familiar with GWT develop. Hope you can provide some correct demo or test as a reference.

    At last, I have to said the libgdx port to html is a great idea, hope you can make it better. ^_^

  19. Pingback: java games

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>