I get the following error message when working with the “FRAMES Sequence” animation for the new image sheet.
– I should not receive this error because I have 75 frames in my sheet and I never access that many frames.
Anyone seen this issue or found a problem?
WARNING: Sequence (running) has an invalid index (0) that falls outside the range of valid image sheet frame indices: 1 <= index <= 75.
local myImageSheet = graphics.newImageSheet( "myLittleSprite.png", sheetInfo:getSheet() )
local sequenceData =
{
{ name="walking", start=1, count=5},
{ name="running", frames={ 3, 4, 5, 6, 7, 8, 10}, time=150, loopCount=4 },
{ name="jumping", start=9, count=13, time=300 }
}
local character = display.newSprite( myImageSheet, sequenceData )
character.x = 500; character.y=500;
character:setSequence( "running" )
character:play()
Thanks in advance Larry
DoubleSlashDesign.com
[import]uid: 11860 topic_id: 28915 reply_id: 328915[/import]

[import]uid: 52491 topic_id: 28915 reply_id: 116521[/import]