1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Phaser 3.2.0 Kaori 发布,优秀的 HTML5 游戏框架 下载

本帖由 漂亮的石头2018-03-10 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    488,399
    赞:
    48
    Phaser 3.2.0 Kaori 发布。Phaser 是一款非常优秀的 HTML5 游戏框架,致力于发展 PC 端和移动端的 HTML5 游戏,是一款不可多得的神器。基于 Pixi.js,支持桌面和移动 Web 浏览器。游戏可以通过第三方工具编译成 iOS、Android 和原生桌面应用。 可使用 JavaScript 或 TypeScript 进行开发。

    更新内容:

    新功能:


    • The new Render Texture Game Object is now available. You can clear, fill and draw texture frames to it. The Render Texture itself can be displayed in-game with its own transform, or you can use it as a Bitmap Mask for another Game Object.


    • Game.resize allows you to resize the game config, renderer and input system in one call.


    • When Game.resize is called it causes all Scene.Systems to have their resize method called. This is turn emits a resize event which your Scene can respond to. It will be sent the new width and height of the canvas as the only two parameters.


    • InputManager.resize allows you to update the bounds def and input scale in one call.


    • Game.Config.roundPixels property added to prevent sub-pixel interpolation during rendering of Game Objects in WebGL and Canvas.
    Bug 修复


    • Arcade Physics Bodies didn't apply the results of allowRotation to the parent Game Object.


    • InputManager.updateBounds wouldn't correctly get the bounds of the canvas if it had horizontal or vertical translation in the page, causing the scale factor to be off (and subsequently input values to mis-fire)


    • TileSprite.setFrame now works and allows you to change the frame to any other in the texture. Fix #3232 (thanks @Jerenaux)


    • Swapped the queue loop in the SceneManager to to use _queue.length rather than a cached length (thanks @srobertson421)


    • When calling ScenePlugin.launch the data argument is now passed to the queued scenes (thanks @gaudeon)

    下载地址:


    完整更新内容请查看发布主页
    Phaser 3.2.0 Kaori 发布,优秀的 HTML5 游戏框架下载地址
     
正在加载...