I have a sprite sheet that is 128 x 128 with 16 frames in it. The last frame on each line is blank.
Below is my code for sequence data:
local sequenceData =
{
{name="boydown", frames={1,2,3}, time=200},
{name="boyleft", frames={5,6,7}, time=200},
{name="boyright", frames={9,10,11}, time=200},
{name="boyup", frames={13,14,15}, time=200}
}
When I run my program I get this error in the Corona console:
WARNING: Sequence has an invalid index <0> that falls outside the range of valid image sheet frame indices: 1 <= index <= 16.
However this is not the only issue I am getting. Secondly, all the animations play the same sequence, frames 1,2 and 3 even though they are clearly defined correctly in my sequence data. I believe my code is correct and this is actually a bug. Thoughts? [import]uid: 156813 topic_id: 27868 reply_id: 327868[/import]