手机版
你好,游客 登录 注册
背景:
阅读新闻

Phaser 2.2.2 发布,开源的HTML5 2D游戏开发框架

[日期:2015-01-12] 来源:Linux公社  作者:Phaser [字体:大 中 小]

作为年度开端的一部分,Phaser 刚刚推出了2.2.2版本,带来了大量的升级和bug修复。Phaser是一个用于开发桌面和移动浏览器HTML5游戏,有趣、开源、快速的2D游戏制作框架,同时还提供了使用Pixi.js实现的2D画布和WebGL渲染功能。

Phaser

特新:

  • Phaser.Loader now supports BLOB urls for audio files (thanks @aressler38 #1462)
  • Line.reflect will calculate the reflected, or outgoing angle of two lines. This can be used for Body vs. Line collision responses and rebounds.
  • Line.normalAngle gets the angle of the line normal in radians.
  • Line.normalX and Line.normalY contain the x and y components of the left-hand normal of the line.
  • Line.fromAngle will sets this line to start at the given x and y coordinates and for the segment to extend at angle for the given length.
  • BitmapData.drawGroup draws the immediate children of a Phaser.Group to a BitmapData.
  • See Change Log for details

除了IE 9+、Firefox、Chrome、Safari及Opera等桌面浏览器之外,Phaser还支持Mobile Chrome(Android 2.2+)及Mobile Safari(iOS 5+)等移动浏览器。使用Phaser进行游戏开发没有任何语言设定,并且,在Phaser官网上,还提供了非常详细的开发指南,想要一探究竟的开发者不妨直接登陆Phaser查看。

Phaser 2.2.2 下载传送门– Github

Linux公社原创翻译频道:http://www.linuxidc.com/topicnews.aspx?tid=15

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-01/111653.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款