I see. Your topic title and explanation wasn't exactly clear.
In CC this worked by having angles for all the animations, which seems to be missing in C2. So my idea was to just have the animation frame correspond to angle and then you could animate it using events.
So far, so good - we decide to have, say 16 directions, which gives us 360/16 = 22.5 degree increments, thus our animation frame is round(Sprite.Angle/22.5).
And it works, BUT C2 seems to lack a great option from CC, which is the option to not turn the sprite when the angle changes (maybe I'm just missing something).
So what we currently have is the animation is being set correctly, but the object also rotates by itself, so it doesn't look right. Anyhow, the demo is here
If Ash implements NOT turning the sprite on angle changes we are good to go.
Edit: Lock animation angle
is the option from CC that C2 really needs.Somebody2011-11-07 21:50:08