OpenFL 9.3.3 and Lime 8.1.2 Release

Hey, everyone!

Grab the newest patch releases for both OpenFL and Lime from Haxelib to get the latest bug fixes.

Changelog

OpenFL

  • Disabled useWeakReference support for addEventListener() on cpp target due to incompatibilities (but it is still enabled on html5 target)
  • Fixed possibility of setting scrollH and scrollV outside of allowed range
  • Fixed vector graphics rendering incorrectly when scale9Grid is set, and added openfl_force_gl_cacheasbitmap_for_scale9grid define to re-enable the old behavior
  • Fixed socket connect timeout being ignored in some situations
  • Fixed DeviceRotation and Geolocation classes not found when targeting AIR
  • Fixed crash when using compressed texture with Tilemap
  • Fixed crash when highlighting text with ligatures
  • Fixed exception on URL encoding when non-string value passed to URLVariables
  • Fixed missing separator between directory and file in result of File.getDirectoryListingAsync()
  • Fixed certain classes being exposed to flash target, when they should be available in the air target only
  • Fixed --macro include("openfl") when targeting flash or air
  • Fixed compilation of FileReference on non-sys desktop targets
  • Fixed ByteArray incompatibility with haxe.io.Bytes

Lime

  • Fixed error handling when failing to get joystick information in html5.
  • Fixed error handling when creating openfl alias on Linux.
  • Fixed error handling when getting information about Haxelibs.
  • Fixed error when loading fonts in HL.
  • Fixed error when loading grouped music/sound assets.
  • Fixed errors when building on Apple Silicon without Rosetta.
  • Fixed assets not being loaded when using nested asset tags (e.g., <assets path="assets"> <image path="MyImage.png" /> </assets>).
  • Fixed VC runtime potentially not being bundled into HL apps built on Windows.
  • Fixed error in AssetsMacro when building with Haxe 4.3.4 or newer.
  • Fixed crash on iOS during network operations.
  • Updated howler.js to 2.2.3.
  • Removed ARMv7 architecture from Android default architectures.
  • Removed deprecated ARMv7 architecture from iOS default architectures.
16 Likes

Wow cool! Thanks!!!
:heart: :heart: :heart:
Will test the Android build now :)))

@joshtynjala the Android build didn’t work for me :frowning:

Update Switching back to HAXE 4.2.5 and hxcpp 4.2.1 allowed to build a working APK

I built PiratePig from OpenFL samples haxe lib (https://lib.haxe.org/p/openfl-samples/)
The build was successful, but the resulting APK crashes on launch

My build set up is as follows:
Haxe 4.3.4
NDK 21.4.7075529
Java: OpenJDK 11.0.2
hxcpp 4.3.2
Lime 8.1.2
OpenFL 9.3.3

Any suggestions? :slight_smile:

Checked the previous discussions, looks like it’s not supposed to work until Lime is 8.2.+. Is it? :slight_smile:

…indeed, switching back to HAXE 4.2.5 and hxcpp 4.2.1 allowed to build a stable APK

SDL Error
An error occurred while trying to start the application. Please try again and/or reinstall.
Error: dlopen failed: cannot locate symbol “__atomic_compare_exchange_4” referenced by “/data/app/org.openfl.samples.piratepig-BgzsbLgcUjNKy7Hr5k-Fvg==/lib/arm/libApplicationMain.so” …

Using the older Android NDK r15c may also resolve the __atomic_compare_exchange_4 issue.

EDIT: The __atomic_compare_exchange_4 issue can be resolved while using newer NDKs by updating to a newer hxcpp than 4.3.2. I was able to successfully build with both NDK 21.4.7075529 and NDK 25.2.9519653. At the time I am writing this, the hxcpp fix hasn’t yet been released to Haxelib, and you need to use hxcpp from GitHub. Details in this post from another thread:

1 Like

Thanks for all your hard work Josh and team!

2 Likes

I have a problem with howler.js v2.2.3 (
I write to Issues · goldfire/howler.js · GitHub but seems the project is in inactive state.
As it is a big part of lime/openfl (html audio subsystem) may anyone became a contributor for it?)

I replace with v2.2.1. It is not a problem of lime/openfl.

Big thanks to @joshtynjala and everyone involved for maintaining OpenFL and Lime.

1 Like

Big thank you for your hard work! :heart_eyes: :heart:

1 Like