设为首页 收藏本站
查看: 681|回复: 0

[软件发布] Libgdx 1.8.0 发布,跨平台游戏开发框架

[复制链接]

尚未签到

发表于 2016-5-24 12:47:18 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886   DSC0000.png
                DSC0001.jpg   Libgdx 1.8.0 发布,此版本更新内容如下:

  •   API Change: Rewrote FreeType shadow rendering (much better).
  •   Added spaceX/Y to FreeType fonts.
  •   Higher quality FreeType font rendering.
  •   Hiero updated to v5, now with FreeType support and other new features!
  •   GlyphLayout now allocates much, much less memory when processing long text that wraps.
  •   Added LWJGL 3 backend, see https://github.com/libgdx/libgdx/issues/3673 for more info.
  •   Added Graphics#getFramebufferWidth and Graphics#getFramebufferHeight for HDPI handling
  •   API Change: Added HdpiUtils. Instead of calling GL20#glViewport and GL20#glScissor yourself
      please use HdpiUtils instead. It will ensure that you handle HDPI monitors correctly when

      using those OpenGL functions. On HDPI monitors, the>  getWidth/getHeight is in logical coordinates as dictated by the operating system, usually half
      the HDPI resolution. The OpenGL drawing surface works in backbuffer coordinates at the full
      HDPI resolution. If you pass logical coordinates to glViewport and glScissor, you only

      affect a quarter of the real backbuffer>
  •   API Change: Graphis#getDesktopDisplayMode() has been renamed to Graphics#getDisplayMode() and
      returns the current display mode of the monitor the window is shown on (primary monitor on
      all backends except LWJGL3, which supports real multi-monitor setups).
  •   API Change: Graphics#getDisplayModes() return the display modes of the monitor the monitor
      the window is shown on (primary monitor on all backends except LWJGL3 which supports real
      multi-monitor setups).
  •   API Change: Graphics#setDisplayMode(DisplayMode) has been renamed to
      Graphics#setFullscreenMode(). If the window is in windowed mode, it will be switched
      to fullscreen mode on the monitor from which the DisplayMode stems from.
  •   API Change: Graphics#setDisplayMode(int, int, boolean) has been renamed to
      Graphics#setWindowedMode(int, int). This will NOT allow you to switch to fullscreen anymore,
      use Graphics#setFullscreenMode() instead. If the window is in fullscreen mode, it will be
      switched to windowed mode on the monitor the window was in fullscreen mode on.
  •   API Addition: Graphics#Monitor, represents a monitor connected to the machine the app is

      running on. A monitor is defined by a name and it's position>  monitors. All backends except the LWJGL3 backend will report only the primary monitor
  •   API Addition: Graphics#getPrimaryMonitor() returns the primary monitor you usually want
      to work with.
  •   API Addition: Graphics#getMonitor() returns the monitor your app's window is shown on,
      which may not be the primary monitor in >= 2 monitor systems. All backends except the
      LWJGL3 backend will report only the primary monitor.
  •   API Addition: Graphics#getMonitors() returns all monitors connected to the system. All
      backends except the LWJGL3 backend will only report the primary monitor.
  •   API Addition: Graphics#getDisplayMode(Monitor) returns the display mode of the monitor
      the app's window is shown on. All backends except the LWJGL3 backend will report the
      primary monitor display mode instead of the actual monitor's display mode. Not a problem
      as all other backends run on systems with only a single monitor so far (primary monitor).
  •   Added option to include credentials on cross-origin http requests (used only for GWT backend).
  •   Added option to specify crossorigin attribute when loading images with AssetDownloader (GWT), see #3216.
  •   API Change: removed Sound#setPriority, this was only implemented forthe Android backend. However, Android itself never honoured priority settings.
  •   API Change: cursor API has been cleaned up. To create a custom cursor, call Graphics#newCursor(), to set the custom cursor call Graphics#setCursor(), to set a system cursor call Graphics#setSystemCursor(). The Cursor#setSystemCursor method has been removed as that was not the
      right place. Note that cursors only work on the LWJGL, LWJGL3 and GWT backends. Note that system cursors only fully work on LWJGL3 as the other two backends lack a means to set a specific system cursor. These backends fall back to displaying an arrow cursor when setting any systemcursor.
  •   API Addition: Added Lwjgl3WindowListener, allows you to hook into per-window iconficiation, focus and close events. Also allows you to prevent closing the window when a close event arrives.
  下载:https://github.com/libgdx/libgdx/archive/1.8.0.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强大的抽象可以让你编写出你想要的游戏或者应用。
  Libgdx是一个Java框架,它为编写游戏和实时应用提供了一个跨平台的API。Libgdx提供了以下的功能:
  常规:
  1、 支持Windows、Linux、OSX、IOS、Android和HTML5的跨平台的开发环境。(支持64位)
  2、 基于JOGL、LWJGL、Angle,Android API函数、iOS API函数 andWebGL/HTML5 API函数的后端。
  3、 在桌面编写和测试应用,无缝的部署在Android,IOS,JavaScript,Applet,Webstart或普通桌面。
  图形:
  1、 通过OpenGL ES进行渲染。
  2、 支持JNI绑定。
  3、 底层:
  1) 顶点数组
  2) 顶点缓冲区对象
  3) 纹理
  4) 纹理地图集
  5) 易于使用、灵活的网格类
  6) 帧缓冲对象
  7) 着色器
  8) 立即模式渲染器类(用于测试)
  9) 自动处理OpenGL环境损失(纹理等)
  4、2D:
  1)批处理和精灵渲染
  2)点阵字体
  3)粒子系统
  4)TMX地图渲染
  5)操作位图的自定义2D图形库
  6)成熟的具有补间动画的二维场景图
  5、3D:
  1)高级三维
  2)OBJ和MD5模型加载器
  3)关键帧和骨骼动画
  4)投影和透视
  音频:
  1、 流媒体和音效播放(WAV、MP3、OGG)
  2、 通过一个JNI桥到KissFFT的快速傅里叶变换
  3、 音频解码
  4、 对于简单回放和录制的直接接口
  文件I/O:
  1、 抽象层
  2、 易于存储小数据
  输入:
  1、 基于事件的访问触摸屏、鼠标和键盘
  2、 访问罗盘和加速度计
  3、 Vibrator的支持
  物理:
  1、 box2d
  数学:
  1、 向量和矩阵
  2、 四元数
  3、 边界形状
  4、 交叉和重叠测试
  5、 Catmull-Rom插值
  公用:
  1、 自定义集合
  2、 排序
  3、 JSON
  Libgdx是什么:
  一个作为引擎和游戏基础的高性能,跨平台的游戏开发框架。这个框架允许我们我们专注于基础而不是游戏引擎的新的特性。它具有很棒的灵活性。
DSC0002.jpeg

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-221236-1-1.html 上篇帖子: WinRAR 5.30 简体中文正式版发布 下篇帖子: WordPress 4.4.1 安全和维护版本发布
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表