Commit 7a925e575b2c938ca5013d0c084698d330f10d20

Authored by Adeel Kazmi
1 parent 493bb246

Cleaned up some & removed redundant JSON scripts, as well as background color property fixes

Change-Id: Ibc0003534afd5e07d806bcf88dd17640d29ddfad
Showing 44 changed files with 218 additions and 3891 deletions
resources/images/animation-picture-1.png deleted

1.93 MB

resources/images/animation-picture-2.png deleted

1.16 MB

resources/images/animation-picture-3.png deleted

1.07 MB

resources/images/animation-picture-4.png deleted

938 KB

resources/images/animation-picture-5.png deleted

1.08 MB

resources/images/circle.png deleted

1.09 KB

resources/images/contacts-add.png deleted

1.59 KB

resources/images/contacts-circle.png deleted

1.49 KB

resources/images/contacts-email.png deleted

3.54 KB

resources/images/contacts-home.png deleted

3.04 KB

resources/images/contacts-main.png deleted

38.1 KB

resources/images/contacts-messenger.png deleted

2.34 KB

resources/images/contacts-mobile.png deleted

3.19 KB

resources/images/contacts-plain.png deleted

772 Bytes

resources/images/contacts-text.png deleted

1.19 KB

resources/images/curve-left.png deleted

2.07 KB

resources/images/curve-middle.png deleted

252 Bytes

resources/images/curve-right.png deleted

2.13 KB

resources/images/music-libray-arrow.png deleted

1.19 KB

resources/images/music-libray-circle.png deleted

1.39 KB

resources/images/music-libray-foxtrot-oscar.png deleted

4.17 KB

resources/images/music-libray-menu.png deleted

166 Bytes

resources/images/music-libray-pause.png deleted

328 Bytes

resources/images/music-libray-rectangle.png deleted

545 Bytes

resources/images/music-libray-star.png deleted

2.34 KB

resources/images/music-libray-the-solars.png deleted

6.51 KB

resources/images/music-libray-triangle.png deleted

1.38 KB

resources/images/spot_button_off.png deleted

8.82 KB

resources/images/spot_button_on.png deleted

8.94 KB

resources/images/spot_jelly_off.png deleted

10 KB

resources/images/spot_jelly_on.png deleted

12.1 KB

resources/scripts/animated-buttons.json deleted
1 -{  
2 - "stage": [  
3 - {  
4 - "type": "ImageActor",  
5 - "name": "On",  
6 - "relayoutEnabled": false,  
7 - "position": [ 374, 215, 0 ],  
8 - "size": [ 144, 144, 1 ],  
9 - "sizeAspectRatio": false,  
10 - "color": [ 1, 1, 1, 1  
11 - ],  
12 - "image": {  
13 - "filename": "{DEMO_IMAGE_DIR}spot_button_on.png",  
14 - "width": 144,  
15 - "height": 144,  
16 - "loadPolicy": "IMMEDIATE",  
17 - "releasePolicy": "NEVER"  
18 - },  
19 - "path": "spot_button_on.png",  
20 - "actors": []  
21 - },  
22 - {  
23 - "type": "ImageActor",  
24 - "name": "Off",  
25 - "relayoutEnabled": false,  
26 - "position": [ 129, 215, 0 ],  
27 - "size": [ 144, 144, 1 ],  
28 - "sizeAspectRatio": false,  
29 - "color": [ 1, 1, 1, 1 ],  
30 - "image": {  
31 - "filename": "{DEMO_IMAGE_DIR}spot_button_off.png",  
32 - "width": 144,  
33 - "height": 144,  
34 - "loadPolicy": "IMMEDIATE",  
35 - "releasePolicy": "NEVER"  
36 - },  
37 - "path": "spot_button_off.png",  
38 - "actors": []  
39 - },  
40 - {  
41 - "type": "ImageActor",  
42 - "name": "Right",  
43 - "relayoutEnabled": false,  
44 - "position": [ 418.5, 214.5, 0 ],  
45 - "size": [ 85, 161, 1 ],  
46 - "sizeAspectRatio": false,  
47 - "visible": true,  
48 - "color": [ 0, 0, 0, 1 ],  
49 - "image": {  
50 - "filename": "{DEMO_IMAGE_DIR}curve-right.png",  
51 - "width": 85,  
52 - "height": 161,  
53 - "loadPolicy": "IMMEDIATE",  
54 - "releasePolicy": "NEVER"  
55 - },  
56 - "path": "curve-right.png",  
57 - "actors": []  
58 - },  
59 - {  
60 - "type": "ImageActor",  
61 - "name": "Left",  
62 - "relayoutEnabled": false,  
63 - "position": [ 331, 214.5, 0 ],  
64 - "size": [ 88, 161, 1 ],  
65 - "sizeAspectRatio": false,  
66 - "visible": true,  
67 - "color": [ 0, 0, 0, 1 ],  
68 - "image": {  
69 - "filename": "{DEMO_IMAGE_DIR}curve-left.png",  
70 - "width": 87,  
71 - "height": 161,  
72 - "loadPolicy": "IMMEDIATE",  
73 - "releasePolicy": "NEVER"  
74 - },  
75 - "path": "curve-left.png",  
76 - "actors": []  
77 - },  
78 - {  
79 - "type": "ImageActor",  
80 - "name": "Middle",  
81 - "relayoutEnabled": false,  
82 - "position": [ 375.5, 214.5, 0 ],  
83 - "anchorPoint": [ 0, 0.5, 0.5 ],  
84 - "size": [ 1, 161, 1 ],  
85 - "sizeAspectRatio": false,  
86 - "color": [ 0, 0, 0, 1 ],  
87 - "image": {  
88 - "filename": "{DEMO_IMAGE_DIR}curve-middle.png",  
89 - "width": 13,  
90 - "height": 161,  
91 - "loadPolicy": "IMMEDIATE",  
92 - "releasePolicy": "NEVER"  
93 - },  
94 - "path": "curve-middle.png",  
95 - "actors": []  
96 - },  
97 - {  
98 - "type": "ImageActor",  
99 - "name": "Jelly",  
100 - "relayoutEnabled": false,  
101 - "position": [ 374, 215, 0 ],  
102 - "size": [ 144, 144, 1 ],  
103 - "sizeAspectRatio": false,  
104 - "color": [ 1, 1, 1, 1 ],  
105 - "image": {  
106 - "filename": "{DEMO_IMAGE_DIR}spot_jelly_on.png",  
107 - "width": 144,  
108 - "height": 144,  
109 - "loadPolicy": "IMMEDIATE",  
110 - "releasePolicy": "NEVER"  
111 - },  
112 - "path": "spot_jelly_on.png",  
113 - "actors": []  
114 - },  
115 - {  
116 - "type": "Control",  
117 - "name": "Left Crop",  
118 - "relayoutEnabled": false,  
119 - "position": [ 144.5, 218.5, 0.5 ],  
120 - "size": [ 275, 243, 1 ],  
121 - "sizeAspectRatio": false,  
122 - "background": {"color": [ 1, 1, 1, 1 ]},  
123 - "color": [ 1, 1, 1, 1 ],  
124 - "actors": []  
125 - },  
126 - {  
127 - "type": "Control",  
128 - "name": "Right Crop",  
129 - "relayoutEnabled": false,  
130 - "position": [ 629.5, 218.5, 0.5 ],  
131 - "size": [ 335, 243, 1 ],  
132 - "sizeAspectRatio": false,  
133 - "background": {"color": [ 1, 1, 1, 1 ]},  
134 - "color": [ 1, 1, 1, 1 ],  
135 - "actors": []  
136 - },  
137 - {  
138 - "type": "ImageActor",  
139 - "name": "JellyOff",  
140 - "relayoutEnabled": false,  
141 - "position": [ 121, -117, 0 ],  
142 - "size": [ 144, 144, 1 ],  
143 - "sizeAspectRatio": false,  
144 - "color": [ 1, 1, 1, 1 ],  
145 - "image": {  
146 - "filename": "{DEMO_IMAGE_DIR}spot_jelly_off.png",  
147 - "width": 144,  
148 - "height": 144,  
149 - "loadPolicy": "IMMEDIATE",  
150 - "releasePolicy": "NEVER"  
151 - },  
152 - "path": "spot_jelly_off.png",  
153 - "actors": []  
154 - },  
155 - {  
156 - "type": "Control",  
157 - "name": "Control On",  
158 - "relayoutEnabled": false,  
159 - "position": [  
160 - 371.26116838487997,  
161 - 217.33333333333331,  
162 - 0  
163 - ],  
164 - "size": [ 196, 184, 1 ],  
165 - "sizeAspectRatio": false,  
166 - "scale": [ 1, 1, 1 ],  
167 - "color": [ 1, 1, 1, 1 ],  
168 - "actors": [],  
169 - "signals": [  
170 - {  
171 - "name": "tapped",  
172 - "action": "play",  
173 - "animation": "JellyOffAnimation"  
174 - }  
175 - ]  
176 - },  
177 - {  
178 - "type": "Control",  
179 - "name": "Control Off",  
180 - "relayoutEnabled": false,  
181 - "position": [ 123.5, -117, 0 ],  
182 - "size": [ 193, 182, 1 ],  
183 - "sizeAspectRatio": false,  
184 - "color": [ 1, 1, 1, 1 ],  
185 - "actors": [],  
186 - "signals": [  
187 - {  
188 - "name": "tapped",  
189 - "action": "play",  
190 - "animation": "JellyOnAnimation"  
191 - }  
192 - ]  
193 - }  
194 - ],  
195 - "animations": {  
196 - "JellyOnAnimation": {  
197 - "properties": [  
198 - {  
199 - "actor": "Left",  
200 - "property": "position",  
201 - "value": [ 331, 214.5, 0 ],  
202 - "alphaFunction": "EASE_OUT",  
203 - "timePeriod": {  
204 - "delay": 3.106,  
205 - "duration": 1.465  
206 - },  
207 - "timelineColor": "#b2aba7"  
208 - },  
209 - {  
210 - "actor": "Middle",  
211 - "property": "position",  
212 - "value": [ 375.5, 214.5, 0 ],  
213 - "alphaFunction": "EASE_OUT",  
214 - "timePeriod": {  
215 - "delay": 3.106,  
216 - "duration": 1.465  
217 - },  
218 - "timelineColor": "#94c5aa"  
219 - },  
220 - {  
221 - "actor": "Middle",  
222 - "property": "size",  
223 - "value": [ 250, 161, 1 ],  
224 - "alphaFunction": "EASE_OUT",  
225 - "timePeriod": {  
226 - "delay": 0,  
227 - "duration": 1.27  
228 - },  
229 - "timelineColor": "#94c5aa"  
230 - },  
231 - {  
232 - "actor": "Middle",  
233 - "property": "size",  
234 - "value": [ 1, 161, 1 ],  
235 - "alphaFunction": "EASE_OUT",  
236 - "timePeriod": {  
237 - "delay": 3.127,  
238 - "duration": 1.44  
239 - },  
240 - "timelineColor": "#94c5aa"  
241 - },  
242 - {  
243 - "actor": "JellyOff",  
244 - "property": "position",  
245 - "value": [ 374, 215, 0 ],  
246 - "alphaFunction": "EASE_OUT",  
247 - "timePeriod": {  
248 - "delay": 1.486,  
249 - "duration": 1.29  
250 - },  
251 - "timelineColor": "#b0e8f9"  
252 - },  
253 - {  
254 - "actor": "Left Crop",  
255 - "property": "position",  
256 - "value": [ 144.5, 218.5, 0.5 ],  
257 - "alphaFunction": "EASE_OUT",  
258 - "timePeriod": {  
259 - "delay": 3.106,  
260 - "duration": 1.47  
261 - },  
262 - "timelineColor": "#cc8584"  
263 - },  
264 - {  
265 - "actor": "Right",  
266 - "property": "position",  
267 - "value": [ 418.5, 214.5, 0 ],  
268 - "alphaFunction": "EASE_OUT",  
269 - "timePeriod": {  
270 - "delay": 0,  
271 - "duration": 1.27  
272 - },  
273 - "timelineColor": "#a2cfea"  
274 - },  
275 - {  
276 - "actor": "Right Crop",  
277 - "property": "position",  
278 - "value": [ 629.5, 218.5, 0.5 ],  
279 - "alphaFunction": "EASE_OUT",  
280 - "timePeriod": {  
281 - "delay": 0,  
282 - "duration": 1.276  
283 - },  
284 - "timelineColor": "#f78be1"  
285 - },  
286 - {  
287 - "actor": "Control On",  
288 - "property": "position",  
289 - "value": [  
290 - 371.26116838487997,  
291 - 217.33333333333331,  
292 - 0  
293 - ],  
294 - "alphaFunction": "LINEAR",  
295 - "timePeriod": {  
296 - "delay": 2.765,  
297 - "duration": 0.001  
298 - },  
299 - "timelineColor": "#ab88f5"  
300 - },  
301 - {  
302 - "actor": "Jelly",  
303 - "property": "position",  
304 - "value": [ 121, -117, 0 ],  
305 - "alphaFunction": "LINEAR",  
306 - "timePeriod": {  
307 - "delay": 0,  
308 - "duration": 0.001  
309 - },  
310 - "timelineColor": "#fbb6ad"  
311 - },  
312 - {  
313 - "actor": "Jelly",  
314 - "property": "position",  
315 - "value": [ 374, 215, 0 ],  
316 - "alphaFunction": "LINEAR",  
317 - "timePeriod": {  
318 - "delay": 2.765,  
319 - "duration": 0.001  
320 - },  
321 - "timelineColor": "#fbb6ad"  
322 - },  
323 - {  
324 - "actor": "JellyOff",  
325 - "property": "position",  
326 - "value": [ 121, -117, 0 ],  
327 - "alphaFunction": "LINEAR",  
328 - "timePeriod": {  
329 - "delay": 2.765,  
330 - "duration": 0.001  
331 - },  
332 - "timelineColor": "#fbb6ad"  
333 - },  
334 - {  
335 - "actor": "Control Off",  
336 - "property": "position",  
337 - "value": [ 123.5, -117, 0 ],  
338 - "alphaFunction": "LINEAR",  
339 - "timePeriod": {  
340 - "delay": 0,  
341 - "duration": 0.001  
342 - },  
343 - "timelineColor": "#9791e0"  
344 - }  
345 - ],  
346 - "page": ""  
347 - },  
348 - "JellyOffAnimation": {  
349 - "properties": [  
350 - {  
351 - "actor": "Left",  
352 - "property": "position",  
353 - "value": [ 86, 214.5, 0 ],  
354 - "alphaFunction": "EASE_OUT",  
355 - "timePeriod": {  
356 - "delay": 0,  
357 - "duration": 1.27  
358 - },  
359 - "timelineColor": "#b2aba7"  
360 - },  
361 - {  
362 - "actor": "Middle",  
363 - "property": "position",  
364 - "value": [ 130, 214.5, 0 ],  
365 - "alphaFunction": "EASE_OUT",  
366 - "timePeriod": {  
367 - "delay": 0,  
368 - "duration": 1.27  
369 - },  
370 - "timelineColor": "#94c5aa"  
371 - },  
372 - {  
373 - "actor": "Middle",  
374 - "property": "size",  
375 - "value": [ 250, 161, 1 ],  
376 - "alphaFunction": "EASE_OUT",  
377 - "timePeriod": {  
378 - "delay": 0,  
379 - "duration": 1.27  
380 - },  
381 - "timelineColor": "#94c5aa"  
382 - },  
383 - {  
384 - "actor": "Middle",  
385 - "property": "size",  
386 - "value": [ 1, 161, 1 ],  
387 - "alphaFunction": "EASE_OUT",  
388 - "timePeriod": {  
389 - "delay": 3.127,  
390 - "duration": 1.44  
391 - },  
392 - "timelineColor": "#94c5aa"  
393 - },  
394 - {  
395 - "actor": "Jelly",  
396 - "property": "position",  
397 - "value": [ 130, 215, 0 ],  
398 - "alphaFunction": "EASE_OUT",  
399 - "timePeriod": {  
400 - "delay": 1.486,  
401 - "duration": 1.29  
402 - },  
403 - "timelineColor": "#b0e8f9"  
404 - },  
405 - {  
406 - "actor": "Left Crop",  
407 - "property": "position",  
408 - "value": [ -95, 219, 0 ],  
409 - "alphaFunction": "EASE_OUT",  
410 - "timePeriod": {  
411 - "delay": 0,  
412 - "duration": 1.276  
413 - },  
414 - "timelineColor": "#cc8584"  
415 - },  
416 - {  
417 - "actor": "Right",  
418 - "property": "position",  
419 - "value": [ 172, 214.5, 0.5 ],  
420 - "alphaFunction": "EASE_OUT",  
421 - "timePeriod": {  
422 - "delay": 3.106,  
423 - "duration": 1.465  
424 - },  
425 - "timelineColor": "#a2cfea"  
426 - },  
427 - {  
428 - "actor": "Right Crop",  
429 - "property": "position",  
430 - "value": [ 383, 218.5, 0.5 ],  
431 - "alphaFunction": "EASE_OUT",  
432 - "timePeriod": {  
433 - "delay": 3.106,  
434 - "duration": 1.47  
435 - },  
436 - "timelineColor": "#f78be1"  
437 - },  
438 - {  
439 - "actor": "Control On",  
440 - "property": "position",  
441 - "value": [ 371.26, -131, 0 ],  
442 - "alphaFunction": "LINEAR",  
443 - "timePeriod": {  
444 - "delay": 0,  
445 - "duration": 0.001  
446 - },  
447 - "timelineColor": "#ab88f5"  
448 - },  
449 - {  
450 - "actor": "JellyOff",  
451 - "property": "position",  
452 - "value": [ 130, 215, 0 ],  
453 - "alphaFunction": "LINEAR",  
454 - "timePeriod": {  
455 - "delay": 2.765,  
456 - "duration": 0.001  
457 - },  
458 - "timelineColor": "#fbb6ad"  
459 - },  
460 - {  
461 - "actor": "Jelly",  
462 - "property": "position",  
463 - "value": [ 121, -117, 0 ],  
464 - "alphaFunction": "LINEAR",  
465 - "timePeriod": {  
466 - "delay": 2.765,  
467 - "duration": 0.001  
468 - },  
469 - "timelineColor": "#fbb6ad"  
470 - },  
471 - {  
472 - "actor": "Control Off",  
473 - "property": "position",  
474 - "value": [ 123.5, 215, 0 ],  
475 - "alphaFunction": "LINEAR",  
476 - "timePeriod": {  
477 - "delay": 2.765,  
478 - "duration": 0.001  
479 - },  
480 - "timelineColor": "#9791e0"  
481 - }  
482 - ],  
483 - "page": ""  
484 - }  
485 - },  
486 - "connections": {  
487 - "JellyOffConnection": {  
488 - "name": "JellyOffConnection",  
489 - "target": {  
490 - "type": "animation",  
491 - "name": "JellyOffAnimation",  
492 - "action": "play"  
493 - },  
494 - "sources": [  
495 - "Control On"  
496 - ],  
497 - "signal": "click"  
498 - },  
499 - "JellyOnConnection": {  
500 - "name": "JellyOnConnection",  
501 - "target": {  
502 - "type": "animation",  
503 - "name": "JellyOnAnimation",  
504 - "action": "play"  
505 - },  
506 - "sources": [  
507 - "Control Off"  
508 - ],  
509 - "signal": "click"  
510 - }  
511 - },  
512 - "constants": {},  
513 - "styles": {},  
514 - "deviceHeight": 600,  
515 - "deviceWidth": 480,  
516 - "deviceOrientation": "portrait",  
517 - "version": "781"  
518 -}  
resources/scripts/animated-colors.json
@@ -38,13 +38,13 @@ @@ -38,13 +38,13 @@
38 0.5, 38 0.5,
39 0.5 39 0.5
40 ], 40 ],
41 - "size": [  
42 - 120,  
43 - 120,  
44 - 1  
45 - ], 41 + "widthResizePolicy":"FILL_TO_PARENT",
  42 + "heightResizePolicy":"FILL_TO_PARENT",
46 "sizeAspectRatio": false, 43 "sizeAspectRatio": false,
47 - "background": { "color": [1,1,1,1] }, 44 + "background": {
  45 + "rendererType": "color",
  46 + "blendColor": [1,1,1,1]
  47 + },
48 "color": [ 48 "color": [
49 0.5686274509803921, 49 0.5686274509803921,
50 0.5294117647058824, 50 0.5294117647058824,
@@ -74,13 +74,13 @@ @@ -74,13 +74,13 @@
74 0.5, 74 0.5,
75 0.5 75 0.5
76 ], 76 ],
77 - "size": [  
78 - 120,  
79 - 120,  
80 - 1  
81 - ], 77 + "widthResizePolicy":"FILL_TO_PARENT",
  78 + "heightResizePolicy":"FILL_TO_PARENT",
82 "sizeAspectRatio": false, 79 "sizeAspectRatio": false,
83 - "background": { "color": [1,1,1,1] }, 80 + "background": {
  81 + "rendererType": "color",
  82 + "blendColor": [1,1,1,1]
  83 + },
84 "color": [ 84 "color": [
85 0.17647058823529413, 85 0.17647058823529413,
86 0.5686274509803921, 86 0.5686274509803921,
@@ -110,13 +110,13 @@ @@ -110,13 +110,13 @@
110 0.5, 110 0.5,
111 0.5 111 0.5
112 ], 112 ],
113 - "size": [  
114 - 120,  
115 - 120,  
116 - 1  
117 - ], 113 + "widthResizePolicy":"FILL_TO_PARENT",
  114 + "heightResizePolicy":"FILL_TO_PARENT",
118 "sizeAspectRatio": false, 115 "sizeAspectRatio": false,
119 - "background": { "color": [1,1,1,1] }, 116 + "background": {
  117 + "rendererType": "color",
  118 + "blendColor": [1,1,1,1]
  119 + },
120 "color": [ 120 "color": [
121 0.7411764705882353, 121 0.7411764705882353,
122 0, 122 0,
@@ -142,13 +142,13 @@ @@ -142,13 +142,13 @@
142 0.5, 142 0.5,
143 0.5 143 0.5
144 ], 144 ],
145 - "size": [  
146 - 120,  
147 - 120,  
148 - 1  
149 - ], 145 + "widthResizePolicy":"FILL_TO_PARENT",
  146 + "heightResizePolicy":"FILL_TO_PARENT",
150 "sizeAspectRatio": false, 147 "sizeAspectRatio": false,
151 - "background": { "color": [1,1,1,1] }, 148 + "background": {
  149 + "rendererType": "color",
  150 + "blendColor": [1,1,1,1]
  151 + },
152 "color": [ 152 "color": [
153 0.23137254901960785, 153 0.23137254901960785,
154 0.09803921568627451, 154 0.09803921568627451,
@@ -178,13 +178,13 @@ @@ -178,13 +178,13 @@
178 0.5, 178 0.5,
179 0.5 179 0.5
180 ], 180 ],
181 - "size": [  
182 - 120,  
183 - 120,  
184 - 1  
185 - ], 181 + "widthResizePolicy":"FILL_TO_PARENT",
  182 + "heightResizePolicy":"FILL_TO_PARENT",
186 "sizeAspectRatio": false, 183 "sizeAspectRatio": false,
187 - "background": { "color": [1,1,1,1] }, 184 + "background": {
  185 + "rendererType": "color",
  186 + "blendColor": [1,1,1,1]
  187 + },
188 "color": [ 188 "color": [
189 0.17647058823529413, 189 0.17647058823529413,
190 0.24313725490196078, 190 0.24313725490196078,
@@ -214,13 +214,13 @@ @@ -214,13 +214,13 @@
214 0.5, 214 0.5,
215 0.5 215 0.5
216 ], 216 ],
217 - "size": [  
218 - 120,  
219 - 120,  
220 - 1  
221 - ], 217 + "widthResizePolicy":"FILL_TO_PARENT",
  218 + "heightResizePolicy":"FILL_TO_PARENT",
222 "sizeAspectRatio": false, 219 "sizeAspectRatio": false,
223 - "background": { "color": [1,1,1,1] }, 220 + "background": {
  221 + "rendererType": "color",
  222 + "blendColor": [1,1,1,1]
  223 + },
224 "color": [ 224 "color": [
225 0.396078431372549, 225 0.396078431372549,
226 0.29411764705882354, 226 0.29411764705882354,
@@ -246,13 +246,13 @@ @@ -246,13 +246,13 @@
246 0.5, 246 0.5,
247 0.5 247 0.5
248 ], 248 ],
249 - "size": [  
250 - 120,  
251 - 120,  
252 - 1  
253 - ], 249 + "widthResizePolicy":"FILL_TO_PARENT",
  250 + "heightResizePolicy":"FILL_TO_PARENT",
254 "sizeAspectRatio": false, 251 "sizeAspectRatio": false,
255 - "background": { "color": [1,1,1,1] }, 252 + "background": {
  253 + "rendererType": "color",
  254 + "blendColor": [1,1,1,1]
  255 + },
256 "color": [ 256 "color": [
257 0, 257 0,
258 0.6901960784313725, 258 0.6901960784313725,
@@ -282,13 +282,13 @@ @@ -282,13 +282,13 @@
282 0.5, 282 0.5,
283 0.5 283 0.5
284 ], 284 ],
285 - "size": [  
286 - 120,  
287 - 120,  
288 - 1  
289 - ], 285 + "widthResizePolicy":"FILL_TO_PARENT",
  286 + "heightResizePolicy":"FILL_TO_PARENT",
290 "sizeAspectRatio": false, 287 "sizeAspectRatio": false,
291 - "background": { "color": [1,1,1,1] }, 288 + "background": {
  289 + "rendererType": "color",
  290 + "blendColor": [1,1,1,1]
  291 + },
292 "color": [ 292 "color": [
293 0.20784313725490197, 293 0.20784313725490197,
294 0.5686274509803921, 294 0.5686274509803921,
@@ -318,13 +318,13 @@ @@ -318,13 +318,13 @@
318 0.5, 318 0.5,
319 0.5 319 0.5
320 ], 320 ],
321 - "size": [  
322 - 120,  
323 - 120,  
324 - 1  
325 - ], 321 + "widthResizePolicy":"FILL_TO_PARENT",
  322 + "heightResizePolicy":"FILL_TO_PARENT",
326 "sizeAspectRatio": false, 323 "sizeAspectRatio": false,
327 - "background": { "color": [1,1,1,1] }, 324 + "background": {
  325 + "rendererType": "color",
  326 + "blendColor": [1,1,1,1]
  327 + },
328 "color": [ 328 "color": [
329 0.4196078431372549, 329 0.4196078431372549,
330 0.047058823529411764, 330 0.047058823529411764,
@@ -350,13 +350,13 @@ @@ -350,13 +350,13 @@
350 0.5, 350 0.5,
351 0.5 351 0.5
352 ], 352 ],
353 - "size": [  
354 - 120,  
355 - 120,  
356 - 1  
357 - ], 353 + "widthResizePolicy":"FILL_TO_PARENT",
  354 + "heightResizePolicy":"FILL_TO_PARENT",
358 "sizeAspectRatio": false, 355 "sizeAspectRatio": false,
359 - "background": { "color": [1,1,1,1] }, 356 + "background": {
  357 + "rendererType": "color",
  358 + "blendColor": [1,1,1,1]
  359 + },
360 "color": [ 360 "color": [
361 0.47843137254901963, 361 0.47843137254901963,
362 0.42745098039215684, 362 0.42745098039215684,
@@ -382,13 +382,13 @@ @@ -382,13 +382,13 @@
382 0, 382 0,
383 0.5 383 0.5
384 ], 384 ],
385 - "size": [  
386 - 120,  
387 - 120,  
388 - 1  
389 - ], 385 + "widthResizePolicy":"FILL_TO_PARENT",
  386 + "heightResizePolicy":"FILL_TO_PARENT",
390 "sizeAspectRatio": false, 387 "sizeAspectRatio": false,
391 - "background": { "color": [1,1,1,1] }, 388 + "background": {
  389 + "rendererType": "color",
  390 + "blendColor": [1,1,1,1]
  391 + },
392 "color": [ 392 "color": [
393 0.4470588235294118, 393 0.4470588235294118,
394 0.45098039215686275, 394 0.45098039215686275,
@@ -414,13 +414,13 @@ @@ -414,13 +414,13 @@
414 0, 414 0,
415 0.5 415 0.5
416 ], 416 ],
417 - "size": [  
418 - 120,  
419 - 120,  
420 - 1  
421 - ], 417 + "widthResizePolicy":"FILL_TO_PARENT",
  418 + "heightResizePolicy":"FILL_TO_PARENT",
422 "sizeAspectRatio": false, 419 "sizeAspectRatio": false,
423 - "background": { "color": [1,1,1,1] }, 420 + "background": {
  421 + "rendererType": "color",
  422 + "blendColor": [1,1,1,1]
  423 + },
424 "color": [ 424 "color": [
425 1, 425 1,
426 0.4823529411764706, 426 0.4823529411764706,
@@ -446,13 +446,13 @@ @@ -446,13 +446,13 @@
446 0, 446 0,
447 0.5 447 0.5
448 ], 448 ],
449 - "size": [  
450 - 120,  
451 - 120,  
452 - 1  
453 - ], 449 + "widthResizePolicy":"FILL_TO_PARENT",
  450 + "heightResizePolicy":"FILL_TO_PARENT",
454 "sizeAspectRatio": false, 451 "sizeAspectRatio": false,
455 - "background": { "color": [1,1,1,1] }, 452 + "background": {
  453 + "rendererType": "color",
  454 + "blendColor": [1,1,1,1]
  455 + },
456 "color": [ 456 "color": [
457 0.43137254901960786, 457 0.43137254901960786,
458 0, 458 0,
@@ -482,13 +482,13 @@ @@ -482,13 +482,13 @@
482 0.5, 482 0.5,
483 0.5 483 0.5
484 ], 484 ],
485 - "size": [  
486 - 120,  
487 - 120,  
488 - 1  
489 - ], 485 + "widthResizePolicy":"FILL_TO_PARENT",
  486 + "heightResizePolicy":"FILL_TO_PARENT",
490 "sizeAspectRatio": false, 487 "sizeAspectRatio": false,
491 - "background": { "color": [1,1,1,1] }, 488 + "background": {
  489 + "rendererType": "color",
  490 + "blendColor": [1,1,1,1]
  491 + },
492 "color": [ 492 "color": [
493 0.8196078431372549, 493 0.8196078431372549,
494 0.5803921568627451, 494 0.5803921568627451,
@@ -514,13 +514,13 @@ @@ -514,13 +514,13 @@
514 0.5, 514 0.5,
515 0.5 515 0.5
516 ], 516 ],
517 - "size": [  
518 - 120,  
519 - 120,  
520 - 1  
521 - ], 517 + "widthResizePolicy":"FILL_TO_PARENT",
  518 + "heightResizePolicy":"FILL_TO_PARENT",
522 "sizeAspectRatio": false, 519 "sizeAspectRatio": false,
523 - "background": { "color": [1,1,1,1] }, 520 + "background": {
  521 + "rendererType": "color",
  522 + "blendColor": [1,1,1,1]
  523 + },
524 "color": [ 524 "color": [
525 0.6313725490196078, 525 0.6313725490196078,
526 0.6274509803921569, 526 0.6274509803921569,
@@ -553,13 +553,13 @@ @@ -553,13 +553,13 @@
553 0.5, 553 0.5,
554 0.5 554 0.5
555 ], 555 ],
556 - "size": [  
557 - 120,  
558 - 120,  
559 - 1  
560 - ], 556 + "widthResizePolicy":"FILL_TO_PARENT",
  557 + "heightResizePolicy":"FILL_TO_PARENT",
561 "sizeAspectRatio": false, 558 "sizeAspectRatio": false,
562 - "background": { "color": [1,1,1,1] }, 559 + "background": {
  560 + "rendererType": "color",
  561 + "blendColor": [1,1,1,1]
  562 + },
563 "color": [ 563 "color": [
564 0.9176470588235294, 564 0.9176470588235294,
565 0, 565 0,
@@ -585,13 +585,13 @@ @@ -585,13 +585,13 @@
585 0.5, 585 0.5,
586 0.5 586 0.5
587 ], 587 ],
588 - "size": [  
589 - 120,  
590 - 120,  
591 - 1  
592 - ], 588 + "widthResizePolicy":"FILL_TO_PARENT",
  589 + "heightResizePolicy":"FILL_TO_PARENT",
593 "sizeAspectRatio": false, 590 "sizeAspectRatio": false,
594 - "background": { "color": [1,1,1,1] }, 591 + "background": {
  592 + "rendererType": "color",
  593 + "blendColor": [1,1,1,1]
  594 + },
595 "color": [ 595 "color": [
596 0.24313725490196078, 596 0.24313725490196078,
597 0.25882352941176473, 597 0.25882352941176473,
@@ -618,13 +618,13 @@ @@ -618,13 +618,13 @@
618 0.5, 618 0.5,
619 0.5 619 0.5
620 ], 620 ],
621 - "size": [  
622 - 120,  
623 - 120,  
624 - 1  
625 - ], 621 + "widthResizePolicy":"FILL_TO_PARENT",
  622 + "heightResizePolicy":"FILL_TO_PARENT",
626 "sizeAspectRatio": false, 623 "sizeAspectRatio": false,
627 - "background": { "color": [1,1,1,1] }, 624 + "background": {
  625 + "rendererType": "color",
  626 + "blendColor": [1,1,1,1]
  627 + },
628 "color": [ 628 "color": [
629 0, 629 0,
630 1, 630 1,
@@ -657,13 +657,13 @@ @@ -657,13 +657,13 @@
657 0.5, 657 0.5,
658 0.5 658 0.5
659 ], 659 ],
660 - "size": [  
661 - 120,  
662 - 120,  
663 - 1  
664 - ], 660 + "widthResizePolicy":"FILL_TO_PARENT",
  661 + "heightResizePolicy":"FILL_TO_PARENT",
665 "sizeAspectRatio": false, 662 "sizeAspectRatio": false,
666 - "background": { "color": [1,1,1,1] }, 663 + "background": {
  664 + "rendererType": "color",
  665 + "blendColor": [1,1,1,1]
  666 + },
667 "color": [ 667 "color": [
668 1, 668 1,
669 0.8980392156862745, 669 0.8980392156862745,
@@ -689,13 +689,13 @@ @@ -689,13 +689,13 @@
689 0.5, 689 0.5,
690 0.5 690 0.5
691 ], 691 ],
692 - "size": [  
693 - 120,  
694 - 120,  
695 - 1  
696 - ], 692 + "widthResizePolicy":"FILL_TO_PARENT",
  693 + "heightResizePolicy":"FILL_TO_PARENT",
697 "sizeAspectRatio": false, 694 "sizeAspectRatio": false,
698 - "background": { "color": [1,1,1,1] }, 695 + "background": {
  696 + "rendererType": "color",
  697 + "blendColor": [1,1,1,1]
  698 + },
699 "color": [ 699 "color": [
700 0, 700 0,
701 0.6, 701 0.6,
@@ -722,13 +722,13 @@ @@ -722,13 +722,13 @@
722 0.5, 722 0.5,
723 0.5 723 0.5
724 ], 724 ],
725 - "size": [  
726 - 120,  
727 - 120,  
728 - 1  
729 - ], 725 + "widthResizePolicy":"FILL_TO_PARENT",
  726 + "heightResizePolicy":"FILL_TO_PARENT",
730 "sizeAspectRatio": false, 727 "sizeAspectRatio": false,
731 - "background": { "color": [1,1,1,1] }, 728 + "background": {
  729 + "rendererType": "color",
  730 + "blendColor": [1,1,1,1]
  731 + },
732 "color": [ 732 "color": [
733 1, 733 1,
734 0, 734 0,
@@ -754,13 +754,13 @@ @@ -754,13 +754,13 @@
754 1, 754 1,
755 0.5 755 0.5
756 ], 756 ],
757 - "size": [  
758 - 120,  
759 - 120,  
760 - 1  
761 - ], 757 + "widthResizePolicy":"FILL_TO_PARENT",
  758 + "heightResizePolicy":"FILL_TO_PARENT",
762 "sizeAspectRatio": false, 759 "sizeAspectRatio": false,
763 - "background": { "color": [1,1,1,1] }, 760 + "background": {
  761 + "rendererType": "color",
  762 + "blendColor": [1,1,1,1]
  763 + },
764 "color": [ 764 "color": [
765 0.01568627450980392, 765 0.01568627450980392,
766 0, 766 0,
@@ -786,40 +786,20 @@ @@ -786,40 +786,20 @@
786 1, 786 1,
787 0.5 787 0.5
788 ], 788 ],
789 - "size": [  
790 - 120,  
791 - 120,  
792 - 1  
793 - ], 789 + "widthResizePolicy":"FILL_TO_PARENT",
  790 + "heightResizePolicy":"FILL_TO_PARENT",
794 "sizeAspectRatio": false, 791 "sizeAspectRatio": false,
795 - "background": { "color": [1,1,1,1] }, 792 + "background": {
  793 + "rendererType": "color",
  794 + "blendColor": [1,1,1,1]
  795 + },
796 "color": [ 796 "color": [
797 0.2784313725490196, 797 0.2784313725490196,
798 0.1803921568627451, 798 0.1803921568627451,
799 0.3411764705882353, 799 0.3411764705882353,
800 1 800 1
801 ] 801 ]
802 - },  
803 - {  
804 - "type": "TextLabel",  
805 - "name": "text",  
806 - "parentOrigin": "CENTER",  
807 - "anchorPoint": "CENTER",  
808 - "text": "START",  
809 - "pointSize": 20,  
810 - "signals": [  
811 - {  
812 - "name": "tapped",  
813 - "action": "play",  
814 - "animation": "Animation_1"  
815 - },  
816 - {  
817 - "name": "tapped",  
818 - "action": "play",  
819 - "animation": "HideText"  
820 } 802 }
821 - ]  
822 - }  
823 ], 803 ],
824 "name": "Container 1", 804 "name": "Container 1",
825 "position": [ 805 "position": [
@@ -838,42 +818,30 @@ @@ -838,42 +818,30 @@
838 1, 818 1,
839 0.5 819 0.5
840 ], 820 ],
841 - "size": [  
842 - 120,  
843 - 120,  
844 - 1  
845 - ], 821 + "widthResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  822 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  823 + "sizeModeFactor": [0.25,0.166667,1],
846 "sizeAspectRatio": false, 824 "sizeAspectRatio": false,
847 - "background": { "color": [1,1,1,1] }, 825 + "background": {
  826 + "rendererType": "color",
  827 + "blendColor": [1,1,1,1]
  828 + },
848 "color": [ 829 "color": [
849 0.1568627450980392, 830 0.1568627450980392,
850 0.9215686274509803, 831 0.9215686274509803,
851 0.32941176470588235, 832 0.32941176470588235,
852 1 833 1
  834 + ],
  835 + "signals": [
  836 + {
  837 + "name": "onStage",
  838 + "action": "play",
  839 + "animation": "Animation_1"
  840 + }
853 ] 841 ]
854 } 842 }
855 ], 843 ],
856 "animations": { 844 "animations": {
857 - "HideText": {  
858 - "properties": [  
859 - {  
860 - "actor": "text",  
861 - "property": "color",  
862 - "value": [  
863 - 0,  
864 - 0,  
865 - 0,  
866 - 0  
867 - ],  
868 - "alphaFunction": "LINEAR",  
869 - "timePeriod": {  
870 - "delay": 0,  
871 - "duration": 0.2  
872 - },  
873 - "timelineColor": "#eec5f8"  
874 - }  
875 - ]  
876 - },  
877 "Animation_1": { 845 "Animation_1": {
878 "loop": true, 846 "loop": true,
879 "properties": [ 847 "properties": [
resources/scripts/background-color.json renamed to resources/scripts/background.json
1 /* 1 /*
2 - * Copyright (c) 2015 Samsung Electronics Co., Ltd. 2 + * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
@@ -23,47 +23,69 @@ @@ -23,47 +23,69 @@
23 "text": "Hello World", 23 "text": "Hello World",
24 "parentOrigin": "TOP_CENTER", 24 "parentOrigin": "TOP_CENTER",
25 "anchorPoint": "TOP_CENTER", 25 "anchorPoint": "TOP_CENTER",
26 - "position": [0, 50, 0],  
27 - "pointSize": 40,  
28 - "size": [400, 150, 1], 26 + "pointSize": 20,
  27 + "horizontalAlignment": "CENTER",
  28 + "verticalAlignment": "CENTER",
  29 + "widthResizePolicy":"FILL_TO_PARENT",
  30 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  31 + "sizeModeFactor": [1,0.25,1],
29 "background":{ 32 "background":{
30 - "color": [1, 0, 0, 1] 33 + "rendererType": "color",
  34 + "blendColor": [1, 0, 0, 1]
31 } 35 }
32 }, 36 },
33 37
34 - // A container with a yellow background 38 + // A control with a yellow background
35 { 39 {
36 "type": "Control", 40 "type": "Control",
37 "relayoutEnabled": false, 41 "relayoutEnabled": false,
38 "parentOrigin": "CENTER", 42 "parentOrigin": "CENTER",
39 "anchorPoint": "BOTTOM_CENTER", 43 "anchorPoint": "BOTTOM_CENTER",
40 - "size": [400, 150, 1], 44 + "widthResizePolicy":"FILL_TO_PARENT",
  45 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  46 + "sizeModeFactor": [1,0.25,1],
41 "background":{ 47 "background":{
42 - "color": [1, 1, 0, 1] 48 + "rendererType": "color",
  49 + "blendColor": [1, 1, 0, 1]
43 } 50 }
44 }, 51 },
45 52
46 - // A container with an image 53 + // A control with an image
47 { 54 {
48 "type": "Control", 55 "type": "Control",
49 "relayoutEnabled": false, 56 "relayoutEnabled": false,
50 "parentOrigin": "CENTER", 57 "parentOrigin": "CENTER",
51 "anchorPoint": "TOP_CENTER", 58 "anchorPoint": "TOP_CENTER",
52 - "size": [400, 150, 1], 59 + "widthResizePolicy":"FILL_TO_PARENT",
  60 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  61 + "sizeModeFactor": [1,0.25,1],
53 "background": { 62 "background": {
54 - "filename": "{DEMO_IMAGE_DIR}button-background.png" 63 + "rendererType": "image",
  64 + "imageUrl": "{DEMO_IMAGE_DIR}button-background.png"
55 } 65 }
56 }, 66 },
57 67
58 - // A container with the same image blended in with a blue background 68 + // A control with a gradient
59 { 69 {
60 "type": "Control", 70 "type": "Control",
61 "relayoutEnabled": false, 71 "relayoutEnabled": false,
62 "parentOrigin": "BOTTOM_CENTER", 72 "parentOrigin": "BOTTOM_CENTER",
63 "anchorPoint": "BOTTOM_CENTER", 73 "anchorPoint": "BOTTOM_CENTER",
64 - "size": [400, 150, 1], 74 + "widthResizePolicy":"FILL_TO_PARENT",
  75 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  76 + "sizeModeFactor": [1,0.25,1],
65 "background": { 77 "background": {
66 - "filename": "{DEMO_IMAGE_DIR}button-background.png" 78 + "rendererType": "gradient",
  79 + "center": [ 0.5, 0.5 ],
  80 + "radius": 1.414,
  81 + "stopOffset": [ 0.0, 0.3, 0.6, 0.8, 1.0 ],
  82 + "stopColor": [
  83 + [ 0.5, 0.78, 0.76, 1.0 ],
  84 + [ 0.77, 0.78, 0.28, 0.48 ],
  85 + [ 0.84, 0.15, 0.55, 0.75 ],
  86 + [ 0.5, 0.78, 0.76, 0.59 ],
  87 + [ 1.0, 1.0, 0.0, 1.0 ]
  88 + ]
67 } 89 }
68 } 90 }
69 ] 91 ]
resources/scripts/button.json
@@ -15,9 +15,6 @@ @@ -15,9 +15,6 @@
15 * 15 *
16 */ 16 */
17 { 17 {
18 - "constants": {  
19 - "CONFIG_SCRIPT_LOG_LEVEL": "Verbose"  
20 - },  
21 "stage": [ 18 "stage": [
22 // First Button 19 // First Button
23 { 20 {
@@ -25,9 +22,9 @@ @@ -25,9 +22,9 @@
25 "parentOrigin": "TOP_CENTER", 22 "parentOrigin": "TOP_CENTER",
26 "anchorPoint": "TOP_CENTER", 23 "anchorPoint": "TOP_CENTER",
27 "position": [0, 0, 0], 24 "position": [0, 0, 0],
28 - "size": [400, 200, 0],  
29 - "unselectedStateImage": "{DEMO_IMAGE_DIR}blocks-brick-1.png",  
30 - "selectedStateImage": "{DEMO_IMAGE_DIR}blocks-brick-2.png", 25 + "widthResizePolicy":"FILL_TO_PARENT",
  26 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  27 + "sizeModeFactor": [1,0.25,1],
31 "labelText": "Normal" 28 "labelText": "Normal"
32 }, 29 },
33 30
@@ -37,11 +34,10 @@ @@ -37,11 +34,10 @@
37 "parentOrigin": "CENTER", 34 "parentOrigin": "CENTER",
38 "anchorPoint": "CENTER", 35 "anchorPoint": "CENTER",
39 "position": [0, 0, 0], 36 "position": [0, 0, 0],
40 - "size": [400, 200, 0], 37 + "widthResizePolicy":"FILL_TO_PARENT",
  38 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  39 + "sizeModeFactor": [1,0.25,1],
41 "disabled": true, 40 "disabled": true,
42 - "unselectedStateImage": "{DEMO_IMAGE_DIR}blocks-brick-1.png",  
43 - "selectedStateImage": "{DEMO_IMAGE_DIR}blocks-brick-2.png",  
44 - "disabledStateImage": "{DEMO_IMAGE_DIR}blocks-brick-3.png",  
45 "labelText": "Disabled" 41 "labelText": "Disabled"
46 }, 42 },
47 43
@@ -52,21 +48,13 @@ @@ -52,21 +48,13 @@
52 "parentOrigin": "BOTTOM_CENTER", 48 "parentOrigin": "BOTTOM_CENTER",
53 "anchorPoint": "BOTTOM_CENTER", 49 "anchorPoint": "BOTTOM_CENTER",
54 "position": [0, 0, 0], 50 "position": [0, 0, 0],
55 - "size": [400, 200, 0], 51 + "widthResizePolicy":"FILL_TO_PARENT",
  52 + "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
  53 + "sizeModeFactor": [1,0.25,1],
56 "togglable": true, 54 "togglable": true,
57 - "unselectedStateImage": "{DEMO_IMAGE_DIR}blocks-brick-1.png",  
58 - "selectedStateImage": "{DEMO_IMAGE_DIR}blocks-brick-3.png",  
59 - "labelText": "Toggle",  
60 - "signals": [{  
61 - "name": "selected",  
62 - "action": "set",  
63 - "actor": "toggleButton",  
64 - "property": "labelActor",  
65 - "value": {  
66 - "type": "TextLabel",  
67 - "text": "Using a 9-patch image"  
68 - }  
69 - }] 55 + "unselectedStateImage": "{DEMO_IMAGE_DIR}button-up-6.9.png",
  56 + "selectedStateImage": "{DEMO_IMAGE_DIR}button-up-8.9.png",
  57 + "labelText": "Toggle With Custom Images"
70 } 58 }
71 ] 59 ]
72 } 60 }
resources/scripts/choreography.json deleted
1 -{  
2 - "templates":  
3 - {  
4 - "circleControl":  
5 - {  
6 - "type": "ImageActor",  
7 - "inheritPosition": true,  
8 - "size": [ 70, 70, 1 ],  
9 - "color": [ 0.85, 0.75, 0.45, 1 ],  
10 - "image": {  
11 - "filename": "{DEMO_IMAGE_DIR}circle.png"  
12 - }  
13 - },  
14 - "rectangleControl":  
15 - {  
16 - "type": "Control",  
17 - "size": [ 60, 60, 1 ],  
18 - "background": {"color": [0.95, 0.41, 0.18, 1] },  
19 - "colorAlpha": 0  
20 - }  
21 - },  
22 - "stage": [  
23 - {  
24 - "type": "Control",  
25 - "actors": [],  
26 - "name": "topContainer",  
27 - "position": [ 180, 105, 0 ],  
28 - "inheritPosition": true,  
29 - "size": [ 20, 20, 1 ],  
30 - "sizeAspectRatio": false,  
31 - "background": { "color": [0.85, 0.75, 0.45, 1] },  
32 - "colorAlpha": 0  
33 - },  
34 - {  
35 - "type": "circleControl",  
36 - "name": "Circle1",  
37 - "position": [ 84, 198, -1 ],  
38 - "signals": [  
39 - {  
40 - "name": "touched",  
41 - "action": "play",  
42 - "animation": "Animation_1"  
43 - }  
44 - ]  
45 - },  
46 - {  
47 - "type": "circleControl",  
48 - "name": "Circle2",  
49 - "position": [ 151, 198, -1 ]  
50 - },  
51 - {  
52 - "type": "circleControl",  
53 - "name": "Circle3",  
54 - "position": [ 285, 198, -1 ]  
55 - },  
56 - {  
57 - "type": "circleControl",  
58 - "name": "Circle4",  
59 - "position": [ 218, 198, -1 ]  
60 - },  
61 - {  
62 - "type": "rectangleControl",  
63 - "name": "Rect1",  
64 - "position": [ 50, 292, 0 ]  
65 - },  
66 - {  
67 - "type": "rectangleControl",  
68 - "name": "Rect2",  
69 - "position": [ 120, 292, 0 ]  
70 - },  
71 - {  
72 - "type": "rectangleControl",  
73 - "name": "Rect3",  
74 - "position": [ 190, 292, 0 ]  
75 - },  
76 - {  
77 - "type": "rectangleControl",  
78 - "name": "Rect4",  
79 - "position": [ 260, 292, 0 ]  
80 - }  
81 - ],  
82 - "animations": {  
83 - "Animation_1": {  
84 - "properties": [  
85 - {  
86 - "actor": "Circle1",  
87 - "property": "position",  
88 - "value": [ 84, 198, -1 ],  
89 - "alphaFunction": "LINEAR",  
90 - "timePeriod": {  
91 - "delay": 0,  
92 - "duration": 0.025  
93 - },  
94 - "timelineColor": "#d3e7fc"  
95 - },  
96 - {  
97 - "actor": "Circle1",  
98 - "property": "position",  
99 - "value": [ 130, 190, -1 ],  
100 - "alphaFunction": "LINEAR",  
101 - "timePeriod": {  
102 - "delay": 0,  
103 - "duration": 0.05  
104 - },  
105 - "timelineColor": "#d3e7fc"  
106 - },  
107 - {  
108 - "actor": "Circle1",  
109 - "property": "position",  
110 - "value": [ 150, 170, -1 ],  
111 - "alphaFunction": "LINEAR",  
112 - "timePeriod": {  
113 - "delay": 0.05,  
114 - "duration": 0.05  
115 - },  
116 - "timelineColor": "#d3e7fc"  
117 - },  
118 - {  
119 - "actor": "Circle1",  
120 - "property": "position",  
121 - "value": [ 160, 150, -1 ],  
122 - "alphaFunction": "LINEAR",  
123 - "timePeriod": {  
124 - "delay": 0.1,  
125 - "duration": 0.051  
126 - },  
127 - "timelineColor": "#d3e7fc"  
128 - },  
129 - {  
130 - "actor": "Circle1",  
131 - "property": "position",  
132 - "value": [ 170, 125, -1 ],  
133 - "alphaFunction": "LINEAR",  
134 - "timePeriod": {  
135 - "delay": 0.151,  
136 - "duration": 0.049  
137 - },  
138 - "timelineColor": "#d3e7fc"  
139 - },  
140 - {  
141 - "actor": "Circle1",  
142 - "property": "position",  
143 - "value": [ 180, 100, -1 ],  
144 - "alphaFunction": "LINEAR",  
145 - "timePeriod": {  
146 - "delay": 0.2,  
147 - "duration": 0.051  
148 - },  
149 - "timelineColor": "#d3e7fc"  
150 - },  
151 - {  
152 - "actor": "Circle1",  
153 - "property": "size",  
154 - "value": [ 70, 70, 1 ],  
155 - "alphaFunction": "LINEAR",  
156 - "timePeriod": {  
157 - "delay": 0,  
158 - "duration": 0.025  
159 - },  
160 - "timelineColor": "#d3e7fc"  
161 - },  
162 - {  
163 - "actor": "Circle1",  
164 - "property": "size",  
165 - "value": [ 20, 20, 1 ],  
166 - "alphaFunction": "LINEAR",  
167 - "timePeriod": {  
168 - "delay": 0.151,  
169 - "duration": 0.1  
170 - },  
171 - "timelineColor": "#d3e7fc"  
172 - },  
173 - {  
174 - "actor": "Circle2",  
175 - "property": "scale",  
176 - "value": [ 1, 1, 1 ],  
177 - "alphaFunction": "LINEAR",  
178 - "timePeriod": {  
179 - "delay": 0,  
180 - "duration": 0.025  
181 - },  
182 - "timelineColor": "#ec9685"  
183 - },  
184 - {  
185 - "actor": "Circle2",  
186 - "property": "scale",  
187 - "value": [ 0.1, 0.1, 1 ],  
188 - "alphaFunction": "LINEAR",  
189 - "timePeriod": {  
190 - "delay": 0,  
191 - "duration": 0.325  
192 - },  
193 - "timelineColor": "#ec9685"  
194 - },  
195 - {  
196 - "actor": "Circle4",  
197 - "property": "scale",  
198 - "value": [  
199 - 1,  
200 - 1,  
201 - 1  
202 - ],  
203 - "alphaFunction": "LINEAR",  
204 - "timePeriod": {  
205 - "delay": 0,  
206 - "duration": 0.025  
207 - },  
208 - "timelineColor": "#b28798"  
209 - },  
210 - {  
211 - "actor": "Circle4",  
212 - "property": "scale",  
213 - "value": [  
214 - 0.1,  
215 - 0.1,  
216 - 1  
217 - ],  
218 - "alphaFunction": "LINEAR",  
219 - "timePeriod": {  
220 - "delay": 0.049,  
221 - "duration": 0.301  
222 - },  
223 - "timelineColor": "#b28798"  
224 - },  
225 - {  
226 - "actor": "Circle3",  
227 - "property": "scale",  
228 - "value": [  
229 - 1,  
230 - 1,  
231 - 1  
232 - ],  
233 - "alphaFunction": "LINEAR",  
234 - "timePeriod": {  
235 - "delay": 0,  
236 - "duration": 0.025  
237 - },  
238 - "timelineColor": "#dedcc4"  
239 - },  
240 - {  
241 - "actor": "Circle3",  
242 - "property": "scale",  
243 - "value": [  
244 - 0.1,  
245 - 0.1,  
246 - 1  
247 - ],  
248 - "alphaFunction": "LINEAR",  
249 - "timePeriod": {  
250 - "delay": 0.1,  
251 - "duration": 0.272  
252 - },  
253 - "timelineColor": "#dedcc4"  
254 - },  
255 - {  
256 - "actor": "topContainer",  
257 - "property": "size",  
258 - "value": [  
259 - 20,  
260 - 20,  
261 - 1  
262 - ],  
263 - "alphaFunction": "LINEAR",  
264 - "timePeriod": {  
265 - "delay": 0,  
266 - "duration": 0.025  
267 - },  
268 - "timelineColor": "#acfc99"  
269 - },  
270 - {  
271 - "actor": "topContainer",  
272 - "property": "size",  
273 - "value": [  
274 - 360,  
275 - 210,  
276 - 1  
277 - ],  
278 - "alphaFunction": "LINEAR",  
279 - "timePeriod": {  
280 - "delay": 0.227,  
281 - "duration": 0.122  
282 - },  
283 - "timelineColor": "#acfc99"  
284 - },  
285 - {  
286 - "actor": "topContainer",  
287 - "property": "colorAlpha",  
288 - "value": 0,  
289 - "alphaFunction": "LINEAR",  
290 - "timePeriod": {  
291 - "delay": 0,  
292 - "duration": 0.025  
293 - },  
294 - "timelineColor": "#acfc99"  
295 - },  
296 - {  
297 - "actor": "topContainer",  
298 - "property": "colorAlpha",  
299 - "value": 1,  
300 - "alphaFunction": "LINEAR",  
301 - "timePeriod": {  
302 - "delay": 0.101,  
303 - "duration": 0.249  
304 - },  
305 - "timelineColor": "#acfc99"  
306 - },  
307 - {  
308 - "actor": "Rect1",  
309 - "property": "position",  
310 - "value": [  
311 - 50,  
312 - 280,  
313 - 0  
314 - ],  
315 - "alphaFunction": "LINEAR",  
316 - "timePeriod": {  
317 - "delay": 0.1,  
318 - "duration": 0.075  
319 - },  
320 - "timelineColor": "#8c9ab4"  
321 - },  
322 - {  
323 - "actor": "Rect1",  
324 - "property": "position",  
325 - "value": [  
326 - 70,  
327 - 260,  
328 - 0  
329 - ],  
330 - "alphaFunction": "LINEAR",  
331 - "timePeriod": {  
332 - "delay": 0.175,  
333 - "duration": 0.075  
334 - },  
335 - "timelineColor": "#8c9ab4"  
336 - },  
337 - {  
338 - "actor": "Rect1",  
339 - "property": "position",  
340 - "value": [  
341 - 75,  
342 - 250,  
343 - 0  
344 - ],  
345 - "alphaFunction": "LINEAR",  
346 - "timePeriod": {  
347 - "delay": 0.25,  
348 - "duration": 0.075  
349 - },  
350 - "timelineColor": "#8c9ab4"  
351 - },  
352 - {  
353 - "actor": "Rect1",  
354 - "property": "colorAlpha",  
355 - "value": 0,  
356 - "alphaFunction": "LINEAR",  
357 - "timePeriod": {  
358 - "delay": 0,  
359 - "duration": 0.025  
360 - },  
361 - "timelineColor": "#8c9ab4"  
362 - },  
363 - {  
364 - "actor": "Rect1",  
365 - "property": "colorAlpha",  
366 - "value": 1,  
367 - "alphaFunction": "LINEAR",  
368 - "timePeriod": {  
369 - "delay": 0,  
370 - "duration": 0.325  
371 - },  
372 - "timelineColor": "#8c9ab4"  
373 - },  
374 - {  
375 - "actor": "Rect2",  
376 - "property": "position",  
377 - "value": [  
378 - 120,  
379 - 280,  
380 - 0  
381 - ],  
382 - "alphaFunction": "LINEAR",  
383 - "timePeriod": {  
384 - "delay": 0.148,  
385 - "duration": 0.077  
386 - },  
387 - "timelineColor": "#e8f4c7"  
388 - },  
389 - {  
390 - "actor": "Rect2",  
391 - "property": "position",  
392 - "value": [  
393 - 140,  
394 - 260,  
395 - 0  
396 - ],  
397 - "alphaFunction": "LINEAR",  
398 - "timePeriod": {  
399 - "delay": 0.225,  
400 - "duration": 0.075  
401 - },  
402 - "timelineColor": "#e8f4c7"  
403 - },  
404 - {  
405 - "actor": "Rect2",  
406 - "property": "position",  
407 - "value": [  
408 - 145,  
409 - 250,  
410 - 0  
411 - ],  
412 - "alphaFunction": "LINEAR",  
413 - "timePeriod": {  
414 - "delay": 0.3,  
415 - "duration": 0.072  
416 - },  
417 - "timelineColor": "#e8f4c7"  
418 - },  
419 - {  
420 - "actor": "Rect2",  
421 - "property": "colorAlpha",  
422 - "value": 0,  
423 - "alphaFunction": "LINEAR",  
424 - "timePeriod": {  
425 - "delay": 0,  
426 - "duration": 0.025  
427 - },  
428 - "timelineColor": "#e8f4c7"  
429 - },  
430 - {  
431 - "actor": "Rect2",  
432 - "property": "colorAlpha",  
433 - "value": 1,  
434 - "alphaFunction": "LINEAR",  
435 - "timePeriod": {  
436 - "delay": 0.05,  
437 - "duration": 0.322  
438 - },  
439 - "timelineColor": "#e8f4c7"  
440 - },  
441 - {  
442 - "actor": "Rect3",  
443 - "property": "position",  
444 - "value": [  
445 - 190,  
446 - 280,  
447 - 0  
448 - ],  
449 - "alphaFunction": "LINEAR",  
450 - "timePeriod": {  
451 - "delay": 0.2,  
452 - "duration": 0.074  
453 - },  
454 - "timelineColor": "#f39db5"  
455 - },  
456 - {  
457 - "actor": "Rect3",  
458 - "property": "position",  
459 - "value": [  
460 - 210,  
461 - 260,  
462 - 0  
463 - ],  
464 - "alphaFunction": "LINEAR",  
465 - "timePeriod": {  
466 - "delay": 0.274,  
467 - "duration": 0.073  
468 - },  
469 - "timelineColor": "#f39db5"  
470 - },  
471 - {  
472 - "actor": "Rect3",  
473 - "property": "position",  
474 - "value": [  
475 - 215,  
476 - 250,  
477 - 0  
478 - ],  
479 - "alphaFunction": "LINEAR",  
480 - "timePeriod": {  
481 - "delay": 0.347,  
482 - "duration": 0.078  
483 - },  
484 - "timelineColor": "#f39db5"  
485 - },  
486 - {  
487 - "actor": "Rect3",  
488 - "property": "colorAlpha",  
489 - "value": 0,  
490 - "alphaFunction": "LINEAR",  
491 - "timePeriod": {  
492 - "delay": 0,  
493 - "duration": 0.025  
494 - },  
495 - "timelineColor": "#f39db5"  
496 - },  
497 - {  
498 - "actor": "Rect3",  
499 - "property": "colorAlpha",  
500 - "value": 1,  
501 - "alphaFunction": "LINEAR",  
502 - "timePeriod": {  
503 - "delay": 0.099,  
504 - "duration": 0.326  
505 - },  
506 - "timelineColor": "#f39db5"  
507 - },  
508 - {  
509 - "actor": "Rect4",  
510 - "property": "position",  
511 - "value": [  
512 - 260,  
513 - 280,  
514 - 0  
515 - ],  
516 - "alphaFunction": "LINEAR",  
517 - "timePeriod": {  
518 - "delay": 0.251,  
519 - "duration": 0.075  
520 - },  
521 - "timelineColor": "#a99ec0"  
522 - },  
523 - {  
524 - "actor": "Rect4",  
525 - "property": "position",  
526 - "value": [  
527 - 280,  
528 - 260,  
529 - 0  
530 - ],  
531 - "alphaFunction": "LINEAR",  
532 - "timePeriod": {  
533 - "delay": 0.326,  
534 - "duration": 0.074  
535 - },  
536 - "timelineColor": "#a99ec0"  
537 - },  
538 - {  
539 - "actor": "Rect4",  
540 - "property": "position",  
541 - "value": [  
542 - 285,  
543 - 250,  
544 - 0  
545 - ],  
546 - "alphaFunction": "LINEAR",  
547 - "timePeriod": {  
548 - "delay": 0.4,  
549 - "duration": 0.075  
550 - },  
551 - "timelineColor": "#a99ec0"  
552 - },  
553 - {  
554 - "actor": "Rect4",  
555 - "property": "colorAlpha",  
556 - "value": 0,  
557 - "alphaFunction": "LINEAR",  
558 - "timePeriod": {  
559 - "delay": 0,  
560 - "duration": 0.025  
561 - },  
562 - "timelineColor": "#a99ec0"  
563 - },  
564 - {  
565 - "actor": "Rect4",  
566 - "property": "colorAlpha",  
567 - "value": 1,  
568 - "alphaFunction": "LINEAR",  
569 - "timePeriod": {  
570 - "delay": 0.148,  
571 - "duration": 0.327  
572 - },  
573 - "timelineColor": "#a99ec0"  
574 - }  
575 - ],  
576 - "page": ""  
577 - }  
578 - },  
579 - "connections": {  
580 - "Named_conn_1": {  
581 - "id": "_191kt3qlr075",  
582 - "name": "Named_conn_1",  
583 - "target": {  
584 - "type": "animation",  
585 - "name": "Animation_1",  
586 - "action": "play"  
587 - },  
588 - "sources": [  
589 - "Circle1"  
590 - ],  
591 - "signal": "click"  
592 - }  
593 - },  
594 - "constants": {},  
595 - "styles": {},  
596 - "deviceHeight": 430,  
597 - "deviceWidth": 360,  
598 - "deviceOrientation": "portrait",  
599 - "version": "781"  
600 -}  
resources/scripts/clock.json
@@ -7,7 +7,10 @@ @@ -7,7 +7,10 @@
7 "position": [0, 0, -2], 7 "position": [0, 0, -2],
8 "parentOrigin": [0.5, 0.5, 0.5], 8 "parentOrigin": [0.5, 0.5, 0.5],
9 "anchorPoint": [0.5, 1, 0.5], 9 "anchorPoint": [0.5, 1, 0.5],
10 - "background": { "color": [0.71, 0, 0, 1] }, 10 + "background": {
  11 + "rendererType": "color",
  12 + "blendColor": [0.71, 0, 0, 1]
  13 + },
11 "selected": false, 14 "selected": false,
12 "signals": [ 15 "signals": [
13 { 16 {
@@ -23,7 +26,10 @@ @@ -23,7 +26,10 @@
23 "position": [0, 0, -2], 26 "position": [0, 0, -2],
24 "parentOrigin": [0.5, 0.5, 0.5], 27 "parentOrigin": [0.5, 0.5, 0.5],
25 "anchorPoint": [0.5, 1, 0.5], 28 "anchorPoint": [0.5, 1, 0.5],
26 - "background": { "color": [0, 0.14200000000000013, 0.71, 0.7] }, 29 + "background": {
  30 + "rendererType": "color",
  31 + "blendColor": [0, 0.14200000000000013, 0.71, 0.7]
  32 + },
27 "signals": [ 33 "signals": [
28 { 34 {
29 "name": "onStage", 35 "name": "onStage",
@@ -38,7 +44,10 @@ @@ -38,7 +44,10 @@
38 "position": [0, 0, 0], 44 "position": [0, 0, 0],
39 "parentOrigin": [0.5, 0.5, 0.5], 45 "parentOrigin": [0.5, 0.5, 0.5],
40 "anchorPoint": [0.5, 1, 0.5], 46 "anchorPoint": [0.5, 1, 0.5],
41 - "background": { "color": [0.057450000000000064, 0.3, 0.0030000000000000027, 0.7] }, 47 + "background": {
  48 + "rendererType": "color",
  49 + "blendColor": [0.057450000000000064, 0.3, 0.0030000000000000027, 0.7]
  50 + },
42 "signals": [ 51 "signals": [
43 { 52 {
44 "name": "onStage", 53 "name": "onStage",
resources/scripts/contacts.json deleted
1 -{  
2 - "stage": [  
3 - {  
4 - "type": "Control",  
5 - "background": {"color": [ 1, 1, 1, 1 ]},  
6 - "parentOrigin": "TOP_LEFT",  
7 - "anchorPoint": "TOP_LEFT",  
8 - "drawMode": "STENCIL",  
9 - "size": [ 360, 630, 0 ]  
10 - },  
11 - {  
12 - "type": "ImageActor",  
13 - "actors": [],  
14 - "name": "Image 1",  
15 - "position": [  
16 - 181,  
17 - 317,  
18 - -1  
19 - ],  
20 - "inheritPosition": true,  
21 - "size": [  
22 - 360,  
23 - 640,  
24 - 1  
25 - ],  
26 - "sizeAspectRatio": false,  
27 - "image": {  
28 - "filename": "{DEMO_IMAGE_DIR}contacts-main.png",  
29 - "width": 361,  
30 - "height": 640,  
31 - "loadPolicy": "IMMEDIATE",  
32 - "releasePolicy": "NEVER"  
33 - },  
34 - "signals": [  
35 - {  
36 - "name": "touched",  
37 - "action": "play",  
38 - "animation": "Animation_1"  
39 - }  
40 - ]  
41 - },  
42 - {  
43 - "type": "ImageActor",  
44 - "actors": [],  
45 - "name": "Image 2",  
46 - "position": [  
47 - 541,  
48 - 139,  
49 - 0  
50 - ],  
51 - "inheritPosition": true,  
52 - "size": [  
53 - 360,  
54 - 282,  
55 - 1  
56 - ],  
57 - "sizeAspectRatio": false,  
58 - "image": {  
59 - "filename": "{DEMO_IMAGE_DIR}contacts-background.png",  
60 - "width": 360,  
61 - "height": 282,  
62 - "loadPolicy": "IMMEDIATE",  
63 - "releasePolicy": "NEVER"  
64 - }  
65 - },  
66 - {  
67 - "type": "Control",  
68 - "actors": [],  
69 - "name": "Container 1",  
70 - "position": [  
71 - 179.51602487416508,  
72 - 824.0520479877184,  
73 - 0  
74 - ],  
75 - "inheritPosition": true,  
76 - "size": [  
77 - 393.04,  
78 - 378.08,  
79 - 1  
80 - ],  
81 - "sizeAspectRatio": false,  
82 - "background": {"color": [ 1, 1, 1, 1 ]},  
83 - "color": [  
84 - 1,  
85 - 1,  
86 - 1,  
87 - 0.815  
88 - ]  
89 - },  
90 - {  
91 - "type": "ImageActor",  
92 - "actors": [],  
93 - "name": "Image 7",  
94 - "position": [  
95 - 43.50213893798224,  
96 - 402.004657366638,  
97 - 1  
98 - ],  
99 - "inheritPosition": true,  
100 - "size": [  
101 - 53,  
102 - 52,  
103 - 1  
104 - ],  
105 - "sizeAspectRatio": false,  
106 - "image": {  
107 - "filename": "{DEMO_IMAGE_DIR}contacts-image.png",  
108 - "width": 53,  
109 - "height": 52,  
110 - "loadPolicy": "IMMEDIATE",  
111 - "releasePolicy": "NEVER"  
112 - }  
113 - },  
114 - {  
115 - "type": "ImageActor",  
116 - "actors": [],  
117 - "name": "Textinput 1",  
118 - "position": [  
119 - 151,  
120 - 405,  
121 - 1  
122 - ],  
123 - "inheritPosition": true,  
124 - "size": [  
125 - 152.89,  
126 - 24.33,  
127 - 1  
128 - ],  
129 - "sizeAspectRatio": false,  
130 - "markupEnabled": true,  
131 - "color": [  
132 - 0.2,  
133 - 0.2,  
134 - 0.2,  
135 - 1  
136 - ],  
137 - "image": {  
138 - "filename": "{DEMO_IMAGE_DIR}contacts-text.png"  
139 - }  
140 - },  
141 - {  
142 - "type": "ImageActor",  
143 - "actors": [],  
144 - "name": "Image 11",  
145 - "position": [  
146 - 328.0154985718759,  
147 - 611.5127067356418,  
148 - 1  
149 - ],  
150 - "inheritPosition": true,  
151 - "size": [  
152 - 80,  
153 - 71,  
154 - 1  
155 - ],  
156 - "sizeAspectRatio": false,  
157 - "image": {  
158 - "filename": "{DEMO_IMAGE_DIR}contacts-add.png",  
159 - "width": 80,  
160 - "height": 71,  
161 - "loadPolicy": "IMMEDIATE",  
162 - "releasePolicy": "NEVER"  
163 - }  
164 - },  
165 - {  
166 - "type": "ImageActor",  
167 - "actors": [],  
168 - "name": "Image 3",  
169 - "position": [  
170 - 181.00193136172533,  
171 - 677.5051724136168,  
172 - 0  
173 - ],  
174 - "inheritPosition": true,  
175 - "size": [  
176 - 360,  
177 - 77,  
178 - 1  
179 - ],  
180 - "sizeAspectRatio": false,  
181 - "image": {  
182 - "filename": "{DEMO_IMAGE_DIR}contacts-messenger.png",  
183 - "width": 360,  
184 - "height": 77,  
185 - "loadPolicy": "IMMEDIATE",  
186 - "releasePolicy": "NEVER"  
187 - }  
188 - },  
189 - {  
190 - "type": "ImageActor",  
191 - "actors": [],  
192 - "name": "Image 4",  
193 - "position": [  
194 - 181.01420620981605,  
195 - 704.5075140543304,  
196 - 0  
197 - ],  
198 - "inheritPosition": true,  
199 - "size": [  
200 - 360,  
201 - 79,  
202 - 1  
203 - ],  
204 - "sizeAspectRatio": false,  
205 - "image": {  
206 - "filename": "{DEMO_IMAGE_DIR}contacts-email.png",  
207 - "width": 360,  
208 - "height": 79,  
209 - "loadPolicy": "IMMEDIATE",  
210 - "releasePolicy": "NEVER"  
211 - }  
212 - },  
213 - {  
214 - "type": "ImageActor",  
215 - "actors": [],  
216 - "name": "Image 5",  
217 - "position": [  
218 - 181.00407437387986,  
219 - 727.0088875903122,  
220 - 0  
221 - ],  
222 - "inheritPosition": true,  
223 - "size": [  
224 - 360,  
225 - 80,  
226 - 1  
227 - ],  
228 - "sizeAspectRatio": false,  
229 - "image": {  
230 - "filename": "{DEMO_IMAGE_DIR}contacts-mobile.png",  
231 - "width": 360,  
232 - "height": 80,  
233 - "loadPolicy": "IMMEDIATE",  
234 - "releasePolicy": "NEVER"  
235 - }  
236 - },  
237 - {  
238 - "type": "ImageActor",  
239 - "actors": [],  
240 - "name": "Image 6",  
241 - "position": [  
242 - 181.00990662214662,  
243 - 749.5101801844454,  
244 - 0  
245 - ],  
246 - "inheritPosition": true,  
247 - "size": [  
248 - 360,  
249 - 75,  
250 - 1  
251 - ],  
252 - "sizeAspectRatio": false,  
253 - "image": {  
254 - "filename": "{DEMO_IMAGE_DIR}contacts-home.png",  
255 - "width": 360,  
256 - "height": 75,  
257 - "loadPolicy": "IMMEDIATE",  
258 - "releasePolicy": "NEVER"  
259 - }  
260 - },  
261 - {  
262 - "type": "ImageActor",  
263 - "actors": [],  
264 - "name": "Image 9",  
265 - "position": [  
266 - -15.508874240447994,  
267 - 50.289953613295076,  
268 - 1  
269 - ],  
270 - "inheritPosition": true,  
271 - "size": [  
272 - 25,  
273 - 20.55,  
274 - 1  
275 - ],  
276 - "sizeAspectRatio": false,  
277 - "image": {  
278 - "filename": "{DEMO_IMAGE_DIR}contacts-circle.png",  
279 - "width": 100,  
280 - "height": 100,  
281 - "loadPolicy": "IMMEDIATE",  
282 - "releasePolicy": "NEVER"  
283 - }  
284 - },  
285 - {  
286 - "type": "ImageActor",  
287 - "actors": [],  
288 - "name": "Image 10",  
289 - "position": [  
290 - 179.99998576619936,  
291 - 817.499887599389,  
292 - 0  
293 - ],  
294 - "inheritPosition": true,  
295 - "size": [  
296 - 360,  
297 - 77,  
298 - 1  
299 - ],  
300 - "sizeAspectRatio": false,  
301 - "image": {  
302 - "filename": "{DEMO_IMAGE_DIR}contacts-plain.png",  
303 - "width": 360,  
304 - "height": 77,  
305 - "loadPolicy": "IMMEDIATE",  
306 - "releasePolicy": "NEVER"  
307 - }  
308 - },  
309 - {  
310 - "type": "Control",  
311 - "actors": [],  
312 - "name": "Container 2",  
313 - "position": [  
314 - -346.36,  
315 - 401.485,  
316 - 0  
317 - ],  
318 - "inheritPosition": true,  
319 - "size": [  
320 - 693.96,  
321 - 84.97,  
322 - 1  
323 - ],  
324 - "sizeAspectRatio": false,  
325 - "background": {"color": [  
326 - 0.788235294117647,  
327 - 0.7647058823529411,  
328 - 0.7647058823529411,  
329 - 1  
330 - ] },  
331 - "color": [  
332 - 0.788235294117647,  
333 - 0.7647058823529411,  
334 - 0.7647058823529411,  
335 - 0.293  
336 - ]  
337 - }  
338 - ],  
339 - "animations": {  
340 - "Animation_1": {  
341 - "properties": [  
342 - {  
343 - "actor": "Image 11",  
344 - "property": "position",  
345 - "value": [  
346 - 518.01,  
347 - 609.5059654033565,  
348 - 1  
349 - ],  
350 - "alphaFunction": "LINEAR",  
351 - "timePeriod": {  
352 - "delay": 0.503,  
353 - "duration": 0.005  
354 - },  
355 - "timelineColor": "#c09183"  
356 - },  
357 - {  
358 - "actor": "Image 11",  
359 - "property": "size",  
360 - "value": [  
361 - 20,  
362 - 20,  
363 - 1  
364 - ],  
365 - "alphaFunction": "LINEAR",  
366 - "timePeriod": {  
367 - "delay": 4.071,  
368 - "duration": 0.005  
369 - },  
370 - "timelineColor": "#c09183"  
371 - },  
372 - {  
373 - "actor": "Image 11",  
374 - "property": "size",  
375 - "value": [  
376 - 80,  
377 - 71,  
378 - 1  
379 - ],  
380 - "alphaFunction": "LINEAR",  
381 - "timePeriod": {  
382 - "delay": 4.498,  
383 - "duration": 0.3  
384 - },  
385 - "timelineColor": "#c09183"  
386 - },  
387 - {  
388 - "actor": "Image 11",  
389 - "property": "position",  
390 - "value": [  
391 - 328.0132503804675,  
392 - 611.5150431968526,  
393 - 1  
394 - ],  
395 - "alphaFunction": "LINEAR",  
396 - "timePeriod": {  
397 - "delay": 4.498,  
398 - "duration": 0.005  
399 - },  
400 - "timelineColor": "#c09183"  
401 - },  
402 - {  
403 - "actor": "Image 7",  
404 - "property": "position",  
405 - "value": [  
406 - 47.5,  
407 - 239.01,  
408 - 1  
409 - ],  
410 - "alphaFunction": "LINEAR",  
411 - "timePeriod": {  
412 - "delay": 1.22,  
413 - "duration": 0.396  
414 - },  
415 - "timelineColor": "#9d96bc"  
416 - },  
417 - {  
418 - "actor": "Image 7",  
419 - "property": "position",  
420 - "value": [  
421 - 43.5,  
422 - 402,  
423 - 1  
424 - ],  
425 - "alphaFunction": "LINEAR",  
426 - "timePeriod": {  
427 - "delay": 4.437,  
428 - "duration": 0.396  
429 - },  
430 - "timelineColor": "#9d96bc"  
431 - },  
432 - {  
433 - "actor": "Textinput 1",  
434 - "property": "position",  
435 - "value": [  
436 - 170,  
437 - 242,  
438 - 1  
439 - ],  
440 - "alphaFunction": "LINEAR",  
441 - "timePeriod": {  
442 - "delay": 1.22,  
443 - "duration": 0.395  
444 - },  
445 - "timelineColor": "#ae85bf"  
446 - },  
447 - {  
448 - "actor": "Textinput 1",  
449 - "property": "color",  
450 - "value": [  
451 - 1,  
452 - 1,  
453 - 1,  
454 - 1  
455 - ],  
456 - "alphaFunction": "LINEAR",  
457 - "timePeriod": {  
458 - "delay": 1.22,  
459 - "duration": 0.395  
460 - },  
461 - "timelineColor": "#ae85ba"  
462 - },  
463 - {  
464 - "actor": "Textinput 1",  
465 - "property": "size",  
466 - "value": [  
467 - 200.89,  
468 - 35.33,  
469 - 1  
470 - ],  
471 - "alphaFunction": "LINEAR",  
472 - "timePeriod": {  
473 - "delay": 1.22,  
474 - "duration": 0.395  
475 - },  
476 - "timelineColor": "#ae85ba"  
477 - },  
478 - {  
479 - "actor": "Textinput 1",  
480 - "property": "position",  
481 - "value": [  
482 - 151,  
483 - 405,  
484 - 1  
485 - ],  
486 - "alphaFunction": "LINEAR",  
487 - "timePeriod": {  
488 - "delay": 4.435,  
489 - "duration": 0.395  
490 - },  
491 - "timelineColor": "#ae85bf"  
492 - },  
493 - {  
494 - "actor": "Textinput 1",  
495 - "property": "color",  
496 - "value": [  
497 - 0.2,  
498 - 0.2,  
499 - 0.2,  
500 - 1  
501 - ],  
502 - "alphaFunction": "LINEAR",  
503 - "timePeriod": {  
504 - "delay": 4.435,  
505 - "duration": 0.395  
506 - },  
507 - "timelineColor": "#ae85ba"  
508 - },  
509 - {  
510 - "actor": "Textinput 1",  
511 - "property": "size",  
512 - "value": [  
513 - 152.89,  
514 - 24.33,  
515 - 1  
516 - ],  
517 - "alphaFunction": "LINEAR",  
518 - "timePeriod": {  
519 - "delay": 4.435,  
520 - "duration": 0.395  
521 - },  
522 - "timelineColor": "#ae85aa"  
523 - },  
524 - {  
525 - "actor": "Image 2",  
526 - "property": "position",  
527 - "value": [  
528 - 181.01,  
529 - 138.98,  
530 - 0  
531 - ],  
532 - "alphaFunction": "LINEAR",  
533 - "timePeriod": {  
534 - "delay": 1.222,  
535 - "duration": 0.391  
536 - },  
537 - "timelineColor": "#b5b5ab"  
538 - },  
539 - {  
540 - "actor": "Image 2",  
541 - "property": "position",  
542 - "value": [  
543 - 581.01,  
544 - 138.98,  
545 - 0  
546 - ],  
547 - "alphaFunction": "LINEAR",  
548 - "timePeriod": {  
549 - "delay": 4.435,  
550 - "duration": 0.391  
551 - },  
552 - "timelineColor": "#b5b5ab"  
553 - },  
554 - {  
555 - "actor": "Image 3",  
556 - "property": "position",  
557 - "value": [  
558 - 181.0109534868741,  
559 - 320.50795521899136,  
560 - 0  
561 - ],  
562 - "alphaFunction": "LINEAR",  
563 - "timePeriod": {  
564 - "delay": 1.346,  
565 - "duration": 0.372  
566 - },  
567 - "timelineColor": "#94cea8"  
568 - },  
569 - {  
570 - "actor": "Image 3",  
571 - "property": "position",  
572 - "value": [  
573 - 181.0109534868741,  
574 - 677.51,  
575 - 0  
576 - ],  
577 - "alphaFunction": "LINEAR",  
578 - "timePeriod": {  
579 - "delay": 4.34,  
580 - "duration": 0.372  
581 - },  
582 - "timelineColor": "#94cea8"  
583 - },  
584 - {  
585 - "actor": "Image 4",  
586 - "property": "position",  
587 - "value": [  
588 - 181,  
589 - 395.5,  
590 - 0  
591 - ],  
592 - "alphaFunction": "LINEAR",  
593 - "timePeriod": {  
594 - "delay": 1.432,  
595 - "duration": 0.39  
596 - },  
597 - "timelineColor": "#fccbed"  
598 - },  
599 - {  
600 - "actor": "Image 4",  
601 - "property": "position",  
602 - "value": [  
603 - 181,  
604 - 704.5,  
605 - 0  
606 - ],  
607 - "alphaFunction": "LINEAR",  
608 - "timePeriod": {  
609 - "delay": 4.218,  
610 - "duration": 0.39  
611 - },  
612 - "timelineColor": "#fccbed"  
613 - },  
614 - {  
615 - "actor": "Image 5",  
616 - "property": "position",  
617 - "value": [  
618 - 181,  
619 - 470.01,  
620 - 0  
621 - ],  
622 - "alphaFunction": "LINEAR",  
623 - "timePeriod": {  
624 - "delay": 1.543,  
625 - "duration": 0.385  
626 - },  
627 - "timelineColor": "#c09ece"  
628 - },  
629 - {  
630 - "actor": "Image 5",  
631 - "property": "position",  
632 - "value": [  
633 - 181,  
634 - 727.01,  
635 - 0  
636 - ],  
637 - "alphaFunction": "LINEAR",  
638 - "timePeriod": {  
639 - "delay": 4.11,  
640 - "duration": 0.385  
641 - },  
642 - "timelineColor": "#c09ece"  
643 - },  
644 - {  
645 - "actor": "Image 6",  
646 - "property": "position",  
647 - "value": [  
648 - 181,  
649 - 541.5,  
650 - 0  
651 - ],  
652 - "alphaFunction": "LINEAR",  
653 - "timePeriod": {  
654 - "delay": 1.635,  
655 - "duration": 0.406  
656 - },  
657 - "timelineColor": "#cfacc6"  
658 - },  
659 - {  
660 - "actor": "Image 6",  
661 - "property": "position",  
662 - "value": [  
663 - 181,  
664 - 749.5,  
665 - 0  
666 - ],  
667 - "alphaFunction": "LINEAR",  
668 - "timePeriod": {  
669 - "delay": 3.993,  
670 - "duration": 0.406  
671 - },  
672 - "timelineColor": "#cfacc6"  
673 - },  
674 - {  
675 - "actor": "Image 10",  
676 - "property": "position",  
677 - "value": [  
678 - 179.99303595684773,  
679 - 608.5139116202711,  
680 - 0  
681 - ],  
682 - "alphaFunction": "LINEAR",  
683 - "timePeriod": {  
684 - "delay": 1.726,  
685 - "duration": 0.435  
686 - },  
687 - "timelineColor": "#84d89f"  
688 - },  
689 - {  
690 - "actor": "Image 10",  
691 - "property": "position",  
692 - "value": [  
693 - 179.99303595684773,  
694 - 817.51,  
695 - 0  
696 - ],  
697 - "alphaFunction": "LINEAR",  
698 - "timePeriod": {  
699 - "delay": 3.865,  
700 - "duration": 0.435  
701 - },  
702 - "timelineColor": "#84d89f"  
703 - },  
704 - {  
705 - "actor": "Image 9",  
706 - "property": "position",  
707 - "value": [  
708 - 25,  
709 - 48.280475138643396,  
710 - 1  
711 - ],  
712 - "alphaFunction": "LINEAR",  
713 - "timePeriod": {  
714 - "delay": 2.66,  
715 - "duration": 0.005  
716 - },  
717 - "timelineColor": "#c79ccd"  
718 - },  
719 - {  
720 - "actor": "Image 9",  
721 - "property": "position",  
722 - "value": [  
723 - -41.5,  
724 - 48.280475138643396,  
725 - 1  
726 - ],  
727 - "alphaFunction": "LINEAR",  
728 - "timePeriod": {  
729 - "delay": 2.851,  
730 - "duration": 0.008  
731 - },  
732 - "timelineColor": "#c79ccd"  
733 - },  
734 - {  
735 - "actor": "Image 9",  
736 - "property": "size",  
737 - "value": [  
738 - 80,  
739 - 80,  
740 - 1  
741 - ],  
742 - "alphaFunction": "LINEAR",  
743 - "timePeriod": {  
744 - "delay": 2.665,  
745 - "duration": 1.187  
746 - },  
747 - "timelineColor": "#c79ccd"  
748 - },  
749 - {  
750 - "actor": "Container 1",  
751 - "property": "position",  
752 - "value": [  
753 - 181.52411554172681,  
754 - 470.05397482417106,  
755 - 0  
756 - ],  
757 - "alphaFunction": "LINEAR",  
758 - "timePeriod": {  
759 - "delay": 1.031,  
760 - "duration": 0.561  
761 - },  
762 - "timelineColor": "#9fb2e5"  
763 - },  
764 - {  
765 - "actor": "Container 1",  
766 - "property": "position",  
767 - "value": [  
768 - 585.5409448696578,  
769 - 467.042499801712,  
770 - 0  
771 - ],  
772 - "alphaFunction": "LINEAR",  
773 - "timePeriod": {  
774 - "delay": 4.342,  
775 - "duration": 0.005  
776 - },  
777 - "timelineColor": "#9fb2e5"  
778 - },  
779 - {  
780 - "actor": "Container 2",  
781 - "property": "position",  
782 - "value": [  
783 - 770.32,  
784 - 402.425,  
785 - 0  
786 - ],  
787 - "alphaFunction": "LINEAR",  
788 - "timePeriod": {  
789 - "delay": 0,  
790 - "duration": 0.904  
791 - },  
792 - "timelineColor": "#d9c087"  
793 - }  
794 - ],  
795 - "page": ""  
796 - }  
797 - },  
798 - "connections": {  
799 - "Named_conn_1": {  
800 - "id": "_191ssaipk029",  
801 - "name": "Named_conn_1",  
802 - "target": {  
803 - "type": "animation",  
804 - "name": "Animation_1",  
805 - "action": "play"  
806 - },  
807 - "sources": [  
808 - "Image 1"  
809 - ],  
810 - "signal": "click"  
811 - }  
812 - },  
813 - "constants": {},  
814 - "styles": {},  
815 - "deviceHeight": 630,  
816 - "deviceWidth": 360,  
817 - "deviceOrientation": "portrait",  
818 - "version": "781"  
819 -}  
resources/scripts/gallery.json deleted
1 -{  
2 - "templates":  
3 - {  
4 - "selectionType":  
5 - {  
6 - "type": "Control",  
7 - "background": {"color": [ 1, 0.5, 0, 0.6 ]},  
8 - "colorAlpha": 0.05,  
9 - "parentOrigin": "CENTER",  
10 - "anchorPoint": "CENTER",  
11 - "size": [ 450, 90, 1 ]  
12 - },  
13 - "imageType":  
14 - {  
15 - "type": "ImageActor",  
16 - "position": [ 450, 0, 1 ],  
17 - "parentOrigin": "CENTER",  
18 - "anchorPoint": "CENTER",  
19 - "size": [ 450, 795, 1 ],  
20 - "actors": [  
21 - {  
22 - "type": "Control",  
23 - "positionInheritance": "USE_PARENT_POSITION",  
24 - "size": [ 450, 795, 1 ],  
25 - "signals": [  
26 - {  
27 - "name": "tapped",  
28 - "action": "play",  
29 - "animation": "BackAnimation"  
30 - }  
31 - ]  
32 - }  
33 - ]  
34 - }  
35 - },  
36 - "stage": [  
37 - {  
38 - "type": "Control",  
39 - "name": "stencil",  
40 - "background": {"color": [ 1, 1, 1, 1 ]},  
41 - "parentOrigin": "CENTER",  
42 - "anchorPoint": "CENTER",  
43 - "drawMode": "STENCIL",  
44 - "size": [ 450, 795, 0 ],  
45 - "positionZ": 0.1  
46 - },  
47 - {  
48 - "type": "ImageActor",  
49 - "actors": [],  
50 - "name": "list",  
51 - "parentOrigin": "CENTER",  
52 - "anchorPoint": "CENTER",  
53 - "position": [ 0, 0, -1 ],  
54 - "size": [ 450, 795, 1 ],  
55 - "image": {  
56 - "filename": "{DEMO_IMAGE_DIR}animation-list.png"  
57 - }  
58 - },  
59 - {  
60 - "type": "selectionType",  
61 - "name": "selection1",  
62 - "positionY": -105,  
63 - "signals": [  
64 - {  
65 - "name": "tapped",  
66 - "action": "play",  
67 - "animation": "Animation_1"  
68 - }  
69 - ]  
70 - },  
71 - {  
72 - "type": "selectionType",  
73 - "name": "selection2",  
74 - "positionY": -15,  
75 - "signals": [  
76 - {  
77 - "name": "tapped",  
78 - "action": "play",  
79 - "animation": "Animation_2"  
80 - }  
81 - ]  
82 - },  
83 - {  
84 - "type": "selectionType",  
85 - "name": "selection3",  
86 - "positionY": 75,  
87 - "signals": [  
88 - {  
89 - "name": "tapped",  
90 - "action": "play",  
91 - "animation": "Animation_3"  
92 - }  
93 - ]  
94 - },  
95 - {  
96 - "type": "selectionType",  
97 - "name": "selection4",  
98 - "positionY": 165,  
99 - "signals": [  
100 - {  
101 - "name": "tapped",  
102 - "action": "play",  
103 - "animation": "Animation_4"  
104 - }  
105 - ]  
106 - },  
107 - {  
108 - "type": "selectionType",  
109 - "name": "selection5",  
110 - "positionY": 255,  
111 - "signals": [  
112 - {  
113 - "name": "tapped",  
114 - "action": "play",  
115 - "animation": "Animation_5"  
116 - }  
117 - ]  
118 - },  
119 - {  
120 - "type": "imageType",  
121 - "name": "picture1",  
122 - "image": {  
123 - "filename": "{DEMO_IMAGE_DIR}animation-picture-1.png"  
124 - }  
125 - },  
126 - {  
127 - "type": "imageType",  
128 - "name": "picture2",  
129 - "image": {  
130 - "filename": "{DEMO_IMAGE_DIR}animation-picture-2.png"  
131 - }  
132 - },  
133 - {  
134 - "type": "imageType",  
135 - "name": "picture3",  
136 - "image": {  
137 - "filename": "{DEMO_IMAGE_DIR}animation-picture-3.png"  
138 - }  
139 - },  
140 - {  
141 - "type": "imageType",  
142 - "name": "picture4",  
143 - "image": {  
144 - "filename": "{DEMO_IMAGE_DIR}animation-picture-4.png"  
145 - }  
146 - },  
147 - {  
148 - "type": "imageType",  
149 - "name": "picture5",  
150 - "image": {  
151 - "filename": "{DEMO_IMAGE_DIR}animation-picture-5.png"  
152 - }  
153 - }  
154 - ],  
155 - "animations": {  
156 - "Animation_1": {  
157 - "properties": [  
158 - {  
159 - "actor": "selection1",  
160 - "property": "colorAlpha",  
161 - "value": 0.5,  
162 - "alphaFunction": "SIN",  
163 - "timePeriod": {  
164 - "delay": 0,  
165 - "duration": 0.5  
166 - },  
167 - "timelineColor": "#83bcc5"  
168 - },  
169 - {  
170 - "actor": "picture1",  
171 - "property": "positionX",  
172 - "value": 0,  
173 - "alphaFunction": "LINEAR",  
174 - "timePeriod": {  
175 - "delay": 0.25,  
176 - "duration": 0.25  
177 - },  
178 - "timelineColor": "#83bcc5"  
179 - }  
180 - ]  
181 - },  
182 - "Animation_2": {  
183 - "properties": [  
184 - {  
185 - "actor": "selection2",  
186 - "property": "colorAlpha",  
187 - "value": 0.5,  
188 - "alphaFunction": "SIN",  
189 - "timePeriod": {  
190 - "delay": 0,  
191 - "duration": 0.5  
192 - },  
193 - "timelineColor": "#83bcc5"  
194 - },  
195 - {  
196 - "actor": "picture2",  
197 - "property": "positionX",  
198 - "value": 0,  
199 - "alphaFunction": "LINEAR",  
200 - "timePeriod": {  
201 - "delay": 0.25,  
202 - "duration": 0.25  
203 - },  
204 - "timelineColor": "#83bcc5"  
205 - }  
206 - ]  
207 - },  
208 - "Animation_3": {  
209 - "properties": [  
210 - {  
211 - "actor": "selection3",  
212 - "property": "colorAlpha",  
213 - "value": 0.5,  
214 - "alphaFunction": "SIN",  
215 - "timePeriod": {  
216 - "delay": 0,  
217 - "duration": 0.5  
218 - },  
219 - "timelineColor": "#83bcc5"  
220 - },  
221 - {  
222 - "actor": "picture3",  
223 - "property": "positionX",  
224 - "value": 0,  
225 - "alphaFunction": "LINEAR",  
226 - "timePeriod": {  
227 - "delay": 0.25,  
228 - "duration": 0.25  
229 - },  
230 - "timelineColor": "#83bcc5"  
231 - }  
232 - ]  
233 - },  
234 - "Animation_4": {  
235 - "properties": [  
236 - {  
237 - "actor": "selection4",  
238 - "property": "colorAlpha",  
239 - "value": 0.5,  
240 - "alphaFunction": "SIN",  
241 - "timePeriod": {  
242 - "delay": 0,  
243 - "duration": 0.5  
244 - },  
245 - "timelineColor": "#83bcc5"  
246 - },  
247 - {  
248 - "actor": "picture4",  
249 - "property": "positionX",  
250 - "value": 0,  
251 - "alphaFunction": "LINEAR",  
252 - "timePeriod": {  
253 - "delay": 0.25,  
254 - "duration": 0.25  
255 - },  
256 - "timelineColor": "#83bcc5"  
257 - }  
258 - ]  
259 - },  
260 - "Animation_5": {  
261 - "properties": [  
262 - {  
263 - "actor": "selection5",  
264 - "property": "colorAlpha",  
265 - "value": 0.5,  
266 - "alphaFunction": "SIN",  
267 - "timePeriod": {  
268 - "delay": 0,  
269 - "duration": 0.5  
270 - },  
271 - "timelineColor": "#83bcc5"  
272 - },  
273 - {  
274 - "actor": "picture5",  
275 - "property": "positionX",  
276 - "value": 0,  
277 - "alphaFunction": "LINEAR",  
278 - "timePeriod": {  
279 - "delay": 0.25,  
280 - "duration": 0.25  
281 - },  
282 - "timelineColor": "#83bcc5"  
283 - }  
284 - ]  
285 - },  
286 - "BackAnimation": {  
287 - "properties": [  
288 - {  
289 - "actor": "picture1",  
290 - "property": "positionX",  
291 - "value": 450,  
292 - "alphaFunction": "LINEAR",  
293 - "timePeriod": {  
294 - "delay": 0,  
295 - "duration": 0.25  
296 - },  
297 - "timelineColor": "#83bcc5"  
298 - },  
299 - {  
300 - "actor": "picture2",  
301 - "property": "positionX",  
302 - "value": 450,  
303 - "alphaFunction": "LINEAR",  
304 - "timePeriod": {  
305 - "delay": 0,  
306 - "duration": 0.25  
307 - },  
308 - "timelineColor": "#83bcc5"  
309 - },  
310 - {  
311 - "actor": "picture3",  
312 - "property": "positionX",  
313 - "value": 450,  
314 - "alphaFunction": "LINEAR",  
315 - "timePeriod": {  
316 - "delay": 0,  
317 - "duration": 0.25  
318 - },  
319 - "timelineColor": "#83bcc5"  
320 - },  
321 - {  
322 - "actor": "picture4",  
323 - "property": "positionX",  
324 - "value": 450,  
325 - "alphaFunction": "LINEAR",  
326 - "timePeriod": {  
327 - "delay": 0,  
328 - "duration": 0.25  
329 - },  
330 - "timelineColor": "#83bcc5"  
331 - },  
332 - {  
333 - "actor": "picture5",  
334 - "property": "positionX",  
335 - "value": 450,  
336 - "alphaFunction": "LINEAR",  
337 - "timePeriod": {  
338 - "delay": 0,  
339 - "duration": 0.25  
340 - },  
341 - "timelineColor": "#83bcc5"  
342 - }  
343 - ]  
344 - }  
345 - }  
346 -}  
resources/scripts/gradient.json
@@ -18,7 +18,8 @@ @@ -18,7 +18,8 @@
18 // a tree of actors 18 // a tree of actors
19 "stage": [{ 19 "stage": [{
20 "type": "Control", 20 "type": "Control",
21 - "size": [400,600,1], 21 + "widthResizePolicy":"FILL_TO_PARENT",
  22 + "heightResizePolicy":"FILL_TO_PARENT",
22 "parentOrigin": "CENTER", 23 "parentOrigin": "CENTER",
23 "anchorPoint": "CENTER", 24 "anchorPoint": "CENTER",
24 "background": { 25 "background": {
resources/scripts/music-library.json deleted
1 -{  
2 - "stage": [  
3 - {  
4 - "type": "Control",  
5 - "background": {"color": [ 1, 1, 1, 1 ]},  
6 - "parentOrigin": "TOP_LEFT",  
7 - "anchorPoint": "TOP_LEFT",  
8 - "drawMode": "STENCIL",  
9 - "size": [ 400, 720, 0 ]  
10 - },  
11 - {  
12 - "type": "ImageActor",  
13 - "actors": [],  
14 - "name": "Screen",  
15 - "position": [  
16 - 200,  
17 - 355,  
18 - -1  
19 - ],  
20 - "inheritPosition": true,  
21 - "size": [  
22 - 400,  
23 - 630,  
24 - 1  
25 - ],  
26 - "sizeAspectRatio": false,  
27 - "image": {  
28 - "filename": "{DEMO_IMAGE_DIR}music-libray-main-screen.png",  
29 - "width": 545,  
30 - "height": 860,  
31 - "loadPolicy": "IMMEDIATE",  
32 - "releasePolicy": "NEVER"  
33 - }  
34 - },  
35 - {  
36 - "type": "Control",  
37 - "actors": [  
38 - {  
39 - "type": "ImageActor",  
40 - "actors": [],  
41 - "name": "Circle",  
42 - "position": [  
43 - 200,  
44 - 25,  
45 - 1  
46 - ],  
47 - "inheritPosition": true,  
48 - "size": [  
49 - 30,  
50 - 30,  
51 - 1  
52 - ],  
53 - "sizeAspectRatio": true,  
54 - "image": {  
55 - "filename": "{DEMO_IMAGE_DIR}music-libray-circle.png",  
56 - "width": 128,  
57 - "height": 128,  
58 - "loadPolicy": "IMMEDIATE",  
59 - "releasePolicy": "NEVER"  
60 - }  
61 - },  
62 - {  
63 - "type": "ImageActor",  
64 - "actors": [],  
65 - "name": "Triangle",  
66 - "position": [  
67 - 100,  
68 - 25,  
69 - 1  
70 - ],  
71 - "inheritPosition": true,  
72 - "size": [  
73 - 28.030303030303028,  
74 - 30,  
75 - 1  
76 - ],  
77 - "sizeAspectRatio": true,  
78 - "image": {  
79 - "filename": "{DEMO_IMAGE_DIR}music-libray-triangle.png",  
80 - "width": 185,  
81 - "height": 198,  
82 - "loadPolicy": "IMMEDIATE",  
83 - "releasePolicy": "NEVER"  
84 - }  
85 - },  
86 - {  
87 - "type": "ImageActor",  
88 - "actors": [],  
89 - "name": "Rectangle",  
90 - "position": [  
91 - 300,  
92 - 25,  
93 - 1  
94 - ],  
95 - "inheritPosition": true,  
96 - "size": [  
97 - 30,  
98 - 30,  
99 - 1  
100 - ],  
101 - "sizeAspectRatio": true,  
102 - "image": {  
103 - "filename": "{DEMO_IMAGE_DIR}music-libray-rectangle.png",  
104 - "width": 128,  
105 - "height": 128,  
106 - "loadPolicy": "IMMEDIATE",  
107 - "releasePolicy": "NEVER"  
108 - }  
109 - }  
110 - ],  
111 - "name": "Toolbar",  
112 - "position": [  
113 - 200,  
114 - 695,  
115 - 1  
116 - ],  
117 - "inheritPosition": true,  
118 - "size": [  
119 - 400,  
120 - 50,  
121 - 1  
122 - ],  
123 - "sizeAspectRatio": false,  
124 - "background":{"color": [  
125 - 0,  
126 - 0,  
127 - 0,  
128 - 1  
129 - ]}  
130 - },  
131 - {  
132 - "type": "Control",  
133 - "actors": [  
134 - {  
135 - "type": "TextLabel",  
136 - "actors": [],  
137 - "name": "Time",  
138 - "position": [  
139 - 345,  
140 - 20,  
141 - 0  
142 - ],  
143 - "inheritPosition": true,  
144 - "size": [  
145 - 50,  
146 - 20,  
147 - 1  
148 - ],  
149 - "sizeAspectRatio": false,  
150 - "text": "12:30",  
151 - "pointSize": 10  
152 - }  
153 - ],  
154 - "name": "Indicators",  
155 - "position": [  
156 - 200,  
157 - 20,  
158 - 0  
159 - ],  
160 - "inheritPosition": true,  
161 - "size": [  
162 - 400,  
163 - 40,  
164 - 1  
165 - ],  
166 - "sizeAspectRatio": false,  
167 - "background":{ "color": [  
168 - 0.33725490196078434,  
169 - 0.7568627450980392,  
170 - 0.6509803921568628,  
171 - 1  
172 - ]},  
173 - "color": [  
174 - 0.33725490196078434,  
175 - 0.7568627450980392,  
176 - 0.6509803921568628,  
177 - 0  
178 - ]  
179 - },  
180 - {  
181 - "type": "ImageActor",  
182 - "actors": [],  
183 - "name": "Foxtrot Oscar",  
184 - "position": [  
185 - 100,  
186 - 288,  
187 - 0  
188 - ],  
189 - "inheritPosition": true,  
190 - "size": [  
191 - 200,  
192 - 35,  
193 - 1  
194 - ],  
195 - "color":[0,0,0,0],  
196 - "sizeAspectRatio": false,  
197 - "image": {  
198 - "filename": "{DEMO_IMAGE_DIR}music-libray-foxtrot-oscar.png",  
199 - "width": 545,  
200 - "height": 95,  
201 - "loadPolicy": "IMMEDIATE",  
202 - "releasePolicy": "NEVER"  
203 - }  
204 - },  
205 - {  
206 - "type": "Control",  
207 - "actors": [],  
208 - "name": "Foxtrot Oscar container",  
209 - "position": [  
210 - 100,  
211 - 288,  
212 - 0  
213 - ],  
214 - "inheritPosition": true,  
215 - "size": [  
216 - 200,  
217 - 35,  
218 - 1  
219 - ],  
220 - "sizeAspectRatio": false,  
221 - "background": {"color": [  
222 - 1,  
223 - 1,  
224 - 1,  
225 - 1  
226 - ]},  
227 - "color": [  
228 - 1,  
229 - 1,  
230 - 1,  
231 - 1  
232 - ]  
233 - },  
234 - {  
235 - "type": "ImageActor",  
236 - "actors": [],  
237 - "name": "Record text",  
238 - "position": [  
239 - 100,  
240 - 266,  
241 - 0  
242 - ],  
243 - "inheritPosition": true,  
244 - "size": [  
245 - 200,  
246 - 80,  
247 - 1  
248 - ],  
249 - "color" : [  
250 - 0,0,0,0  
251 - ],  
252 - "sizeAspectRatio": true,  
253 - "image": {  
254 - "filename": "{DEMO_IMAGE_DIR}music-libray-the-solars.png",  
255 - "width": 545,  
256 - "height": 218,  
257 - "loadPolicy": "IMMEDIATE",  
258 - "releasePolicy": "NEVER"  
259 - }  
260 - },  
261 - {  
262 - "type": "Control",  
263 - "actors": [],  
264 - "name": "Record container",  
265 - "position": [  
266 - 100,  
267 - 266,  
268 - 0  
269 - ],  
270 - "inheritPosition": true,  
271 - "size": [  
272 - 200,  
273 - 80,  
274 - 1  
275 - ],  
276 - "sizeAspectRatio": false,  
277 - "background":{ "color": [  
278 - 0.18823529411764706,  
279 - 0.3411764705882353,  
280 - 0.403921568627451,  
281 - 1  
282 - ]}  
283 - },  
284 - {  
285 - "type": "ImageActor",  
286 - "actors": [  
287 - {  
288 - "type": "Control",  
289 - "name": "Tapped Record",  
290 - "actors": [],  
291 - "positionInheritance":"USE_PARENT_POSITION",  
292 - "signals": [  
293 - {  
294 - "name": "tapped",  
295 - "action": "play",  
296 - "animation": "Animation_1"  
297 - }  
298 - ],  
299 - "size": [  
300 - 200,  
301 - 200,  
302 - 1  
303 - ]  
304 - }  
305 - ],  
306 - "name": "Record image",  
307 - "position": [  
308 - 100,  
309 - 206,  
310 - 0  
311 - ],  
312 - "inheritPosition": true,  
313 - "size": [  
314 - 200,  
315 - 200,  
316 - 1  
317 - ],  
318 - "sizeAspectRatio": false,  
319 - "image": {  
320 - "filename": "{DEMO_IMAGE_DIR}music-libray-record-cover.png",  
321 - "width": 545,  
322 - "height": 502,  
323 - "loadPolicy": "IMMEDIATE",  
324 - "releasePolicy": "NEVER"  
325 - }  
326 - },  
327 - {  
328 - "type": "ImageActor",  
329 - "actors": [],  
330 - "name": "Arrow",  
331 - "position": [  
332 - -16,  
333 - 70,  
334 - 2  
335 - ],  
336 - "inheritPosition": true,  
337 - "size": [  
338 - 30,  
339 - 30,  
340 - 1  
341 - ],  
342 - "sizeAspectRatio": true,  
343 - "image": {  
344 - "filename": "{DEMO_IMAGE_DIR}music-libray-arrow.png",  
345 - "width": 128,  
346 - "height": 128,  
347 - "loadPolicy": "IMMEDIATE",  
348 - "releasePolicy": "NEVER"  
349 - }  
350 - },  
351 - {  
352 - "type": "ImageActor",  
353 - "actors": [],  
354 - "name": "Star",  
355 - "position": [  
356 - 415,  
357 - 70,  
358 - 2  
359 - ],  
360 - "inheritPosition": true,  
361 - "size": [  
362 - 30,  
363 - 30,  
364 - 1  
365 - ],  
366 - "sizeAspectRatio": false,  
367 - "image": {  
368 - "filename": "{DEMO_IMAGE_DIR}music-libray-star.png",  
369 - "width": 121,  
370 - "height": 128,  
371 - "loadPolicy": "IMMEDIATE",  
372 - "releasePolicy": "NEVER"  
373 - }  
374 - },  
375 - {  
376 - "type": "ImageActor",  
377 - "actors": [],  
378 - "name": "Pause",  
379 - "position": [  
380 - 425,  
381 - 440,  
382 - 3  
383 - ],  
384 - "inheritPosition": true,  
385 - "size": [  
386 - 50,  
387 - 50,  
388 - 1  
389 - ],  
390 - "sizeAspectRatio": true,  
391 - "scale": [  
392 - 0.1,  
393 - 0.1,  
394 - 1  
395 - ],  
396 - "image": {  
397 - "filename": "{DEMO_IMAGE_DIR}music-libray-pause.png",  
398 - "width": 128,  
399 - "height": 128,  
400 - "loadPolicy": "IMMEDIATE",  
401 - "releasePolicy": "NEVER"  
402 - }  
403 - },  
404 - {  
405 - "type": "ImageActor",  
406 - "actors": [],  
407 - "name": "Menu",  
408 - "position": [  
409 - 465,  
410 - 70,  
411 - 2  
412 - ],  
413 - "inheritPosition": true,  
414 - "size": [  
415 - 30,  
416 - 30,  
417 - 1  
418 - ],  
419 - "sizeAspectRatio": true,  
420 - "image": {  
421 - "filename": "{DEMO_IMAGE_DIR}music-libray-menu.png",  
422 - "width": 32,  
423 - "height": 32,  
424 - "loadPolicy": "IMMEDIATE",  
425 - "releasePolicy": "NEVER"  
426 - }  
427 - }  
428 - ],  
429 - "animations": {  
430 - "Animation_1": {  
431 - "properties": [  
432 - {  
433 - "actor": "Tapped Record",  
434 - "property": "colorAlpha",  
435 - "value": 0,  
436 - "alphaFunction": "LINEAR",  
437 - "timePeriod": {  
438 - "delay": 0,  
439 - "duration": 0.1  
440 - },  
441 - "timelineColor": "#e7dbba"  
442 - },  
443 - {  
444 - "actor": "Record image",  
445 - "property": "position",  
446 - "value": [  
447 - 200,  
448 - 240,  
449 - 0  
450 - ],  
451 - "alphaFunction": "LINEAR",  
452 - "timePeriod": {  
453 - "delay": 0,  
454 - "duration": 0.3  
455 - },  
456 - "timelineColor": "#e7dbbf"  
457 - },  
458 - {  
459 - "actor": "Record image",  
460 - "property": "scale",  
461 - "value": [  
462 - 2,  
463 - 2,  
464 - 1  
465 - ],  
466 - "alphaFunction": "LINEAR",  
467 - "timePeriod": {  
468 - "delay": 0,  
469 - "duration": 0.3  
470 - },  
471 - "timelineColor": "#e7dbbf"  
472 - },  
473 - {  
474 - "actor": "Indicators",  
475 - "property": "color",  
476 - "value": [  
477 - 0.33725490196078434,  
478 - 0.7568627450980392,  
479 - 0.6509803921568628,  
480 - 1  
481 - ],  
482 - "alphaFunction": "LINEAR",  
483 - "timePeriod": {  
484 - "delay": 0.3,  
485 - "duration": 0.2  
486 - },  
487 - "timelineColor": "#97a0e7"  
488 - },  
489 - {  
490 - "actor": "Record text",  
491 - "property": "position",  
492 - "value": [  
493 - 200,  
494 - 360,  
495 - 0  
496 - ],  
497 - "alphaFunction": "LINEAR",  
498 - "timePeriod": {  
499 - "delay": 0,  
500 - "duration": 0.3  
501 - },  
502 - "timelineColor": "#90c2ca"  
503 - },  
504 - {  
505 - "actor": "Record text",  
506 - "property": "position",  
507 - "value": [  
508 - 200,  
509 - 520,  
510 - 0  
511 - ],  
512 - "alphaFunction": "LINEAR",  
513 - "timePeriod": {  
514 - "delay": 0.3,  
515 - "duration": 0.2  
516 - },  
517 - "timelineColor": "#90c2ca"  
518 - },  
519 - {  
520 - "actor": "Record text",  
521 - "property": "scale",  
522 - "value": [  
523 - 2,  
524 - 2,  
525 - 1  
526 - ],  
527 - "alphaFunction": "LINEAR",  
528 - "timePeriod": {  
529 - "delay": 0,  
530 - "duration": 0.3  
531 - },  
532 - "timelineColor": "#90c2ca"  
533 - },  
534 - {  
535 - "actor": "Record container",  
536 - "property": "position",  
537 - "value": [  
538 - 200,  
539 - 360,  
540 - 0  
541 - ],  
542 - "alphaFunction": "LINEAR",  
543 - "timePeriod": {  
544 - "delay": 0,  
545 - "duration": 0.3  
546 - },  
547 - "timelineColor": "#eba6ba"  
548 - },  
549 - {  
550 - "actor": "Record container",  
551 - "property": "position",  
552 - "value": [  
553 - 200,  
554 - 520,  
555 - 0  
556 - ],  
557 - "alphaFunction": "LINEAR",  
558 - "timePeriod": {  
559 - "delay": 0.3,  
560 - "duration": 0.2  
561 - },  
562 - "timelineColor": "#eba6ba"  
563 - },  
564 - {  
565 - "actor": "Record container",  
566 - "property": "scale",  
567 - "value": [  
568 - 2,  
569 - 2,  
570 - 1  
571 - ],  
572 - "alphaFunction": "LINEAR",  
573 - "timePeriod": {  
574 - "delay": 0,  
575 - "duration": 0.3  
576 - },  
577 - "timelineColor": "#eba6ba"  
578 - },  
579 - {  
580 - "actor": "Record text",  
581 - "property": "color",  
582 - "value": [  
583 - 1,  
584 - 1,  
585 - 1,  
586 - 1  
587 - ],  
588 - "alphaFunction": "LINEAR",  
589 - "timePeriod": {  
590 - "delay": 0.5,  
591 - "duration": 0.2  
592 - },  
593 - "timelineColor": "#eba6ba"  
594 - },  
595 - {  
596 - "actor": "Foxtrot Oscar",  
597 - "property": "position",  
598 - "value": [  
599 - 200,  
600 - 288,  
601 - 0  
602 - ],  
603 - "alphaFunction": "LINEAR",  
604 - "timePeriod": {  
605 - "delay": 0,  
606 - "duration": 0.3  
607 - },  
608 - "timelineColor": "#e1d2d6"  
609 - },  
610 - {  
611 - "actor": "Foxtrot Oscar",  
612 - "property": "position",  
613 - "value": [  
614 - 200,  
615 - 635,  
616 - 0  
617 - ],  
618 - "alphaFunction": "LINEAR",  
619 - "timePeriod": {  
620 - "delay": 0.3,  
621 - "duration": 0.2  
622 - },  
623 - "timelineColor": "#e1d2d6"  
624 - },  
625 - {  
626 - "actor": "Foxtrot Oscar",  
627 - "property": "scale",  
628 - "value": [  
629 - 2,  
630 - 2,  
631 - 1  
632 - ],  
633 - "alphaFunction": "LINEAR",  
634 - "timePeriod": {  
635 - "delay": 0,  
636 - "duration": 0.3  
637 - },  
638 - "timelineColor": "#e1d2d6"  
639 - },  
640 - {  
641 - "actor": "Foxtrot Oscar container",  
642 - "property": "position",  
643 - "value": [  
644 - 200,  
645 - 288,  
646 - 0  
647 - ],  
648 - "alphaFunction": "LINEAR",  
649 - "timePeriod": {  
650 - "delay": 0,  
651 - "duration": 0.3  
652 - },  
653 - "timelineColor": "#fbda85"  
654 - },  
655 - {  
656 - "actor": "Foxtrot Oscar container",  
657 - "property": "position",  
658 - "value": [  
659 - 200,  
660 - 635,  
661 - 0  
662 - ],  
663 - "alphaFunction": "LINEAR",  
664 - "timePeriod": {  
665 - "delay": 0.3,  
666 - "duration": 0.2  
667 - },  
668 - "timelineColor": "#fbda85"  
669 - },  
670 - {  
671 - "actor": "Foxtrot Oscar container",  
672 - "property": "scale",  
673 - "value": [  
674 - 2,  
675 - 2,  
676 - 1  
677 - ],  
678 - "alphaFunction": "LINEAR",  
679 - "timePeriod": {  
680 - "delay": 0,  
681 - "duration": 0.3  
682 - },  
683 - "timelineColor": "#fbda85"  
684 - },  
685 - {  
686 - "actor": "Foxtrot Oscar",  
687 - "property": "color",  
688 - "value": [  
689 - 1,  
690 - 1,  
691 - 1,  
692 - 1  
693 - ],  
694 - "alphaFunction": "LINEAR",  
695 - "timePeriod": {  
696 - "delay": 0.5,  
697 - "duration": 0.2  
698 - },  
699 - "timelineColor": "#fbda85"  
700 - },  
701 - {  
702 - "actor": "Arrow",  
703 - "property": "position",  
704 - "value": [  
705 - 30,  
706 - 70,  
707 - 2  
708 - ],  
709 - "alphaFunction": "LINEAR",  
710 - "timePeriod": {  
711 - "delay": 0.3,  
712 - "duration": 0.2  
713 - },  
714 - "timelineColor": "#8a9098"  
715 - },  
716 - {  
717 - "actor": "Star",  
718 - "property": "position",  
719 - "value": [  
720 - 320,  
721 - 70,  
722 - 2  
723 - ],  
724 - "alphaFunction": "LINEAR",  
725 - "timePeriod": {  
726 - "delay": 0.299,  
727 - "duration": 0.2  
728 - },  
729 - "timelineColor": "#9ae2c6"  
730 - },  
731 - {  
732 - "actor": "Menu",  
733 - "property": "position",  
734 - "value": [  
735 - 370,  
736 - 70,  
737 - 2  
738 - ],  
739 - "alphaFunction": "LINEAR",  
740 - "timePeriod": {  
741 - "delay": 0.3,  
742 - "duration": 0.2  
743 - },  
744 - "timelineColor": "#cf7feb"  
745 - },  
746 - {  
747 - "actor": "Pause",  
748 - "property": "position",  
749 - "value": [  
750 - 360,  
751 - 440,  
752 - 3  
753 - ],  
754 - "alphaFunction": "LINEAR",  
755 - "timePeriod": {  
756 - "delay": 0.599,  
757 - "duration": 0.1  
758 - },  
759 - "timelineColor": "#d3eaa7"  
760 - },  
761 - {  
762 - "actor": "Pause",  
763 - "property": "scale",  
764 - "value": [  
765 - 0.1,  
766 - 0.1,  
767 - 1  
768 - ],  
769 - "alphaFunction": "LINEAR",  
770 - "timePeriod": {  
771 - "delay": 0.6,  
772 - "duration": 0.1  
773 - },  
774 - "timelineColor": "#d3eaa7"  
775 - },  
776 - {  
777 - "actor": "Pause",  
778 - "property": "scale",  
779 - "value": [  
780 - 1,  
781 - 1,  
782 - 1  
783 - ],  
784 - "alphaFunction": "LINEAR",  
785 - "timePeriod": {  
786 - "delay": 0.7,  
787 - "duration": 0.3  
788 - },  
789 - "timelineColor": "#d3eaa7"  
790 - }  
791 - ],  
792 - "page": ""  
793 - }  
794 - },  
795 - "connections": {  
796 - "Named_conn_1": {  
797 - "id": "_191ss6ct70d1",  
798 - "name": "Named_conn_1",  
799 - "target": {  
800 - "type": "animation",  
801 - "name": "Animation_1",  
802 - "action": "play"  
803 - },  
804 - "sources": [  
805 - "Record image"  
806 - ],  
807 - "signal": "click"  
808 - }  
809 - },  
810 - "constants": {},  
811 - "styles": {},  
812 - "deviceHeight": 720,  
813 - "deviceWidth": 400,  
814 - "deviceOrientation": "portrait",  
815 - "version": "781"  
816 -}  
resources/scripts/super-blur-view.json
@@ -51,8 +51,7 @@ @@ -51,8 +51,7 @@
51 "name": "superBlur", 51 "name": "superBlur",
52 "parentOrigin": "TOP_CENTER", 52 "parentOrigin": "TOP_CENTER",
53 "anchorPoint": "TOP_CENTER", 53 "anchorPoint": "TOP_CENTER",
54 - "position": [0, 10, 0],  
55 - "size": [460, 600, 0], 54 + "size": [800, 1280, 0],
56 "image": { 55 "image": {
57 "filename": "{DEMO_IMAGE_DIR}background-4.jpg" 56 "filename": "{DEMO_IMAGE_DIR}background-4.jpg"
58 } 57 }
@@ -66,12 +65,7 @@ @@ -66,12 +65,7 @@
66 "anchorPoint": "BOTTOM_CENTER", 65 "anchorPoint": "BOTTOM_CENTER",
67 "position": [0, 0, 0], 66 "position": [0, 0, 0],
68 "size": [200, 100, 0], 67 "size": [200, 100, 0],
69 - "labelActor": {  
70 - "type": "TextLabel",  
71 - "text": "Blur"  
72 - },  
73 - "unselectedStateImage": "{DEMO_IMAGE_DIR}button-background.png",  
74 - "selectedStateImage": "{DEMO_IMAGE_DIR}button-background.png", 68 + "labelText": "Blur",
75 "signals": [{ 69 "signals": [{
76 "name": "pressed", 70 "name": "pressed",
77 "action": "play", 71 "action": "play",
resources/scripts/table-view.json
@@ -43,7 +43,8 @@ @@ -43,7 +43,8 @@
43 "name":"simpleTable", 43 "name":"simpleTable",
44 "type":"TableView", 44 "type":"TableView",
45 "background":{ 45 "background":{
46 - "color": [0.5,0.5,0,1] 46 + "rendererType": "color",
  47 + "blendColor": [0.5,0.5,0,1]
47 }, 48 },
48 "parentOrigin": "CENTER", 49 "parentOrigin": "CENTER",
49 "size":[400,400,1], 50 "size":[400,400,1],
resources/scripts/timing.json deleted
1 -{  
2 - "templates":  
3 - {  
4 - "colorControl":  
5 - {  
6 - "type": "Control",  
7 - "parentOrigin": "CENTER",  
8 - "anchorPoint": "CENTER",  
9 - "size": [ 100, 100, 1 ],  
10 - "scale": [ 0.1, 0.1, 1 ],  
11 - "colorAlpha": 0,  
12 - "background":{ "color": [ 0.95, 0.65, 0.1, 1 ] }  
13 - }  
14 - },  
15 - "stage": [  
16 - {  
17 - "type": "Actor",  
18 - "parentOrigin": "CENTER",  
19 - "anchorPoint": "CENTER",  
20 - "actors": [{  
21 - "type": "colorControl",  
22 - "name": "Container 1",  
23 - "position": [  
24 - -165,  
25 - -55,  
26 - 0  
27 - ]  
28 - },  
29 - {  
30 - "type": "colorControl",  
31 - "name": "Container 2",  
32 - "position": [  
33 - -55,  
34 - -55,  
35 - 0  
36 - ]  
37 - },  
38 - {  
39 - "type": "colorControl",  
40 - "name": "Container 3",  
41 - "position": [  
42 - 55,  
43 - -55,  
44 - 0  
45 - ]  
46 - },  
47 - {  
48 - "type": "colorControl",  
49 - "name": "Container 4",  
50 - "position": [  
51 - 165,  
52 - -55,  
53 - 0  
54 - ]  
55 - },  
56 - {  
57 - "type": "colorControl",  
58 - "name": "Container 5",  
59 - "position": [  
60 - -165,  
61 - 55,  
62 - 0  
63 - ]  
64 - },  
65 - {  
66 - "type": "colorControl",  
67 - "name": "Container 6",  
68 - "position": [  
69 - -55,  
70 - 55,  
71 - 0  
72 - ]  
73 - },  
74 - {  
75 - "type": "colorControl",  
76 - "name": "Container 7",  
77 - "position": [  
78 - 55,  
79 - 55,  
80 - 0  
81 - ]  
82 - },  
83 - {  
84 - "type": "colorControl",  
85 - "name": "Container 8",  
86 - "position": [  
87 - 165,  
88 - 55,  
89 - 0  
90 - ]  
91 - }]  
92 - },  
93 - {  
94 - "type": "Control",  
95 - "actors": [],  
96 - "name": "ControlBack",  
97 - "parentOrigin": "CENTER",  
98 - "anchorPoint": "CENTER",  
99 - "widthResizePolicy": "FILL_TO_PARENT",  
100 - "heightResizePolicy": "FILL_TO_PARENT",  
101 - "position": [  
102 - 0,  
103 - 0,  
104 - -1  
105 - ],  
106 - "background": {"color": [  
107 - 1,  
108 - 1,  
109 - 1,  
110 - 1  
111 - ]},  
112 - "signals": [  
113 - {  
114 - "name": "tapped",  
115 - "action": "play",  
116 - "animation": "Animation_1"  
117 - }  
118 - ]  
119 - },  
120 - {  
121 - "type": "TextLabel",  
122 - "text": "Touch",  
123 - "name": "Instruction",  
124 - "parentOrigin": "BOTTOM_CENTER",  
125 - "anchorPoint": "BOTTOM_CENTER",  
126 - "textColor": [1, 0, 0, 1],  
127 - "position": [  
128 - 0,  
129 - 0,  
130 - 1  
131 - ]  
132 - }  
133 - ],  
134 - "animations": {  
135 - "Animation_1": {  
136 - "properties": [  
137 - {  
138 - "actor": "Container 1",  
139 - "property": "scale",  
140 - "value": [  
141 - 1,  
142 - 1,  
143 - 1  
144 - ],  
145 - "alphaFunction": "LINEAR",  
146 - "timePeriod": {  
147 - "delay": 0.35,  
148 - "duration": 0.15  
149 - },  
150 - "timelineColor": "#e098ab"  
151 - },  
152 - {  
153 - "actor": "Container 1",  
154 - "property": "scale",  
155 - "value": [  
156 - 0.1,  
157 - 0.10000000000000003,  
158 - 1  
159 - ],  
160 - "alphaFunction": "LINEAR",  
161 - "timePeriod": {  
162 - "delay": 2.449,  
163 - "duration": 0.15  
164 - },  
165 - "timelineColor": "#e098ab"  
166 - },  
167 - {  
168 - "actor": "Container 1",  
169 - "property": "colorAlpha",  
170 - "value": 1,  
171 - "alphaFunction": "LINEAR",  
172 - "timePeriod": {  
173 - "delay": 0.3,  
174 - "duration": 0.05  
175 - },  
176 - "timelineColor": "#e098ab"  
177 - },  
178 - {  
179 - "actor": "Container 1",  
180 - "property": "colorAlpha",  
181 - "value": 0,  
182 - "alphaFunction": "LINEAR",  
183 - "timePeriod": {  
184 - "delay": 2.599,  
185 - "duration": 0.051  
186 - },  
187 - "timelineColor": "#e098ab"  
188 - },  
189 - {  
190 - "actor": "Container 2",  
191 - "property": "scale",  
192 - "value": [  
193 - 1,  
194 - 1,  
195 - 1  
196 - ],  
197 - "alphaFunction": "LINEAR",  
198 - "timePeriod": {  
199 - "delay": 0.4,  
200 - "duration": 0.15  
201 - },  
202 - "timelineColor": "#f4efa3"  
203 - },  
204 - {  
205 - "actor": "Container 2",  
206 - "property": "scale",  
207 - "value": [  
208 - 0.1,  
209 - 0.1,  
210 - 1  
211 - ],  
212 - "alphaFunction": "LINEAR",  
213 - "timePeriod": {  
214 - "delay": 2.5,  
215 - "duration": 0.15  
216 - },  
217 - "timelineColor": "#f4efa3"  
218 - },  
219 - {  
220 - "actor": "Container 2",  
221 - "property": "colorAlpha",  
222 - "value": 1,  
223 - "alphaFunction": "LINEAR",  
224 - "timePeriod": {  
225 - "delay": 0.35,  
226 - "duration": 0.05  
227 - },  
228 - "timelineColor": "#f4efa3"  
229 - },  
230 - {  
231 - "actor": "Container 2",  
232 - "property": "colorAlpha",  
233 - "value": 0,  
234 - "alphaFunction": "LINEAR",  
235 - "timePeriod": {  
236 - "delay": 2.65,  
237 - "duration": 0.05  
238 - },  
239 - "timelineColor": "#f4efa3"  
240 - },  
241 - {  
242 - "actor": "Container 3",  
243 - "property": "scale",  
244 - "value": [  
245 - 1,  
246 - 1,  
247 - 1  
248 - ],  
249 - "alphaFunction": "LINEAR",  
250 - "timePeriod": {  
251 - "delay": 0.45,  
252 - "duration": 0.15  
253 - },  
254 - "timelineColor": "#a8a9dc"  
255 - },  
256 - {  
257 - "actor": "Container 3",  
258 - "property": "scale",  
259 - "value": [  
260 - 0.1,  
261 - 0.1,  
262 - 1  
263 - ],  
264 - "alphaFunction": "LINEAR",  
265 - "timePeriod": {  
266 - "delay": 2.55,  
267 - "duration": 0.15  
268 - },  
269 - "timelineColor": "#a8a9dc"  
270 - },  
271 - {  
272 - "actor": "Container 3",  
273 - "property": "colorAlpha",  
274 - "value": 1,  
275 - "alphaFunction": "LINEAR",  
276 - "timePeriod": {  
277 - "delay": 0.4,  
278 - "duration": 0.05  
279 - },  
280 - "timelineColor": "#a8a9dc"  
281 - },  
282 - {  
283 - "actor": "Container 3",  
284 - "property": "colorAlpha",  
285 - "value": 0,  
286 - "alphaFunction": "LINEAR",  
287 - "timePeriod": {  
288 - "delay": 2.7,  
289 - "duration": 0.05  
290 - },  
291 - "timelineColor": "#a8a9dc"  
292 - },  
293 - {  
294 - "actor": "Container 4",  
295 - "property": "scale",  
296 - "value": [  
297 - 1,  
298 - 1,  
299 - 1  
300 - ],  
301 - "alphaFunction": "LINEAR",  
302 - "timePeriod": {  
303 - "delay": 0.5,  
304 - "duration": 0.15  
305 - },  
306 - "timelineColor": "#cae6f9"  
307 - },  
308 - {  
309 - "actor": "Container 4",  
310 - "property": "scale",  
311 - "value": [  
312 - 0.1,  
313 - 0.1,  
314 - 1  
315 - ],  
316 - "alphaFunction": "LINEAR",  
317 - "timePeriod": {  
318 - "delay": 2.6,  
319 - "duration": 0.15  
320 - },  
321 - "timelineColor": "#cae6f9"  
322 - },  
323 - {  
324 - "actor": "Container 4",  
325 - "property": "colorAlpha",  
326 - "value": 1,  
327 - "alphaFunction": "LINEAR",  
328 - "timePeriod": {  
329 - "delay": 0.45,  
330 - "duration": 0.05  
331 - },  
332 - "timelineColor": "#cae6f9"  
333 - },  
334 - {  
335 - "actor": "Container 4",  
336 - "property": "colorAlpha",  
337 - "value": 0,  
338 - "alphaFunction": "LINEAR",  
339 - "timePeriod": {  
340 - "delay": 2.75,  
341 - "duration": 0.05  
342 - },  
343 - "timelineColor": "#cae6f9"  
344 - },  
345 - {  
346 - "actor": "Container 5",  
347 - "property": "scale",  
348 - "value": [  
349 - 1,  
350 - 1,  
351 - 1  
352 - ],  
353 - "alphaFunction": "LINEAR",  
354 - "timePeriod": {  
355 - "delay": 0.45,  
356 - "duration": 0.15  
357 - },  
358 - "timelineColor": "#8291cb"  
359 - },  
360 - {  
361 - "actor": "Container 5",  
362 - "property": "scale",  
363 - "value": [  
364 - 0.1,  
365 - 0.1,  
366 - 1  
367 - ],  
368 - "alphaFunction": "LINEAR",  
369 - "timePeriod": {  
370 - "delay": 2.65,  
371 - "duration": 0.15  
372 - },  
373 - "timelineColor": "#8291cb"  
374 - },  
375 - {  
376 - "actor": "Container 5",  
377 - "property": "colorAlpha",  
378 - "value": 1,  
379 - "alphaFunction": "LINEAR",  
380 - "timePeriod": {  
381 - "delay": 0.4,  
382 - "duration": 0.05  
383 - },  
384 - "timelineColor": "#8291cb"  
385 - },  
386 - {  
387 - "actor": "Container 5",  
388 - "property": "colorAlpha",  
389 - "value": 0,  
390 - "alphaFunction": "LINEAR",  
391 - "timePeriod": {  
392 - "delay": 2.8,  
393 - "duration": 0.05  
394 - },  
395 - "timelineColor": "#8291cb"  
396 - },  
397 - {  
398 - "actor": "Container 6",  
399 - "property": "scale",  
400 - "value": [  
401 - 1,  
402 - 1,  
403 - 1  
404 - ],  
405 - "alphaFunction": "LINEAR",  
406 - "timePeriod": {  
407 - "delay": 0.5,  
408 - "duration": 0.15  
409 - },  
410 - "timelineColor": "#8eeeae"  
411 - },  
412 - {  
413 - "actor": "Container 6",  
414 - "property": "scale",  
415 - "value": [  
416 - 0.1,  
417 - 0.1,  
418 - 1  
419 - ],  
420 - "alphaFunction": "LINEAR",  
421 - "timePeriod": {  
422 - "delay": 2.7,  
423 - "duration": 0.15  
424 - },  
425 - "timelineColor": "#8eeeae"  
426 - },  
427 - {  
428 - "actor": "Container 6",  
429 - "property": "colorAlpha",  
430 - "value": 1,  
431 - "alphaFunction": "LINEAR",  
432 - "timePeriod": {  
433 - "delay": 0.45,  
434 - "duration": 0.05  
435 - },  
436 - "timelineColor": "#8eeeae"  
437 - },  
438 - {  
439 - "actor": "Container 6",  
440 - "property": "colorAlpha",  
441 - "value": 0,  
442 - "alphaFunction": "LINEAR",  
443 - "timePeriod": {  
444 - "delay": 2.85,  
445 - "duration": 0.05  
446 - },  
447 - "timelineColor": "#8eeeae"  
448 - },  
449 - {  
450 - "actor": "Container 7",  
451 - "property": "scale",  
452 - "value": [  
453 - 1,  
454 - 1,  
455 - 1  
456 - ],  
457 - "alphaFunction": "LINEAR",  
458 - "timePeriod": {  
459 - "delay": 0.55,  
460 - "duration": 0.15  
461 - },  
462 - "timelineColor": "#8c7f9f"  
463 - },  
464 - {  
465 - "actor": "Container 7",  
466 - "property": "scale",  
467 - "value": [  
468 - 0.1,  
469 - 0.1,  
470 - 1  
471 - ],  
472 - "alphaFunction": "LINEAR",  
473 - "timePeriod": {  
474 - "delay": 2.75,  
475 - "duration": 0.15  
476 - },  
477 - "timelineColor": "#8c7f9f"  
478 - },  
479 - {  
480 - "actor": "Container 7",  
481 - "property": "colorAlpha",  
482 - "value": 1,  
483 - "alphaFunction": "LINEAR",  
484 - "timePeriod": {  
485 - "delay": 0.5,  
486 - "duration": 0.05  
487 - },  
488 - "timelineColor": "#8c7f9f"  
489 - },  
490 - {  
491 - "actor": "Container 7",  
492 - "property": "colorAlpha",  
493 - "value": 0,  
494 - "alphaFunction": "LINEAR",  
495 - "timePeriod": {  
496 - "delay": 2.9,  
497 - "duration": 0.05  
498 - },  
499 - "timelineColor": "#8c7f9f"  
500 - },  
501 - {  
502 - "actor": "Container 8",  
503 - "property": "scale",  
504 - "value": [  
505 - 1,  
506 - 1,  
507 - 1  
508 - ],  
509 - "alphaFunction": "LINEAR",  
510 - "timePeriod": {  
511 - "delay": 0.6,  
512 - "duration": 0.15  
513 - },  
514 - "timelineColor": "#ebe3df"  
515 - },  
516 - {  
517 - "actor": "Container 8",  
518 - "property": "scale",  
519 - "value": [  
520 - 0.1,  
521 - 0.1,  
522 - 1  
523 - ],  
524 - "alphaFunction": "LINEAR",  
525 - "timePeriod": {  
526 - "delay": 2.8,  
527 - "duration": 0.15  
528 - },  
529 - "timelineColor": "#ebe3df"  
530 - },  
531 - {  
532 - "actor": "Container 8",  
533 - "property": "colorAlpha",  
534 - "value": 1,  
535 - "alphaFunction": "LINEAR",  
536 - "timePeriod": {  
537 - "delay": 0.55,  
538 - "duration": 0.05  
539 - },  
540 - "timelineColor": "#ebe3df"  
541 - },  
542 - {  
543 - "actor": "Container 8",  
544 - "property": "colorAlpha",  
545 - "value": 0,  
546 - "alphaFunction": "LINEAR",  
547 - "timePeriod": {  
548 - "delay": 2.95,  
549 - "duration": 0.05  
550 - },  
551 - "timelineColor": "#ebe3df"  
552 - }  
553 - ],  
554 - "page": ""  
555 - }  
556 - }  
557 -}