It works, it’s just some of the images a scaled wrong. If I load the images one at a time with no spriteSheet it works perfectly –
What the heck am I doing wrong?
MenuScene.spineSheetInfo = require( "cindersstep" ) MenuScene.spineSpriteSheet = graphics.newImageSheet( "cindersstep.png", MenuScene.spineSheetInfo:getSheet() ) MenuScene.skeletonData = json:readSkeletonDataFile("cindersstep.json") MenuScene.skeleton = spine.Skeleton.new( MenuScene.skeletonData) function MenuScene.skeleton:createImage (attachment ) -- Customize where images are loaded. local attachment\_name = attachment.name:sub( 8 ) return display.newImageRect( MenuScene.spineSpriteSheet, MenuScene.spineSheetInfo.frameIndex[attachment\_name], attachment.width, attachment.height ) --return display.newImage("cinders\_step\_spine/" .. attachment.name .. ".png") end