The open source media framework for the Haxe language OpenFL just released version 8.0.0. The framework also released several fixes and improvements especially in shader support.
Details from the release notes:
- Deprecated
DOMSprite,OpenGLViewandTileArray - Updated to Lime 6.3.*
- Added
DisplayObjectShader,GraphicsShader,BitmapFilterShader - Added
graphics.drawQuadsandgraphics.beginShaderFill - Added
DOMElement,GraphicsQuadPathandGraphicsShaderPath - Added
displayObject.shaderanddisplayObject.invalidate() - Added support for inheritance within
Shaderclasses - Added initial support for
displayObject.cacheAsBitmapMatrix - Added missing “NetStream.Seek.Complete” event in
NetStream - (Beta) Added
RenderEventfor customDisplayObjectrendering - Improved the behavior of
PerspectiveProjectionto be more accurate - Improved
graphics.drawTrianglesto support running in OpenGL - Improved
cacheAsBitmapto support OpenGL render-to-texture - Improved filters to support OpenGL shader-based filters
- Improved
Shaderto support uploading of custom attributes - Improved
Shaderto support enabling or constant values - Improved the behavior of
buttonModeonMovieClipobjects - Improved the performance of
openfl.Vectoron native targets - Improved
Shaderto generate strictly-typed fields - Improved
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 consistent - Improved the playback of nested
MovieClipanimations - Improved the performance of
displayObject.getBounds - Improved the handling of inputs to
beginGradientFill - Improved support for
byteArray.readObjectandwriteObject - Fixed the return type of
BitmapData.fromByteson JS - Fixed missing
passwordfield in SWF-basedTextFieldobjects - Fixed some minor issues in
colorTransform.concat - Fixed some incorrect values in
TextFieldscrollV/scrollH - Fixed use of current
defaultTextFormatwhen usingsetTextFormat - Fixed the behavior of
restrict/maxCharsto affect user input only - Fixed use of
context.resetTransformfor certain browsers - Fixed support for use of
matrixandclipRectinbitmapData.draw - Fixed some issues in mask support in the OpenGL and Canvas renderers
- Fixed a minor issue in
DisplayObjectevent bubbling - Fixed initialization of socket flags if a socket is lost on IPv6
- Fixed setting
colorTransformin someMovieClipanimations - Fixed some discrepancies in the externs for the OpenFL API
- Fixed an additional render that occurred on some
drawTrianglescalls - Fixed performance regression in
Tilemap - Fixed initialization of some AGAL register values
- Fixed ignoring of up/down key events in single-line
TextFieldobjects - Fixed the value of
textWidth/textHeightwhen not typeINPUT - Fixed use of
cacheAsBitmaponTextFieldobjects - 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
SimpleButtonon canvas - Fixed JPEG2 and JPEG3 tag parsing in older SWF versions
- Fixed support for
graphics.drawRectwith negative coordinates - Fixed an issue where EOF on sockets could close the socket prematurely
- Fixed concatenation of two empty
openfl.Vectorobjects
You can install the Haxelib command:
haxelib install openfl haxelib run openfl setup
If you have problems with the installation be sure to check out the following page.
