Libgdx 1.6.0发布,跨平台游戏开发框架

[1.6.0]
-英文原文:http://www.badlogicgames.com/wordpress/?p=3682

-API更改:GlyphLayout xAdvances现在有了额外的开始入口,这需要实现tighter text bounds。

-API更改:Label#getTextBounds更改成getGlyphLayout。不仅仅暴露width和height。
在2D Particle编辑器中,所有的chart points可以通过按住ctrl一次性拖动。也可以通过ctrl-shift进行适当的拖动。

-在2D Particle编辑器中,添加合并按钮。在当前打开的粒子特效文件中合并一个载入的粒子特效。

-新增获取方法注释到反射API的能力。

-添加PixmapPacker.updateTextureRegions()方法。

-添加打包匿名pixmaps到PixmapPacker的能力,这只有在生成纹理时出现。

-添加PixmapPacker.packDirectToTexture()方法。

-API更改:PixmapPacker.generateTextureAtlas(…)现在返回一个atlas,可以供PixmapPacker.updateTextureAtlas(…)后续调用。

-API更改:FreeTypeFontGenerator.generateFont(…)可以在用户提供的PixmapPacker中使用。

-添加DirectionalLightsAttribute,PointLightsAttribute和SpotLightsAttribute,删除Environment#directionalLights/pointLights/spotLights,添加Environment#remove。

-API更改:BitmapFont相关更改,参见#3074。

-更新bullet wrapper 到v2.83。

-添加AnimatedTiledMapTile.getFrameTiles()方法。

libgdx.cn已经添加到官方wiki。https://github.com/libgdx/libgdx/wiki/External-tutorials

posted on 2015-05-08 09:03  海南一哥  阅读(148)  评论(0编辑  收藏  举报

导航