filharvey Posted December 13, 2013 Report Posted December 13, 2013 I've got an issue with some timeline keys, which is causing my animation to render wrong in my code. When my code calls keyFromRef (which is identical to yours and works on most other animations). As you can see the last key and the first key get interpolated, but there are massive differences in position and angle. This is happening because the bones in the animation get changed out. Yes probably should fix the animation and bones, but this could cause issues later. This is the video of my animation. This is the video of it in spriter. Phil Quote
lucid Posted December 14, 2013 Report Posted December 14, 2013 hi filharvey. great looking animation. Please make sure that was saved with version B6, as that has some fixes to specific cases of reparenting (including loop arounds like that). If it was, could you please send me your zipped Spriter project folder (scml or scon, and all images) to lucid@brashmonkey.com, and I'll take a look. It should be saving the extra keys/refs in there so any bone structure changes don't have to be accounted for at runtime. Quote
filharvey Posted December 14, 2013 Author Report Posted December 14, 2013 Animation is tombmonkey's. Yep, saved out with B6 and all worked 100% fine. Also just got boxes and points importing as well. Looking forward to getting skinning working. Phil Quote
lucid Posted December 14, 2013 Report Posted December 14, 2013 Excellent. Glad that fixed it. Out of curiosity, this is the StarlingAS3 implementation? Quote
filharvey Posted December 14, 2013 Author Report Posted December 14, 2013 Yes is the implentation I did a week or 2 ago. Expanding on it, and using it in a game currently. The github link is below. I'm sure there are more optimizations I can do. But all animates nicely. https://github.com/Acemobe/SpriterAS3Anim Phil Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.