mirror of
https://github.com/wassname/phaser.git
synced 2026-08-14 12:40:17 +08:00
Loader can now parse both JSON Hash and JSON Array formated texture atlas files.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{"frames": {
|
||||
|
||||
"eggHead.png":
|
||||
{
|
||||
"frame": {"x":2,"y":169,"w":142,"h":157},
|
||||
"rotated": false,
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": {"x":0,"y":0,"w":142,"h":157},
|
||||
"sourceSize": {"w":142,"h":157}
|
||||
},
|
||||
"flowerTop.png":
|
||||
{
|
||||
"frame": {"x":2,"y":328,"w":119,"h":181},
|
||||
"rotated": false,
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": {"x":0,"y":0,"w":119,"h":181},
|
||||
"sourceSize": {"w":119,"h":181}
|
||||
},
|
||||
"helmlok.png":
|
||||
{
|
||||
"frame": {"x":123,"y":328,"w":123,"h":177},
|
||||
"rotated": false,
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": {"x":0,"y":0,"w":123,"h":177},
|
||||
"sourceSize": {"w":123,"h":177}
|
||||
},
|
||||
"skully.png":
|
||||
{
|
||||
"frame": {"x":2,"y":2,"w":155,"h":165},
|
||||
"rotated": false,
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": {"x":0,"y":0,"w":155,"h":165},
|
||||
"sourceSize": {"w":155,"h":165}
|
||||
}},
|
||||
"meta": {
|
||||
"app": "http://www.texturepacker.com",
|
||||
"version": "1.0",
|
||||
"image": "SpriteSheet.png",
|
||||
"format": "RGBA8888",
|
||||
"size": {"w":256,"h":512},
|
||||
"scale": "1",
|
||||
"smartupdate": "$TexturePacker:SmartUpdate:9e3e5afd01ea8e418afabfbdcd724485$"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 142 KiB |
Reference in New Issue
Block a user