红联Linux门户
Linux帮助

Phaser 2.4.1发布,HTML5游戏开发框架

发布时间:2015-07-27 09:21:24来源:红联作者:empast
Phaser 2.4.1 "Ionin Spring" 发布,此版本是一个小版本,包括一些 Creature 运行时更新和一些缓存问题修复。同时还修改了 Grunt 构建脚本,所以所有的第三方库 (such as Creature, P2, gl-matrix and PIXI) 可以很好的与 Phaser 运行。

详细更新内容:

更新

The Creature Runtimes have been updated to the latest versions and the Phaser.Creature class updated to use them.

GameObjectFactory.creature is a new method to help with quick Creature animation object creation.

Cache.getPixiTexture will now search the image cache if it couldn't find a texture in the PIXI.TextureCache global array, if it finds a matching image in the image cache then it returns a new PIXI.Texture based on it.

Cache.getPixiBaseTexture will now search the image cache if it couldn't find a BaseTexture in the PIXI.BaseTextureCache global array.

Bug 修复

Fixed Cache.getKeys to use the _cacheMap (thanks @jamesgroat #1929)

Safari on OSX wouldn't recognise button presses on trackpads (thanks JakeCake)

Cache.removeImage now calls destroy on the image BaseTexture, removing it from the PIXI global caches without throwing a warning.

Phaser 是一个开源的桌面和移动 HTML5 2D 游戏开发框架,支持 JavaScript 和 TypeScript。

下载地址:https://github.com/photonstorm/phaser/archive/v2.4.1.zip

来自:开源中国社区
文章评论

共有 0 条评论