I have two images and a sprite sheet (in the form of a png image) in my project. I used texture packer to pack the two images and one sprite sheet PNG into one file. Now I can easily get the two images using code like:
local star1 = display.newImage(gameAssets01Sheet, gameassets01_tp:getFrameIndex("starsone"));
I am not able to extract and play the sprite sheet though.
Can I also extract the sprite sheet from the texture packed file and play my sprite?
P.S. The sprite sheet play fine if it is not packed into the texture packer.