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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 {"frames": [
2
3 {
4 "filename": "arrow.png",
5 "frame": {"x":2,"y":2,"w":446,"h":283},
6 "rotated": false,
7 "trimmed": true,
8 "spriteSourceSize": {"x":30,"y":49,"w":446,"h":283},
9 "sourceSize": {"w":512,"h":512},
10 "pivot": {"x":0.5,"y":0.5}
11 },
12 {
13 "filename": "asteroid_big_0.nrm.png",
14 "frame": {"x":2,"y":287,"w":200,"h":188},
15 "rotated": false,
16 "trimmed": false,
17 "spriteSourceSize": {"x":0,"y":0,"w":200,"h":188},
18 "sourceSize": {"w":200,"h":188},
19 "pivot": {"x":0.5,"y":0.5}
20 },
21 {
22 "filename": "asteroid_big_0.png",
23 "frame": {"x":204,"y":287,"w":200,"h":188},
24 "rotated": false,
25 "trimmed": false,
26 "spriteSourceSize": {"x":0,"y":0,"w":200,"h":188},
27 "sourceSize": {"w":200,"h":188},
28 "pivot": {"x":0.5,"y":0.5}
29 },
30 {
31 "filename": "asteroid_big_1.nrm.png",
32 "frame": {"x":545,"y":275,"w":204,"h":166},
33 "rotated": false,
34 "trimmed": false,
35 "spriteSourceSize": {"x":0,"y":0,"w":204,"h":166},
36 "sourceSize": {"w":204,"h":166},
37 "pivot": {"x":0.5,"y":0.5}
38 },
39 {
40 "filename": "asteroid_big_1.png",
41 "frame": {"x":589,"y":2,"w":204,"h":166},
42 "rotated": false,
43 "trimmed": false,
44 "spriteSourceSize": {"x":0,"y":0,"w":204,"h":166},
45 "sourceSize": {"w":204,"h":166},
46 "pivot": {"x":0.5,"y":0.5}
47 },
48 {
49 "filename": "asteroid_big_2.nrm.png",
50 "frame": {"x":795,"y":2,"w":194,"h":165},
51 "rotated": false,
52 "trimmed": false,
53 "spriteSourceSize": {"x":0,"y":0,"w":194,"h":165},
54 "sourceSize": {"w":194,"h":165},
55 "pivot": {"x":0.5,"y":0.5}
56 },
57 {
58 "filename": "asteroid_big_2.png",
59 "frame": {"x":795,"y":169,"w":194,"h":165},
60 "rotated": false,
61 "trimmed": true,
62 "spriteSourceSize": {"x":0,"y":2,"w":194,"h":165},
63 "sourceSize": {"w":194,"h":167},
64 "pivot": {"x":0.5,"y":0.5}
65 },
66 {
67 "filename": "asteroid_small_0.nrm.png",
68 "frame": {"x":646,"y":170,"w":102,"h":84},
69 "rotated": false,
70 "trimmed": false,
71 "spriteSourceSize": {"x":0,"y":0,"w":102,"h":84},
72 "sourceSize": {"w":102,"h":84},
73 "pivot": {"x":0.5,"y":0.5}
74 },
75 {
76 "filename": "asteroid_small_0.png",
77 "frame": {"x":862,"y":336,"w":102,"h":84},
78 "rotated": false,
79 "trimmed": false,
80 "spriteSourceSize": {"x":0,"y":0,"w":102,"h":84},
81 "sourceSize": {"w":102,"h":84},
82 "pivot": {"x":0.5,"y":0.5}
83 },
84 {
85 "filename": "asteroid_small_1.nrm.png",
86 "frame": {"x":450,"y":171,"w":96,"h":102},
87 "rotated": false,
88 "trimmed": false,
89 "spriteSourceSize": {"x":0,"y":0,"w":96,"h":102},
90 "sourceSize": {"w":96,"h":102},
91 "pivot": {"x":0.5,"y":0.5}
92 },
93 {
94 "filename": "asteroid_small_1.png",
95 "frame": {"x":548,"y":171,"w":96,"h":102},
96 "rotated": false,
97 "trimmed": true,
98 "spriteSourceSize": {"x":0,"y":0,"w":96,"h":102},
99 "sourceSize": {"w":96,"h":106},
100 "pivot": {"x":0.5,"y":0.5}
101 },
102 {
103 "filename": "asteroid_small_2.nrm.png",
104 "frame": {"x":751,"y":336,"w":109,"h":84},
105 "rotated": false,
106 "trimmed": false,
107 "spriteSourceSize": {"x":0,"y":0,"w":109,"h":84},
108 "sourceSize": {"w":109,"h":84},
109 "pivot": {"x":0.5,"y":0.5}
110 },
111 {
112 "filename": "asteroid_small_2.png",
113 "frame": {"x":751,"y":422,"w":109,"h":84},
114 "rotated": false,
115 "trimmed": false,
116 "spriteSourceSize": {"x":0,"y":0,"w":109,"h":84},
117 "sourceSize": {"w":109,"h":84},
118 "pivot": {"x":0.5,"y":0.5}
119 },
120 {
121 "filename": "laser.png",
122 "frame": {"x":751,"y":170,"w":37,"h":76},
123 "rotated": false,
124 "trimmed": false,
125 "spriteSourceSize": {"x":0,"y":0,"w":37,"h":76},
126 "sourceSize": {"w":37,"h":76},
127 "pivot": {"x":0.5,"y":0.5}
128 },
129 {
130 "filename": "ship.nrm.png",
131 "frame": {"x":406,"y":287,"w":137,"h":167},
132 "rotated": false,
133 "trimmed": false,
134 "spriteSourceSize": {"x":0,"y":0,"w":137,"h":167},
135 "sourceSize": {"w":137,"h":167},
136 "pivot": {"x":0.5,"y":0.5}
137 },
138 {
139 "filename": "ship.png",
140 "frame": {"x":450,"y":2,"w":137,"h":167},
141 "rotated": false,
142 "trimmed": true,
143 "spriteSourceSize": {"x":25,"y":10,"w":137,"h":167},
144 "sourceSize": {"w":188,"h":188},
145 "pivot": {"x":0.5,"y":0.5}
146 },
147 {
148 "filename": "star.png",
149 "frame": {"x":862,"y":422,"w":62,"h":68},
150 "rotated": false,
151 "trimmed": true,
152 "spriteSourceSize": {"x":11,"y":5,"w":62,"h":68},
153 "sourceSize": {"w":82,"h":78},
154 "pivot": {"x":0.5,"y":0.5}
155 }],
156 "meta": {
157 "app": "http://www.codeandweb.com/texturepacker",
158 "version": "1.0",
159 "image": "sprites.png",
160 "format": "RGBA8888",
161 "size": {"w":991,"h":508},
162 "scale": "1",
163 "smartupdate": "$TexturePacker:SmartUpdate:b79d98a34caa23746c4e2af6dd5b8 506:bfdb7027c351003110a2082bbb53a657:1eabdf11f75e3a4fe3147baf7b5be24b$"
164 }
165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698