Libgdx 1.6.3 發布,跨平臺游戲開發框架

jopen 10年前發布 | 8K 次閱讀 libgdx

Libgdx 1.6.3 發布,此版本 RoboVM 更新至 RoboVM 1.4。
[1.6.4]
- TextField cursor and selection size changed. https://github.com/libgdx/libgdx/commit/2a830dea348948d2a37bd8f6338af2023fec9b09
- FreeTypeFontGenerator setting to improve shadows and borders.
- ScrollPane scrolls smoothly when the scrolled area is much larger than the scrollbars.
- TexturePacker sorts page regions by name.
- GlyphLayout text wrapping changed to not trim whitespace. https://github.com/libgdx/libgdx/commit/ee42693da067da7c5ddd747f051c1423d262cb96
- Fixed BitmapFont computing space width incorrectly when padding is used and no space glyph is in the font.
- Fixed TextArea cursor and selection drawing positions.
- Fixed ActorGestureListener pan and zoom when the actor is rotated or scaled.
- Fixed TextField for non-pixel display.
- Allow ellipsis string to be set on Label.
- AssetManager gets hook for handling loading failure.

下載:https://github.com/libgdx/libgdx/archive/1.6.3.zip

Libgdx是一個跨平臺的開發框架。它目前支持的平臺有Windows,Mac OS X,Android,IOS和HTML5。

Libgdx允許你可以將代碼不經任何修改的部署到多個平臺。而不是修改你的代碼適應不同的平臺或者直接編譯到HTML5。你可以在一個桌面開發環境中迅速部署你的代碼。你可以使用所有的Java生態系統中的開發工具。

Libgdx可以在底層進行操作。可以讓你直接訪問文件系統,輸入設備,輸出設備,音頻設備和通過統一的OpenGL ES接口訪問OpenGL。

基于這些底層的操作,Libgdx建立了強大的API幫助你完成常見的開發任務。比如渲染精靈,繪制文本,構建用戶界面,播放聲音效果和音樂流,線性代數和三角計算,解析JSON和XML數據等。

在必要時,Libgdx可以通過本地代碼追求更好的性能。所有這些功能隱藏在Java API函數中,所以你不用為為不同平臺交叉編譯本地代碼而擔心。Libgdx的很多部分可以運行在已知的平臺中,所以你不用擔心。

Libgdx旨在成為一個框架而不是一個引擎,世上沒有一勞永逸的事。相反,Libgdx強大的抽象可以讓你編寫出你想要的游戲或者應用。

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!