Open drkibitz opened 11 years ago
I should also mention I am running Haxe 3.0.1, Neko 2.0.0, Mac OS 10.8.5.
And probably more importantly, the dev versions of hxcpp, nme, openfl, openfl-native, openfl-tools
Might be a compatibility change in the latest one of those libs :/
You also might notice that the screen shot is not a build directly from the test project, but I can confirm that the same thing happens there.
Ok I double checked by running this example https://github.com/jgranick/nme-bunnymark TileTest.hx does work when targeting neko on the same environment, so I'm leaning more toward that the issue is somewhere in tilelayer.
I may have found the issue, still debugging though. This https://github.com/matthewswallace/openfl-tilelayer/blob/master/haxelib/aze/display/TileLayer.hx#L96 line fails on Neko. A failed cast does not result in null
on Neko.
Yep that was it, do you want a pull request for a one line fix? Just change this line https://github.com/matthewswallace/openfl-tilelayer/blob/master/haxelib/aze/display/TileLayer.hx#L93 to:
#if (flash||js||neko)
This is with the latest from github (sorry for not checking before my last issue).