howdy,
i’m using TexturePacker for my sheets but I have problems where TP created a multipack sheet (because there were too many sprites in it)
Which is fine except 4 sprites that I need for the sequence “manWalk3” are split between two spritesheets !
Can I define my sequence somehow so it picks up the sprites from imageSheetman1 AND imageSheetman2 ?
I could insert some dummy sprites in TP to push them over but that’s not very pretty nor efficient ! Also it’s not the first time that happens, i had to manipulate other sheets to get them right. However because my game is still in development, these sprites get changed regularly, some are added, some removed etc…
Thanks !
sheetInfoman1 = require("man-mul1") imageSheetman1 = graphics.newImageSheet("assets/man-mul1.png", sheetInfoman1:getSheet() ) sheetInfoman2 = require("man-mul2") imageSheetman2 = graphics.newImageSheet("assets/man-mul2.png", sheetInfoman2:getSheet() ) local sequenceDatamyfish = { {name="manWalk1", sheet=imageSheetman1, frames={1,2,3,4}, time=400, loopCount = 0}, {name="manWalk2", sheet=imageSheetman1, frames={5,6,7,8}, time=400, loopCount = 0}, {name="manWalk3", sheet=imageSheetman2, frames={9,10,x,x}, time=400, loopCount = 0}, }