Have any way to create the frames repeated like this, above:
character = new createjs.SpriteSheet({
images: [img],
frames: {width: frameW, height: frameH, regX: frameW/2, regY: frameH/2},
animations: { run: [0,9, "run"],
hit: [10,10,11,11,12,12,13,13,14,14,15,15, "idle"],
jmp: [18,22, "idle_jmp"],
idle_jmp: [22],
idle: [2]
}
});
Repeating each frame on hit twice, to simulate lower FPS just on hit action heappens!