Libgdx 1.6.0發布,libgdx1.6.0發布

來源:互聯網
上載者:User

Libgdx 1.6.0發布,libgdx1.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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.