Hey guys I have been running into this error (incorrect number of frames(w,h)=610,410 when I try to make the sprite the right size.I got it to load when I used the sizes of 205 and 305 but it would not display the whole image. I will attach the sprite sheet below.
Thanks again , Tyler
local options = { width = 610, height = 410, numFrames = 2 } local aligatorsheet = graphics.newImageSheet( "idlesprite.png", options ) local sequenceData={ {name="idleground",start=1,count=1,time=0,loopCount=1}, {name="air",start=1,count=2,time=100,loopCount=1} } local square = display.newSprite( aligatorsheet, sequenceData ) square.x = 75 square.y = 15