Title kinda says it all, LibGDX 1.2 was released today. The update includes:
- OpenGL profiling utilities have been added, see https://github.com/libgdx/libgdx/wiki/Profiling
- A FreeTypeFontGeneratorLoader has been added to the gdx-freetype extension, allowing you to load TTF fonts via AssetManager
- Added Vector#setZero
- Added gdx-ai, extension for AI algorithms. Currently supports FSMs, seehttps://github.com/libgdx/libgdx/wiki/Artificial-Intelligence
- Added equals/hashCode methods to Rectangle, may break old code (very, very unlikely)
- scene2D Actors now have a setCenterPosition method, see https://github.com/libgdx/libgdx/pull/2000
- Breaking Change:Animation#frameDuration and #animationDuration are now hidden behind a getter/setter and dynamic
- Breaking Change: TableLayout has been forked and integrated into libgdx more tightly, seehttp://www.badlogicgames.com/wordpress/?p=3458
- Updated to RoboVM 0.0.13 and RoboVM Gradle plugin 0.0.9
- Big improvements to setup-ui and build times in Intellij IDEA, https://github.com/libgdx/libgdx/pull/1865
- Setup now uses android build tools version: 19.1.0
- BitmapFontCache now supports in-string colored text through a simple markup language, seehttps://github.com/libgdx/libgdx/wiki/Color-Markup-Language
- Added i18n localization/internationalization support, thanks davebaol, seehttps://github.com/libgdx/libgdx/wiki/Internationalization-and-Localization
- Possibility to override density on desktop to simulate mobile devices, seehttps://github.com/libgdx/libgdx/pull/1825
- Progressive JPEG support through JPGD (https://code.google.com/p/jpeg-compressor/)
- Mavenized JGLFW backend
- Box2D: Added MotorJoint and ghost vertices on EdgeShape
- Updated GWT Box2D to latest version
- Updated native Box2D to latest version 2.3.1, no API changes
- Breaking change: Matrix4.set(x,y,z, translation) changed, z axis is no more flipped
- Added Matrix4.avg(Matrix4[],float[]) that lets weighted averaging multiple matrices, Quaternion.slerp(Quaternion[],float[]) that lets weighted slerping multiple Quaternions
- fixed the long standing issue of the alpha=1 not actually being fully opaque, thanks kalle!https://github.com/libgdx/libgdx/issues/1815
I don’t think the breaking changes will impact any of our tutorial series. Interesting to see the new AI extension, will be nice to see how that develops ( A* next? ). Improved IntelliJ build times are certainly welcome. You can get started here.
News