Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2197)

Unified Diff: sky/examples/game/res/sprites.json

Issue 1218593002: Move sky/examples to sky/sdk/lib/example, and code changes to support that change. Fixes T277. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/examples/game/res/sprites.json
diff --git a/sky/examples/game/res/sprites.json b/sky/examples/game/res/sprites.json
deleted file mode 100644
index c772674a770e0d6f22753400fb211348eb7c72ea..0000000000000000000000000000000000000000
--- a/sky/examples/game/res/sprites.json
+++ /dev/null
@@ -1,165 +0,0 @@
-{"frames": [
-
-{
- "filename": "arrow.png",
- "frame": {"x":2,"y":2,"w":446,"h":283},
- "rotated": false,
- "trimmed": true,
- "spriteSourceSize": {"x":30,"y":49,"w":446,"h":283},
- "sourceSize": {"w":512,"h":512},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_big_0.nrm.png",
- "frame": {"x":2,"y":287,"w":200,"h":188},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":188},
- "sourceSize": {"w":200,"h":188},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_big_0.png",
- "frame": {"x":204,"y":287,"w":200,"h":188},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":188},
- "sourceSize": {"w":200,"h":188},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_big_1.nrm.png",
- "frame": {"x":545,"y":275,"w":204,"h":166},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":204,"h":166},
- "sourceSize": {"w":204,"h":166},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_big_1.png",
- "frame": {"x":589,"y":2,"w":204,"h":166},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":204,"h":166},
- "sourceSize": {"w":204,"h":166},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_big_2.nrm.png",
- "frame": {"x":795,"y":2,"w":194,"h":165},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":194,"h":165},
- "sourceSize": {"w":194,"h":165},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_big_2.png",
- "frame": {"x":795,"y":169,"w":194,"h":165},
- "rotated": false,
- "trimmed": true,
- "spriteSourceSize": {"x":0,"y":2,"w":194,"h":165},
- "sourceSize": {"w":194,"h":167},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_small_0.nrm.png",
- "frame": {"x":646,"y":170,"w":102,"h":84},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":102,"h":84},
- "sourceSize": {"w":102,"h":84},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_small_0.png",
- "frame": {"x":862,"y":336,"w":102,"h":84},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":102,"h":84},
- "sourceSize": {"w":102,"h":84},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_small_1.nrm.png",
- "frame": {"x":450,"y":171,"w":96,"h":102},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":96,"h":102},
- "sourceSize": {"w":96,"h":102},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_small_1.png",
- "frame": {"x":548,"y":171,"w":96,"h":102},
- "rotated": false,
- "trimmed": true,
- "spriteSourceSize": {"x":0,"y":0,"w":96,"h":102},
- "sourceSize": {"w":96,"h":106},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_small_2.nrm.png",
- "frame": {"x":751,"y":336,"w":109,"h":84},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":109,"h":84},
- "sourceSize": {"w":109,"h":84},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "asteroid_small_2.png",
- "frame": {"x":751,"y":422,"w":109,"h":84},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":109,"h":84},
- "sourceSize": {"w":109,"h":84},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "laser.png",
- "frame": {"x":751,"y":170,"w":37,"h":76},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":37,"h":76},
- "sourceSize": {"w":37,"h":76},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "ship.nrm.png",
- "frame": {"x":406,"y":287,"w":137,"h":167},
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": {"x":0,"y":0,"w":137,"h":167},
- "sourceSize": {"w":137,"h":167},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "ship.png",
- "frame": {"x":450,"y":2,"w":137,"h":167},
- "rotated": false,
- "trimmed": true,
- "spriteSourceSize": {"x":25,"y":10,"w":137,"h":167},
- "sourceSize": {"w":188,"h":188},
- "pivot": {"x":0.5,"y":0.5}
-},
-{
- "filename": "star.png",
- "frame": {"x":862,"y":422,"w":62,"h":68},
- "rotated": false,
- "trimmed": true,
- "spriteSourceSize": {"x":11,"y":5,"w":62,"h":68},
- "sourceSize": {"w":82,"h":78},
- "pivot": {"x":0.5,"y":0.5}
-}],
-"meta": {
- "app": "http://www.codeandweb.com/texturepacker",
- "version": "1.0",
- "image": "sprites.png",
- "format": "RGBA8888",
- "size": {"w":991,"h":508},
- "scale": "1",
- "smartupdate": "$TexturePacker:SmartUpdate:b79d98a34caa23746c4e2af6dd5b8506:bfdb7027c351003110a2082bbb53a657:1eabdf11f75e3a4fe3147baf7b5be24b$"
-}
-}

Powered by Google App Engine
This is Rietveld 408576698