ShoeBox sprite generation configuration for Corona SDK export with simple sprites loading capability by name.
Download sbx plugin: ShoeBox plugin for Corona SDK
How to use:
local sprites = require("sprites") -- load generated ShoeBox file
local imageSheet = graphics.newImageSheet( "sprites.png", sprites:getSheet() ) -- create image sheet from sprites.png and configuration
local image = display.newImage( imageSheet, sprites.frameIdx["cloud_01"] ) -- get image from image sheet by image name
Leave a Reply