bikasx
May 29, 2015, 4:23pm
#1
Basically Main.hx is created 3 times at startup on Window, Debug target. Flash target works fine. Didn’t happen with OpenFL 2.2.8.
Also calling Assets.exists(“myasset”) returns false on first time, however returns true on second and third times.
Anyone has any ideas?
bikasx
May 29, 2015, 5:00pm
#2
Never-mind, hacked around the issue to test the project:
Bitmap generation from SWF is broken.
16fps instead of 60fps.
“Could not initialize FreeType”.
Buttons not working.
"Graphics.lineBitmapStyle is not implemented."
gg.
I guess it’s far from done.
Will go back to 2.2.8, it’s been pretty good so far.
bikasx
May 29, 2015, 5:21pm
#3
So… how do i exactly run “haxelib run openfl setup” to force OpenFL 2.2.8 setup with lime 2.2.2 and not latest version?
bikasx
May 29, 2015, 9:21pm
#4
Double nevermind. I didn’t revert swf library. openfl 2.2.8 + lime 2.2.2 + swf 1.8.2 = win.
Were you using the latest everything (and if so, what version) and what platform were you targeting?
If it did not behave as expected, does adding -Dlegacy help?
bikasx
June 1, 2015, 7:55pm
#6
I used Haxe Library Manager 3.1.0-rc.4. Installed newest OpenFL 3.0.6 and ran haxelib run openfl setup, which installed latest libraries (probably). Didn’t try “-Dlegacy” though. I know this doesn’t help much, however i have to complete 60fps mobile game demo pretty soon, so i have to stick with performance, stability and predictability and OpenFL 2.2.8 seems to deliver it
OpenFL 3.x with -Dlegacy uses the OpenFL 2.x codebase