flipbook container impl

This commit is contained in:
2019-03-28 05:43:27 +07:00
parent 265bd0b719
commit 42de3eba17
6 changed files with 168 additions and 12 deletions

View File

@@ -1,2 +1,19 @@
{
"frames" : [{
"atlas" : "atlas.json",
"region" : "sprite"
}, {
"texture" : "image.png",
"pivot" : { "x" : 1, "y" : 2 },
"texrect" : { "x" : 5, "y" : 6, "w" : 7, "h" : 8 }
}],
"sequences" : [{
"fps" : 24,
"name" : "sequence_0",
"frames" : [0,1,0,1]
}, {
"fps" : 30,
"name" : "sequence_1",
"frames" : [1,0,0,1]
}]
}