libGDX Changelog

What's new in libGDX 1.6.0

May 7, 2015
  • API Change: GlyphLayout xAdvances now have an additional entry at the beginning. This was required to implement tighter text bounds. #3034
  • API Change: Label#getTextBounds changed to getGlyphLayout. This exposes all the runs, not just the width and height.
  • In the 2D ParticleEditor, all chart points can be dragged at once by holding ctrl. They can be dragged proportionally by holding ctrl-shift.
  • Added Merge button to the 2D ParticleEditor, for merging a loaded particle effect file with the currently open particle effect.
  • Added ability to retrieve method annotations to reflection api
  • Added PixmapPacker.updateTextureRegions() method.
  • Added ability to pack "anonymous" pixmaps into PixmapPacker, which will appear in the generated texture but not a generated or updated TextureAtlas
  • Added PixmapPacker.packDirectToTexture() methods.
  • API Change: PixmapPacker.generateTextureAtlas(...) now returns an atlas which can be updated with subsequent calls to PixmapPacker.updateTextureAtlas(...)
  • API Change: FreeTypeFontGenerator.generateFont(...) now works with a user-provided PixmapPacker.
  • Added DirectionalLightsAttribute, PointLightsAttribute and SpotLightsAttribute, removed Environment#directionalLights/pointLights/spotLights, added Environment#remove, lights are now just like any other attribute. See also https://github.com/libgdx/libgdx/wiki/Material-and-environment#lights
  • API Change: BitmapFont metrics now respect padding. #3074
  • Update bullet wrapper to v2.83
  • Added AnimatedTiledMapTile.getFrameTiles() method

New in libGDX 1.5.6 (Apr 17, 2015)

  • API Change: Refactored Window. https://github.com/libgdx/libgdx/commit/7d372b3c67d4fcfe4e82546b0ad6891d14d03242
  • Added VertexBufferObjectWithVAO, see https://github.com/libgdx/libgdx/pull/2527
  • API Change: Removed Mesh.create(...), use MeshBuilder instead
  • API Change: BitmapFontData, BitmapFont, and BitmapFontCache have been refactored. http://www.badlogicgames.com/wordpress/?p=3658
  • FreeTypeFontGenerator can now render glyphs on the fly.
  • Attribute now implements Comparable, custom attributes might need to be updated, see: https://github.com/libgdx/libgdx/wiki/Material-and-environment#custom-attributes
  • API Change: Removed (previously deprecated) GLTexture#createTextureData/createGLHandle, Ray#getEndPoint(float), Color#tmp, Node#parent/children, VertexAttribute#Color(), Usage#Color, ModelBuilder#createFromMesh, BoundingBox#getCenter()/updateCorners()/getCorners(), Matrix4.tmp

New in libGDX 1.5.4 (Feb 16, 2015)

  • Added support for image layers in Tiled maps (TiledMapImageLayer)
  • Added support for loading texture objects from TMX Maps (TextureMapObject)
  • Added support for border and shadow with FreeTypeFontGenerator - see https://github.com/libgdx/libgdx/pull/2774
  • Now unknown markup colors are silently ignored and considered as normal text.
  • Updated freetype from version 2.4.10 to 2.5.5
  • Added 3rd party extensions to setup application, see
  • Updated to RoboVM 1.0.0-beta-04
  • Updated to GWT 2.6.1, sadly GWT 2.7.0 isn't production ready yet.

New in libGDX 1.5.3 (Jan 17, 2015)

  • API Change: TextField#setRightAlign -> TextField#setAlignment
  • I18NBundle is now compatible with Android 2.2
  • Fixed GWT reflection includes for 3D particles
  • 3D ParticleEffectLoader registered by default
  • Added HttpRequestBuilder
  • Allows you to get "real" pixel coordinates for mouse and display coordinates.
  • Updated RoboVM to 1.0.0-beta-03

New in libGDX 1.5.2 (Jan 16, 2015)

  • Fixed issue #2433 with color markup and alpha animation.