-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbird2.lua
More file actions
28 lines (25 loc) · 852 Bytes
/
bird2.lua
File metadata and controls
28 lines (25 loc) · 852 Bytes
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
module(...)
-- red bird
function getSpriteSheetData()
local sheet = {
frames = {
{
name = "bird2.png",
spriteColorRect = { x = 16, y = 0, width = 71, height = 56 },
textureRect = { x = 0, y = 0, width = 71, height = 56 },
spriteSourceSize = { width = 105, height = 76 },
spriteTrimmed = true,
textureRotated = false
},
{
name = "bird2f.png",
spriteColorRect = { x = 16, y = 25, width = 71, height = 50 },
textureRect = { x = 0, y = 60, width = 71, height = 50 },
spriteSourceSize = { width = 105, height = 71 },
spriteTrimmed = true,
textureRotated = false
},
}
}
return sheet
end