bendmorris / spinehaxe

Spine runtime for Haxe 3. Based on current AS3/libgdx runtimes.
Other
64 stars 28 forks source link

Fix RegionAttachment compilation with Haxe 4, closes #33 #34

Closed Gama11 closed 5 years ago

Gama11 commented 5 years ago

This is obviously not backwards compatible, but at least makes things compile with Haxe 4 for now. Not sure if you'd want to emulate the functionality long-term like OpenFL did in some cases, but that strikes me as quite ugly.

I've made sure Flixel doesn't rely on this any longer, leads to nicer code anyway: https://github.com/HaxeFlixel/flixel-addons/commit/a882febcc59ba1e0a2b2a501f1bc7856a064c596?w=1