Closed Micha0 closed 8 years ago
Sorry for the delay. You are correct, awe6 should run on all OpenFL supported platforms.
I followed this bug to a recent issue on OpenFL: https://github.com/openfl/openfl/issues/673
OpenFL's change of TextFormat.size from Float to Int will have created this problem on awe6 (and wherever else OpenFL's TextFormat was used with Floats). Edit: I've added some comments to OpenFL's issue tracker on the topic, it's a grey topic and I wouldn't expect them to revert.
Ahead of my rolling out a minor release for awe6 to correct this, you can patch your copy of awe6.extras.gui.Text line 155 to:
_textFormat.size = Math.round( textStyle.size );
Thanks! Worked like a charm ;-)
Re-opening until fix is released to Haxelib (to prevent duplicates).
Fix included in latest haxelib version
After I was successfully able to run several HaxeFlixel demos, I decided to give awe6 a go. Because, you know, TNBT and all.. I followed the installation instructions for mac:
Check if it got installed:
Neat. Creating a project:
Nice. So, without any modification I try to run the project, but I get compile errors:
I get the exact same error with the
hcpp
target. But when I try theflash
target everything seems to work as expected. Am I missing something? An Awe6/OpenFL project should run on all OpenFL supported platforms, right?Thanks!