-
Notifications
You must be signed in to change notification settings - Fork 22
/
Page7.lua
95 lines (82 loc) · 2.77 KB
/
Page7.lua
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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 = "b7-1.png",
spriteColorRect = { x = 0, y = 0, width = 142, height = 112 },
textureRect = { x = 211, y = 286, width = 142, height = 112 },
spriteSourceSize = { width = 142, height = 112 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-2.png",
spriteColorRect = { x = 0, y = 0, width = 128, height = 78 },
textureRect = { x = 354, y = 286, width = 128, height = 78 },
spriteSourceSize = { width = 128, height = 78 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-3.png",
spriteColorRect = { x = 0, y = 0, width = 199, height = 131 },
textureRect = { x = 211, y = 154, width = 199, height = 131 },
spriteSourceSize = { width = 199, height = 131 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-4.png",
spriteColorRect = { x = 0, y = 0, width = 102, height = 60 },
textureRect = { x = 354, y = 366, width = 102, height = 60 },
spriteSourceSize = { width = 102, height = 60 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-5.png",
spriteColorRect = { x = 0, y = 0, width = 210, height = 153 },
textureRect = { x = 244, y = 0, width = 210, height = 153 },
spriteSourceSize = { width = 210, height = 153 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-6.png",
spriteColorRect = { x = 0, y = 0, width = 210, height = 319 },
textureRect = { x = 0, y = 142, width = 210, height = 319 },
spriteSourceSize = { width = 210, height = 319 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-7.png",
spriteColorRect = { x = 0, y = 0, width = 91, height = 89 },
textureRect = { x = 411, y = 154, width = 91, height = 89 },
spriteSourceSize = { width = 91, height = 89 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "b7-8.png",
spriteColorRect = { x = 0, y = 0, width = 243, height = 141 },
textureRect = { x = 0, y = 0, width = 243, height = 141 },
spriteSourceSize = { width = 243, height = 141 },
spriteTrimmed = true,
textureRotated = false
},
}
}
return sheet
end