bendmorris / spinehaxe

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

RegionAttachment has no field getVertices #2

Closed ehudros closed 10 years ago

ehudros commented 10 years ago

Hey, I'm trying SpineHaxe and getting this error: src/spinehaxe/platform/nme/renderers/SkeletonRenderer.hx:80: characters 19-47 : spinehaxe.attachments.RegionAttachment has no field getVertices

Am I missing something? This is from the master trunk.

Thanks :)

bendmorris commented 10 years ago

It looks like SkeletonRenderer has gotten out of sync with the rest of the project, so I'm updating it now and will add a sample.

SpinePunk might also be of help. It's a renderer for HaxePunk, but with a little modification to remove the HaxePunk-specific parts it should run in OpenFL: https://github.com/bendmorris/SpinePunk

bendmorris commented 10 years ago

This should be working now. I've created a sample in the samples/ directory - if you run openfl test (neko/cpp/html5/flash/etc.) from that directory, you should see a working demo. Please let me know if anything is still not working correctly.

ehudros commented 10 years ago

Works well, but there are still some compilation errors in the Debug Renderer (of the same sort, just need to replace the "get" style methods with direct access to members.

bendmorris commented 10 years ago

This has been fixed as well.