We are happy to share the newest and greatest version of NME so far, NME 3.4.1.
Here are some of the highlights:
- Added initial support for Apache Cordova
- Added initial support for Adobe AIR
- Added initial support for BlackBerry OS (HTML5)
- Improved trace consistency for native platforms
- Improved HTML5 rendering to use CSS3 transforms
- Added noise(), getBounds() and getRect() for native targets
- NME is now an extension (more on that in a moment)
- Added stage FOCUS_IN and FOCUS_Out events
- Fixed URLLoader for BlackBerry
- Fixed the build and launch process for some OS X systems
- Added unit tests for bitmaps, display objects and graphics
We are evolving the command-line tools in NME to make the NME framework optional. It may seem like a strange idea, but we found that we missed the simplicity of the NME build process when working on web projects or when migrating projects for AIR.
NME 3.4.1 introduces beta support for Apache Cordova and Adobe AIR publishing. They can be accessed by specifying a target like normal, but adding either “-html5” or “-air” when building.
One of the things we enjoy most about Haxe and NME are the options they provide. With your help, we will continue to improve our support of these new packaging options, so you can decide whether you would prefer to deploy your applications using C++, Flash or HTML5, and to which platform.
Cordova builds have been tested on iOS, Android and BlackBerry, and AIR builds have been tested for the desktop. It now is possible to deploy NME applications to BlackBerry OS 6 and 7, using HTML5. We continue to support native builds for the BlackBerry PlayBook and upcoming BlackBerry 10 platform.
As strange as it may sound, we have updated NME so that it behaves like a native extension. This means that including
<haxelib name="nme" /> in your project is all that is necessary to include the boilerplate native binaries.
We are in the process of writing unit tests to ensure the stability of NME across all of the supported platforms. In the future we hope to provide you with detailed feature support tables, updated directly from the results of our tests.
There are many more changes in this release. Feel free to view them all at: