I just started using craftyjs and ran into a problem.
I have a sprite sheet that has two lines for the same animation. The top row is 4, the bottom is 3.
I can’t figure out how to make him play through all 7 images. I can make him play through one line or another, but not through all.
This is the main function that I have. Check out the comment section. I can make it work fine if I explicitly set each frame. This is not so bad for this, since I only have 7 of them .... but I also have some that have 100+!
function talk(){
var talker = Crafty.e('2D, Canvas, talk_start, SpriteAnimation');
talker.reel('talk', 1000, 0, 0, 6);
talker.animate('talk', -1);
}
Is there a way to do this through all the lines on the sprite sheet without having to manually create frames?
Thanks in advance!