Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 50 lines (42 sloc) 1.447 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
module(...)

-- This file is for use with CoronaSDK™ and was generated by Zwoptex (http://zwoptexapp.com/)
--
-- The function getSpriteSheetData() returns a table suitable for importing using sprite.newSpriteSheetFromData()
--
-- Usage example:
-- local zwoptexData = require "ThisFile.lua"
-- local data = zwoptexData.getSpriteSheetData()
-- local spriteSheet = sprite.newSpriteSheetFromData( "Untitled.png", data )
--
-- For more details, see http://developer.anscamobile.com/content/game-edition-sprite-sheets

function getSpriteSheetData()

local sheet = {
frames = {

{
name = "b4-1.png",
spriteColorRect = { x = 0, y = 0, width = 381, height = 478 },
textureRect = { x = 0, y = 338, width = 381, height = 478 },
spriteSourceSize = { width = 381, height = 478 },
spriteTrimmed = true,
textureRotated = false
},

{
name = "b4-2.png",
spriteColorRect = { x = 0, y = 0, width = 668, height = 336 },
textureRect = { x = 0, y = 0, width = 668, height = 336 },
spriteSourceSize = { width = 668, height = 336 },
spriteTrimmed = true,
textureRotated = false
},

{
name = "b4-3.png",
spriteColorRect = { x = 0, y = 0, width = 303, height = 176 },
textureRect = { x = 670, y = 0, width = 303, height = 176 },
spriteSourceSize = { width = 303, height = 176 },
spriteTrimmed = true,
textureRotated = false
},

}
}

return sheet
end
Something went wrong with that request. Please try again.