Direct comparison of medium sized game Flash/AS3 vs. OpenFL/Haxe + Issues

Hi,

I did a new clone and a “openfl rebuild mac” according to the documentation you provided a few weeks ago. I will try again with “openfl rebuild mac -clean”.

Many thanx and

Best regards
Andreas

Oh, if its a new clone, then no need, it will be a clean build anyway

Do you think the mispositioned graphics was an issue in changes to OpenFL, or actually something in SDL and Lime? You can probably tell if you also test HTML5 or another target as well

1 Like

Hi,

I just made a web build. This one looks good. I do not know exactly about your compilation or library pipeline but I made a build with dev lime and web build looks ok.

Many thanx and

Best regards
Andreas

Hi,

I just tried to make a iOS build. My iPad is currently the “iPad Air 2 A1566 (WLAN) A1567 (WLAN + Mobil)”. So @singmajesty found out we have to build for armv6.

Lime needs to be rebuild to support that using “lime rebuild ios -armv6”

Last step was to add “<architecture name=“armv6” />” to project.xml
Btw. this one “<architecture name=“armv6” exclude=“armv7” if=“ios” />” is not working as expected as build still happens for armv7.

Unfortunalty when linking everything together I get the following message:

Undefined symbols for architecture armv6:
  "___isOSVersionAtLeast", referenced from:
      _SDL_HideHomeIndicatorHintChanged in liblime.a(9f8f8045_SDL_uikitviewcontroller.o)
      _UIKit_ShowMessageBox in liblime.a(9f8f8045_SDL_uikitmessagebox.o)
ld: symbol(s) not found for architecture armv6

Does anyone has an idea how to fix that?

Many thanx and

Best regards
Andreas

What version of Lime, and what version of Xcode are you using?

It sounds like a newer compiler might fix it?

Hi,

I updated everything and now it just does not build for armv6 anymore no matter what I do.
Please see my lib/compiler versions.

Andreass-MBP:pirates_code_hx andreas$ haxelib list
actuate: [1.8.7]
box2d: [1.2.3]
extension-iap: [dev:/Users/andreas/Development/pixelracoons/extension-iap]
format: [3.4.1]
haxelib: [3.3.0]
hxcpp-debug-server: [dev:/Users/andreas/.vscode/extensions/vshaxe.hxcpp-debugger-1.1.1/hxcpp-debug-server]
hxcpp: 3.4.64 3.4.188 4.0.4 [4.0.8]
hxp: [1.0.5]
layout: [1.2.1]
lime-samples: 4.0.1 [6.2.0]
lime: 5.5.0 5.6.0 5.7.0 5.8.2 6.0.1 6.2.0 6.3.1 6.4.0 7.0.0 7.1.1 7.2.0 7.2.1 [dev:/Users/andreas/Development/pixelracoons/lime(7.2.1 from GIT)]
openfl-samples: [6.0.0]
openfl: 6.1.2 6.2.0 6.2.1 6.5.0 7.0.0 7.1.2 8.0.2 8.2.2 8.4.1 8.5.1 8.6.4 8.7.0 [8.8.0]
Andreass-MBP:pirates_code_hx andreas$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Andreass-MBP:pirates_code_hx andreas$

I also updated Xcode to 10.1.

I have no idea currently. Any help is highly appreciated.

Many thanx and

Best regards
Andreas

Could you try lime rebuild ios -clean -armv6 then lime update ios -xcode Then hit the run button from Xcode?

Hi,

this works for “IPAD 2 Simulator” and my native iPAD2. Hmm. Whats going wrong then with “openfl build …”?

But its very slow. Much slower than Android. Any ideas about performance?

Many thanx and

Best regards
Andreas

Hmm,

speed is maybe not good due to debug configuration(this was the default). If I switch to release configuration in Xcode I have this linker error again, while building debug configuration does work.

This is strange. Any ideas?

Many thanx and

Best regards
Andreas

What about creating a different topic for each type of issue ?
It’s quite hard to look for information in this huge page, and the discussion is now pretty far from the initial subject…

Would this alone improve performance?

“lime update project_game_mobile.xml ios -release -Xcode”

Hi tour1st,

well its the “history” and “struggle” of porting a medium sized(like several mega bytes big) browser game from Flash/AS3 to OpenFL/Haxe.
Its may be interesting to have every issue and such I had at one place.

Just my 2 cent.

Many thanx and

Best regards
Andreas

Not really, you are not the only one to port games, and report issues about it.

Tell me something new :slight_smile:

Are there any forum guides that explicitely state how to proceed in this case?
I thing the forum software is really good, so at least there is technically no reason to have a single post per issue.