Today, we are announcing the OpenFL 1.1 beta, available now.

The team has been hard at work preparing for the next release, and now it is time to share with you some of the progress we have made towards the next iteration of OpenFL.

New Windowing

The next version of OpenFL includes SDL 2 as a significant upgrade over the SDL 1.2 backend we used before. SDL handles the creation of windows, resizing, input events (such as mice, multi-touch, game controllers, keyboards) and other fundamental components to running on the desktop. This new version should improve the experience for desktop platforms, especially for Mac OS X, which resizes more smoothly and now has full support for 64-bit systems.

In addition to other hidden improvements in SDL 2, the OpenGL hardware context is now retained when resizing a window, or toggling fullscreen. If you are a developer using the OpenGLView API, this should be a welcome change.

Since SDL is a cornerstone to our support for Windows, Mac and Linux, we encourage you to report any feedback that you may find, particularly testing against older or more unusual systems, so we can be sure that we have not introduced any unwanted regressions by making this change.

New Audio

We are also introducing support for OpenAL audio on Windows, Mac, Linux and Android. We have found OpenAL to be much more resilient in testing, compared to SDL_mixer we used in the past for desktop platforms. OpenAL on Android should automatically use either lower-level Android sound APIs or OpenSL ES, depending on the version of Android. We have great expectations for continued improvements in the sound space.

This beta release does not streaming audio support, which should be available for the final release of OpenFL 1.1. The beta release will sounds into memory before playing. We are also interested in your feedback, comparing this new audio backend to your previous experiences, as well as any constructive input you have.

We are discontinuing support for the MP3 audio format (for more information, please visit To MP3, or not to MP3?)

Improved Assets

You can read more about the improved asset library, here.

iOS 7 and Xcode 5 Support

OpenFL 1.1 offers improved support for iOS, including the new iOS 7.0 release and the Xcode 5 developer tools. In order to take advantage of the new Xcode, you will need to install a beta version of HXCPP as well.

By default, OpenFL will now generate launch images for you automatically, to take advantage of the full resolution of the iPhone 5. The developer tools will also handle the new iOS 7.0 icon sizes as well. If you would prefer to use your own launch images, you may do so with the "splashScreen" tag in your project file:

<splashScreen path="to/image.png" width="1024" height="768" />

We have made improvements to the deployment for iOS simulators and devices, and have added support for customize the code sign identity for your project. You may do this using a "certificate" tag in your project file:

<certificate identity="iPhone Distribution" if="ios" />

You may control the visibility of the iOS 7.0 status bar, using the "fullscreen" property of the "window" tag in your project file. The default is true for mobile platforms, but you can set it to false if you prefer to include it in your application:

<window fullscreen="false" if="ios" />

ARMv7 Support for Android

This beta release defaults to ARMv7 support on Android, instead of the older ARMv5 standard. Google does not release official statistics on the processor architecture of Android devices, but based on available information, we feel it may be time to take advantage of the minor but measurable performance boost of targeting a modern architecture.

If you would like to compile ARMv5 binaries for Android (which are compatible with ARMv6 and newer devices as well), you may add an "architecture" tag to your project:

<architecture name="armv5" if="android" />

...and more

There are too many improvements for us to list them all in one post. We are excited about this significant release, and continue to look forward to working together to create new and exciting content!

Installation

You can download the following beta versions of OpenFL libraries, here:

After you have downloaded the ZIP packages, run:

haxelib local openfl-1.1.0-beta.zip
haxelib local openfl-tools-1.1.0-beta.zip
haxelib local openfl-native-1.1.0-beta.zip
haxelib local openfl-html5-1.1.0-beta.zip
haxelib local hxcpp-3.0.3-beta.zip

Be aware, that if you are using a development version of any of these libraries, you may need to run "haxelib dev (name of library)" to disable your development directory, or you may choose to update and rebuild whichever component you are using from the source.

Feedback

We welcome your feedback, and look forward to the final release!

September 25, 2013 | View Comments
comments powered by Disqus