HaxeFlixel / flixel-addons

Additional classes for HaxeFlixel
170 stars 139 forks source link

FlxSpine should has the same X/Y system like in original spine runtimes demos #136

Closed Partysun closed 9 years ago

Partysun commented 9 years ago

skeletonX/Y now = 0. But in official examples of spine this values are very usefull and change with X/Y position of textures. And functions like worldToLocal/localToWorld doesn't work like in official spine. Bones have coordinates in FlxSpine rect, but in official spine they have worldX/Y and local. And it's also very usefull for procedural animation. If this fix will be done, we can use official demo / examples with small changes and we can delete our "facade bicycle" :bicyclist:

Thank you. :pray:

Beeblerox commented 9 years ago

i hope i fixed it @Partysun can you test it for me?

Partysun commented 9 years ago

@Beeblerox yes, I can. From your fork?

Beeblerox commented 9 years ago

yes, my PR for spinehaxe hasn't been merged yet

Partysun commented 9 years ago

First look is ok!