内容简介: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
DOMSprite,OpenGLViewandTileArrayUpdated to Lime 6.3.*
Added
DisplayObjectShader,GraphicsShader,BitmapFilterShaderAdded
graphics.drawQuadsandgraphics.beginShaderFillAdded
DOMElement,GraphicsQuadPathandGraphicsShaderPathAdded
displayObject.shaderanddisplayObject.invalidate()Added support for inheritance within
ShaderclassesAdded initial support for
displayObject.cacheAsBitmapMatrixAdded missing "NetStream.Seek.Complete" event in
NetStream(Beta) Added
RenderEventfor customDisplayObjectrenderingImproved the behavior of
PerspectiveProjectionto be more accurateImproved
graphics.drawTrianglesto support running in OpenGLImproved
cacheAsBitmapto support OpenGL render-to-textureImproved filters to support OpenGL shader-based filters
Improved
Shaderto support uploading of custom attributesImproved
Shaderto support enabling or constant valuesImproved the behavior of
buttonModeonMovieClipobjectsImproved the performance of
openfl.Vectoron native targetsImproved
Shaderto generate strictly-typed fieldsImproved
Graphicsto 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
ENTERto be more consistentImproved the playback of nested
MovieClipanimationsImproved the performance of
displayObject.getBoundsImproved the handling of inputs to
beginGradientFillImproved support for
byteArray.readObjectandwriteObjectFixed the return type of
BitmapData.fromByteson JSFixed missing
passwordfield in SWF-basedTextFieldobjectsFixed some minor issues in
colorTransform.concatFixed some incorrect values in
TextFieldscrollV/scrollHFixed use of current
defaultTextFormatwhen usingsetTextFormatFixed the behavior of
restrict/maxCharsto affect user input onlyFixed use of
context.resetTransformfor certain browsersFixed support for use of
matrixandclipRectinbitmapData.drawFixed some issues in mask support in the OpenGL and Canvas renderers
Fixed a minor issue in
DisplayObjectevent bubblingFixed initialization of socket flags if a socket is lost on IPv6
Fixed setting
colorTransformin someMovieClipanimationsFixed some discrepancies in the externs for the OpenFL API
Fixed an additional render that occurred on some
drawTrianglescallsFixed performance regression in
TilemapFixed initialization of some AGAL register values
Fixed ignoring of up/down key events in single-line
TextFieldobjectsFixed the value of
textWidth/textHeightwhen not typeINPUTFixed use of
cacheAsBitmaponTextFieldobjectsFixed support for transparent backend in OpenFL preloader class
Fixed possible errors in HTML parser on text with invalid HTML
Fixed incorrect bounds when rendering
SimpleButtonon canvasFixed JPEG2 and JPEG3 tag parsing in older SWF versions
Fixed support for
graphics.drawRectwith negative coordinatesFixed an issue where EOF on sockets could close the socket prematurely
Fixed concatenation of two empty
openfl.Vectorobjects
更多更新说明请查看: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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
21天学通C语言
(美国)琼斯(Bradley L.Jones) (美国)埃特肯(Peter Aitken) / 信达工作室 / 人民邮电出版社 / 2012-8 / 69.00元
《21天学通C语言(第6版•修订版)》是初学者学习C语言的经典教程。本版按最新的标准(ISO∕IEC:9899-1999),以循序渐进的方式介绍了C语言编程方面知识,并提供了丰富的实例和大量的练习。通过学习实例,并将所学的知识用于完成练习,读者将逐步了解、熟悉并精通C语言。《21天学通C语言(第6版•修订版)》包括四周的课程。第一周的课程介绍了C语言程序的基本元素,包括变量、常量、语句、表达式、函......一起来看看 《21天学通C语言》 这本书的介绍吧!