OpenFL 8.0.0 发布,用 Haxe 编程语言实现的 Flash API

栏目: 软件资讯 · 发布时间: 5年前

内容简介:OpenFL 8.0.0 已正式发布,OpenFL 是一个使用 TS,Haxe 和 JS 实现的游戏和应用程序交互开发库。OpenFL 包含两个版本,第一种版本主要是使用 haxelib 分发的,并混合了对 Windows,MacOS,Linux,iOS,Android,F...

OpenFL 8.0.0 已正式发布,OpenFL 是一个使用 TS,Haxe 和 JS 实现的游戏和应用程序交互开发库。OpenFL 包含两个版本,第一种版本主要是使用 haxelib 分发的,并混合了对 Windows,MacOS,Linux,iOS,Android,Flash,HTML5 和 WebAssembly 的原生支持;另一种是使用 NPM 进行分发,并且可用于 TypeScript,JavaScript(EcmaScript 5 或 6+)或 Haxe,OpenFL 的 NPM 版本旨在用于浏览器环境。

OpenFL 8.0.0 包含大量修复和改进,详情如下:

  • Deprecated DOMSpriteOpenGLView and TileArray

  • Updated to Lime 6.3.*

  • Added DisplayObjectShaderGraphicsShaderBitmapFilterShader

  • Added graphics.drawQuads and graphics.beginShaderFill

  • Added DOMElementGraphicsQuadPath and GraphicsShaderPath

  • Added displayObject.shader and displayObject.invalidate()

  • Added support for inheritance within Shader classes

  • Added initial support for displayObject.cacheAsBitmapMatrix

  • Added missing "NetStream.Seek.Complete" event in NetStream

  • (Beta) Added RenderEvent for custom DisplayObject rendering

  • Improved the behavior of PerspectiveProjection to be more accurate

  • Improved graphics.drawTriangles to support running in OpenGL

  • Improved cacheAsBitmap to support OpenGL render-to-texture

  • Improved filters to support OpenGL shader-based filters

  • Improved Shader to support uploading of custom attributes

  • Improved Shader to support enabling or constant values

  • Improved the behavior of buttonMode on MovieClip objects

  • Improved the performance of openfl.Vector on native targets

  • Improved Shader to generate strictly-typed fields

  • Improved Graphics to upscale only (to prevent reallocation)

  • Improved updating of object transform information internally

  • Improved behavior of window focus on desktop targets

  • Improved the behavior of numpad ENTER to be more consistent

  • Improved the playback of nested MovieClip animations

  • Improved the performance of displayObject.getBounds

  • Improved the handling of inputs to beginGradientFill

  • Improved support for byteArray.readObject and writeObject

  • Fixed the return type of BitmapData.fromBytes on JS

  • Fixed missing password field in SWF-based TextField objects

  • Fixed some minor issues in colorTransform.concat

  • Fixed some incorrect values in TextField scrollV/scrollH

  • Fixed use of current defaultTextFormat when using setTextFormat

  • Fixed the behavior of restrict/maxChars to affect user input only

  • Fixed use of context.resetTransform for certain browsers

  • Fixed support for use of matrix and clipRect in bitmapData.draw

  • Fixed some issues in mask support in the OpenGL and Canvas renderers

  • Fixed a minor issue in DisplayObject event bubbling

  • Fixed initialization of socket flags if a socket is lost on IPv6

  • Fixed setting colorTransform in some MovieClip animations

  • Fixed some discrepancies in the externs for the OpenFL API

  • Fixed an additional render that occurred on some drawTriangles calls

  • Fixed performance regression in Tilemap

  • Fixed initialization of some AGAL register values

  • Fixed ignoring of up/down key events in single-line TextField objects

  • Fixed the value of textWidth/textHeight when not type INPUT

  • Fixed use of cacheAsBitmap on TextField objects

  • Fixed support for transparent backend in OpenFL preloader class

  • Fixed possible errors in HTML parser on text with invalid HTML

  • Fixed incorrect bounds when rendering SimpleButton on canvas

  • Fixed JPEG2 and JPEG3 tag parsing in older SWF versions

  • Fixed support for graphics.drawRect with negative coordinates

  • Fixed an issue where EOF on sockets could close the socket prematurely

  • Fixed concatenation of two empty openfl.Vector objects

更多更新说明请查看:https://github.com/openfl/openfl/blob/develop/CHANGELOG.md#800-03042018  
源码下载:https://github.com/openfl/openfl/releases/tag/8.0.0


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《OpenFL 8.0.0 发布,用 Haxe 编程语言实现的 Flash API》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

鳥哥的Linux私房菜(第四版)

鳥哥的Linux私房菜(第四版)

鳥哥 / 碁峰資訊股份有限公司 / 2016-1-25 / TWD 980.00

本書前三版均蟬聯電腦專業書籍Linux暢銷排行榜Top1,為地表最暢銷的Linux中文書籍! 您是有意學習Linux的小菜鳥,卻不知如何下手?您是遨遊Linux的老鳥,想要一本資料豐富的工具書?本書絕對是最佳選擇! ※鳥哥傾囊相授,內容由淺入深 書中包含了鳥哥從完全不懂Linux到現在的所有歷程,鳥哥將這幾年來的所知所學傾囊相授,以最淺顯易懂的文字帶領您進入Linux的世界。 ......一起来看看 《鳥哥的Linux私房菜(第四版)》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

随机密码生成器
随机密码生成器

多种字符组合密码