Commit b00280c0f8ed2d5ce3b702c1aed76683ca832e7b
1 parent
3d302abb
(Script) Timing script to show entrance of objects
Change-Id: I23c924db3387717a6fd306e28f9bf7a906476684
Showing
1 changed file
with
550 additions
and
0 deletions
demo/scripts/timing.json
0 → 100644
| 1 | +{ | ||
| 2 | + "templates": | ||
| 3 | + { | ||
| 4 | + "color-control": | ||
| 5 | + { | ||
| 6 | + "type": "Control", | ||
| 7 | + "parent-origin": "CENTER", | ||
| 8 | + "anchor-point": "CENTER", | ||
| 9 | + "size": [ 100, 100, 1 ], | ||
| 10 | + "scale": [ 0.1, 0.1, 1 ], | ||
| 11 | + "color-alpha": 0, | ||
| 12 | + "background-color": [ 0.95, 0.65, 0.1, 1 ] | ||
| 13 | + } | ||
| 14 | + }, | ||
| 15 | + "stage": [ | ||
| 16 | + { | ||
| 17 | + "type": "color-control", | ||
| 18 | + "name": "Container 1", | ||
| 19 | + "position": [ | ||
| 20 | + -165, | ||
| 21 | + -55, | ||
| 22 | + 0 | ||
| 23 | + ] | ||
| 24 | + }, | ||
| 25 | + { | ||
| 26 | + "type": "color-control", | ||
| 27 | + "name": "Container 2", | ||
| 28 | + "position": [ | ||
| 29 | + -55, | ||
| 30 | + -55, | ||
| 31 | + 0 | ||
| 32 | + ] | ||
| 33 | + }, | ||
| 34 | + { | ||
| 35 | + "type": "color-control", | ||
| 36 | + "name": "Container 3", | ||
| 37 | + "position": [ | ||
| 38 | + 55, | ||
| 39 | + -55, | ||
| 40 | + 0 | ||
| 41 | + ] | ||
| 42 | + }, | ||
| 43 | + { | ||
| 44 | + "type": "color-control", | ||
| 45 | + "name": "Container 4", | ||
| 46 | + "position": [ | ||
| 47 | + 165, | ||
| 48 | + -55, | ||
| 49 | + 0 | ||
| 50 | + ] | ||
| 51 | + }, | ||
| 52 | + { | ||
| 53 | + "type": "color-control", | ||
| 54 | + "name": "Container 5", | ||
| 55 | + "position": [ | ||
| 56 | + -165, | ||
| 57 | + 55, | ||
| 58 | + 0 | ||
| 59 | + ] | ||
| 60 | + }, | ||
| 61 | + { | ||
| 62 | + "type": "color-control", | ||
| 63 | + "name": "Container 6", | ||
| 64 | + "position": [ | ||
| 65 | + -55, | ||
| 66 | + 55, | ||
| 67 | + 0 | ||
| 68 | + ] | ||
| 69 | + }, | ||
| 70 | + { | ||
| 71 | + "type": "color-control", | ||
| 72 | + "name": "Container 7", | ||
| 73 | + "position": [ | ||
| 74 | + 55, | ||
| 75 | + 55, | ||
| 76 | + 0 | ||
| 77 | + ] | ||
| 78 | + }, | ||
| 79 | + { | ||
| 80 | + "type": "color-control", | ||
| 81 | + "name": "Container 8", | ||
| 82 | + "position": [ | ||
| 83 | + 165, | ||
| 84 | + 55, | ||
| 85 | + 0 | ||
| 86 | + ] | ||
| 87 | + }, | ||
| 88 | + { | ||
| 89 | + "type": "Control", | ||
| 90 | + "actors": [], | ||
| 91 | + "name": "ControlBack", | ||
| 92 | + "parent-origin": "CENTER", | ||
| 93 | + "anchor-point": "CENTER", | ||
| 94 | + "position": [ | ||
| 95 | + 0, | ||
| 96 | + 0, | ||
| 97 | + -1 | ||
| 98 | + ], | ||
| 99 | + "background-color": [ | ||
| 100 | + 1, | ||
| 101 | + 1, | ||
| 102 | + 1, | ||
| 103 | + 1 | ||
| 104 | + ], | ||
| 105 | + "signals": [ | ||
| 106 | + { | ||
| 107 | + "name": "touched", | ||
| 108 | + "action": "play", | ||
| 109 | + "animation": "Animation_1" | ||
| 110 | + } | ||
| 111 | + ] | ||
| 112 | + }, | ||
| 113 | + { | ||
| 114 | + "type": "TextView", | ||
| 115 | + "text": "<font size='20' color='#fea011'><b>Touch</b></font>", | ||
| 116 | + "markup-enabled": true, | ||
| 117 | + "name": "Instruction", | ||
| 118 | + "parent-origin": "BOTTOM_CENTER", | ||
| 119 | + "anchor-point": "BOTTOM_CENTER", | ||
| 120 | + "position": [ | ||
| 121 | + 0, | ||
| 122 | + 0, | ||
| 123 | + 1 | ||
| 124 | + ] | ||
| 125 | + } | ||
| 126 | + ], | ||
| 127 | + "animations": { | ||
| 128 | + "Animation_1": { | ||
| 129 | + "properties": [ | ||
| 130 | + { | ||
| 131 | + "actor": "Container 1", | ||
| 132 | + "property": "scale", | ||
| 133 | + "value": [ | ||
| 134 | + 1, | ||
| 135 | + 1, | ||
| 136 | + 1 | ||
| 137 | + ], | ||
| 138 | + "alpha-function": "LINEAR", | ||
| 139 | + "time-period": { | ||
| 140 | + "delay": 0.35, | ||
| 141 | + "duration": 0.15 | ||
| 142 | + }, | ||
| 143 | + "timelineColor": "#e098ab" | ||
| 144 | + }, | ||
| 145 | + { | ||
| 146 | + "actor": "Container 1", | ||
| 147 | + "property": "scale", | ||
| 148 | + "value": [ | ||
| 149 | + 0.1, | ||
| 150 | + 0.10000000000000003, | ||
| 151 | + 1 | ||
| 152 | + ], | ||
| 153 | + "alpha-function": "LINEAR", | ||
| 154 | + "time-period": { | ||
| 155 | + "delay": 2.449, | ||
| 156 | + "duration": 0.15 | ||
| 157 | + }, | ||
| 158 | + "timelineColor": "#e098ab" | ||
| 159 | + }, | ||
| 160 | + { | ||
| 161 | + "actor": "Container 1", | ||
| 162 | + "property": "color-alpha", | ||
| 163 | + "value": 1, | ||
| 164 | + "alpha-function": "LINEAR", | ||
| 165 | + "time-period": { | ||
| 166 | + "delay": 0.3, | ||
| 167 | + "duration": 0.05 | ||
| 168 | + }, | ||
| 169 | + "timelineColor": "#e098ab" | ||
| 170 | + }, | ||
| 171 | + { | ||
| 172 | + "actor": "Container 1", | ||
| 173 | + "property": "color-alpha", | ||
| 174 | + "value": 0, | ||
| 175 | + "alpha-function": "LINEAR", | ||
| 176 | + "time-period": { | ||
| 177 | + "delay": 2.599, | ||
| 178 | + "duration": 0.051 | ||
| 179 | + }, | ||
| 180 | + "timelineColor": "#e098ab" | ||
| 181 | + }, | ||
| 182 | + { | ||
| 183 | + "actor": "Container 2", | ||
| 184 | + "property": "scale", | ||
| 185 | + "value": [ | ||
| 186 | + 1, | ||
| 187 | + 1, | ||
| 188 | + 1 | ||
| 189 | + ], | ||
| 190 | + "alpha-function": "LINEAR", | ||
| 191 | + "time-period": { | ||
| 192 | + "delay": 0.4, | ||
| 193 | + "duration": 0.15 | ||
| 194 | + }, | ||
| 195 | + "timelineColor": "#f4efa3" | ||
| 196 | + }, | ||
| 197 | + { | ||
| 198 | + "actor": "Container 2", | ||
| 199 | + "property": "scale", | ||
| 200 | + "value": [ | ||
| 201 | + 0.1, | ||
| 202 | + 0.1, | ||
| 203 | + 1 | ||
| 204 | + ], | ||
| 205 | + "alpha-function": "LINEAR", | ||
| 206 | + "time-period": { | ||
| 207 | + "delay": 2.5, | ||
| 208 | + "duration": 0.15 | ||
| 209 | + }, | ||
| 210 | + "timelineColor": "#f4efa3" | ||
| 211 | + }, | ||
| 212 | + { | ||
| 213 | + "actor": "Container 2", | ||
| 214 | + "property": "color-alpha", | ||
| 215 | + "value": 1, | ||
| 216 | + "alpha-function": "LINEAR", | ||
| 217 | + "time-period": { | ||
| 218 | + "delay": 0.35, | ||
| 219 | + "duration": 0.05 | ||
| 220 | + }, | ||
| 221 | + "timelineColor": "#f4efa3" | ||
| 222 | + }, | ||
| 223 | + { | ||
| 224 | + "actor": "Container 2", | ||
| 225 | + "property": "color-alpha", | ||
| 226 | + "value": 0, | ||
| 227 | + "alpha-function": "LINEAR", | ||
| 228 | + "time-period": { | ||
| 229 | + "delay": 2.65, | ||
| 230 | + "duration": 0.05 | ||
| 231 | + }, | ||
| 232 | + "timelineColor": "#f4efa3" | ||
| 233 | + }, | ||
| 234 | + { | ||
| 235 | + "actor": "Container 3", | ||
| 236 | + "property": "scale", | ||
| 237 | + "value": [ | ||
| 238 | + 1, | ||
| 239 | + 1, | ||
| 240 | + 1 | ||
| 241 | + ], | ||
| 242 | + "alpha-function": "LINEAR", | ||
| 243 | + "time-period": { | ||
| 244 | + "delay": 0.45, | ||
| 245 | + "duration": 0.15 | ||
| 246 | + }, | ||
| 247 | + "timelineColor": "#a8a9dc" | ||
| 248 | + }, | ||
| 249 | + { | ||
| 250 | + "actor": "Container 3", | ||
| 251 | + "property": "scale", | ||
| 252 | + "value": [ | ||
| 253 | + 0.1, | ||
| 254 | + 0.1, | ||
| 255 | + 1 | ||
| 256 | + ], | ||
| 257 | + "alpha-function": "LINEAR", | ||
| 258 | + "time-period": { | ||
| 259 | + "delay": 2.55, | ||
| 260 | + "duration": 0.15 | ||
| 261 | + }, | ||
| 262 | + "timelineColor": "#a8a9dc" | ||
| 263 | + }, | ||
| 264 | + { | ||
| 265 | + "actor": "Container 3", | ||
| 266 | + "property": "color-alpha", | ||
| 267 | + "value": 1, | ||
| 268 | + "alpha-function": "LINEAR", | ||
| 269 | + "time-period": { | ||
| 270 | + "delay": 0.4, | ||
| 271 | + "duration": 0.05 | ||
| 272 | + }, | ||
| 273 | + "timelineColor": "#a8a9dc" | ||
| 274 | + }, | ||
| 275 | + { | ||
| 276 | + "actor": "Container 3", | ||
| 277 | + "property": "color-alpha", | ||
| 278 | + "value": 0, | ||
| 279 | + "alpha-function": "LINEAR", | ||
| 280 | + "time-period": { | ||
| 281 | + "delay": 2.7, | ||
| 282 | + "duration": 0.05 | ||
| 283 | + }, | ||
| 284 | + "timelineColor": "#a8a9dc" | ||
| 285 | + }, | ||
| 286 | + { | ||
| 287 | + "actor": "Container 4", | ||
| 288 | + "property": "scale", | ||
| 289 | + "value": [ | ||
| 290 | + 1, | ||
| 291 | + 1, | ||
| 292 | + 1 | ||
| 293 | + ], | ||
| 294 | + "alpha-function": "LINEAR", | ||
| 295 | + "time-period": { | ||
| 296 | + "delay": 0.5, | ||
| 297 | + "duration": 0.15 | ||
| 298 | + }, | ||
| 299 | + "timelineColor": "#cae6f9" | ||
| 300 | + }, | ||
| 301 | + { | ||
| 302 | + "actor": "Container 4", | ||
| 303 | + "property": "scale", | ||
| 304 | + "value": [ | ||
| 305 | + 0.1, | ||
| 306 | + 0.1, | ||
| 307 | + 1 | ||
| 308 | + ], | ||
| 309 | + "alpha-function": "LINEAR", | ||
| 310 | + "time-period": { | ||
| 311 | + "delay": 2.6, | ||
| 312 | + "duration": 0.15 | ||
| 313 | + }, | ||
| 314 | + "timelineColor": "#cae6f9" | ||
| 315 | + }, | ||
| 316 | + { | ||
| 317 | + "actor": "Container 4", | ||
| 318 | + "property": "color-alpha", | ||
| 319 | + "value": 1, | ||
| 320 | + "alpha-function": "LINEAR", | ||
| 321 | + "time-period": { | ||
| 322 | + "delay": 0.45, | ||
| 323 | + "duration": 0.05 | ||
| 324 | + }, | ||
| 325 | + "timelineColor": "#cae6f9" | ||
| 326 | + }, | ||
| 327 | + { | ||
| 328 | + "actor": "Container 4", | ||
| 329 | + "property": "color-alpha", | ||
| 330 | + "value": 0, | ||
| 331 | + "alpha-function": "LINEAR", | ||
| 332 | + "time-period": { | ||
| 333 | + "delay": 2.75, | ||
| 334 | + "duration": 0.05 | ||
| 335 | + }, | ||
| 336 | + "timelineColor": "#cae6f9" | ||
| 337 | + }, | ||
| 338 | + { | ||
| 339 | + "actor": "Container 5", | ||
| 340 | + "property": "scale", | ||
| 341 | + "value": [ | ||
| 342 | + 1, | ||
| 343 | + 1, | ||
| 344 | + 1 | ||
| 345 | + ], | ||
| 346 | + "alpha-function": "LINEAR", | ||
| 347 | + "time-period": { | ||
| 348 | + "delay": 0.45, | ||
| 349 | + "duration": 0.15 | ||
| 350 | + }, | ||
| 351 | + "timelineColor": "#8291cb" | ||
| 352 | + }, | ||
| 353 | + { | ||
| 354 | + "actor": "Container 5", | ||
| 355 | + "property": "scale", | ||
| 356 | + "value": [ | ||
| 357 | + 0.1, | ||
| 358 | + 0.1, | ||
| 359 | + 1 | ||
| 360 | + ], | ||
| 361 | + "alpha-function": "LINEAR", | ||
| 362 | + "time-period": { | ||
| 363 | + "delay": 2.65, | ||
| 364 | + "duration": 0.15 | ||
| 365 | + }, | ||
| 366 | + "timelineColor": "#8291cb" | ||
| 367 | + }, | ||
| 368 | + { | ||
| 369 | + "actor": "Container 5", | ||
| 370 | + "property": "color-alpha", | ||
| 371 | + "value": 1, | ||
| 372 | + "alpha-function": "LINEAR", | ||
| 373 | + "time-period": { | ||
| 374 | + "delay": 0.4, | ||
| 375 | + "duration": 0.05 | ||
| 376 | + }, | ||
| 377 | + "timelineColor": "#8291cb" | ||
| 378 | + }, | ||
| 379 | + { | ||
| 380 | + "actor": "Container 5", | ||
| 381 | + "property": "color-alpha", | ||
| 382 | + "value": 0, | ||
| 383 | + "alpha-function": "LINEAR", | ||
| 384 | + "time-period": { | ||
| 385 | + "delay": 2.8, | ||
| 386 | + "duration": 0.05 | ||
| 387 | + }, | ||
| 388 | + "timelineColor": "#8291cb" | ||
| 389 | + }, | ||
| 390 | + { | ||
| 391 | + "actor": "Container 6", | ||
| 392 | + "property": "scale", | ||
| 393 | + "value": [ | ||
| 394 | + 1, | ||
| 395 | + 1, | ||
| 396 | + 1 | ||
| 397 | + ], | ||
| 398 | + "alpha-function": "LINEAR", | ||
| 399 | + "time-period": { | ||
| 400 | + "delay": 0.5, | ||
| 401 | + "duration": 0.15 | ||
| 402 | + }, | ||
| 403 | + "timelineColor": "#8eeeae" | ||
| 404 | + }, | ||
| 405 | + { | ||
| 406 | + "actor": "Container 6", | ||
| 407 | + "property": "scale", | ||
| 408 | + "value": [ | ||
| 409 | + 0.1, | ||
| 410 | + 0.1, | ||
| 411 | + 1 | ||
| 412 | + ], | ||
| 413 | + "alpha-function": "LINEAR", | ||
| 414 | + "time-period": { | ||
| 415 | + "delay": 2.7, | ||
| 416 | + "duration": 0.15 | ||
| 417 | + }, | ||
| 418 | + "timelineColor": "#8eeeae" | ||
| 419 | + }, | ||
| 420 | + { | ||
| 421 | + "actor": "Container 6", | ||
| 422 | + "property": "color-alpha", | ||
| 423 | + "value": 1, | ||
| 424 | + "alpha-function": "LINEAR", | ||
| 425 | + "time-period": { | ||
| 426 | + "delay": 0.45, | ||
| 427 | + "duration": 0.05 | ||
| 428 | + }, | ||
| 429 | + "timelineColor": "#8eeeae" | ||
| 430 | + }, | ||
| 431 | + { | ||
| 432 | + "actor": "Container 6", | ||
| 433 | + "property": "color-alpha", | ||
| 434 | + "value": 0, | ||
| 435 | + "alpha-function": "LINEAR", | ||
| 436 | + "time-period": { | ||
| 437 | + "delay": 2.85, | ||
| 438 | + "duration": 0.05 | ||
| 439 | + }, | ||
| 440 | + "timelineColor": "#8eeeae" | ||
| 441 | + }, | ||
| 442 | + { | ||
| 443 | + "actor": "Container 7", | ||
| 444 | + "property": "scale", | ||
| 445 | + "value": [ | ||
| 446 | + 1, | ||
| 447 | + 1, | ||
| 448 | + 1 | ||
| 449 | + ], | ||
| 450 | + "alpha-function": "LINEAR", | ||
| 451 | + "time-period": { | ||
| 452 | + "delay": 0.55, | ||
| 453 | + "duration": 0.15 | ||
| 454 | + }, | ||
| 455 | + "timelineColor": "#8c7f9f" | ||
| 456 | + }, | ||
| 457 | + { | ||
| 458 | + "actor": "Container 7", | ||
| 459 | + "property": "scale", | ||
| 460 | + "value": [ | ||
| 461 | + 0.1, | ||
| 462 | + 0.1, | ||
| 463 | + 1 | ||
| 464 | + ], | ||
| 465 | + "alpha-function": "LINEAR", | ||
| 466 | + "time-period": { | ||
| 467 | + "delay": 2.75, | ||
| 468 | + "duration": 0.15 | ||
| 469 | + }, | ||
| 470 | + "timelineColor": "#8c7f9f" | ||
| 471 | + }, | ||
| 472 | + { | ||
| 473 | + "actor": "Container 7", | ||
| 474 | + "property": "color-alpha", | ||
| 475 | + "value": 1, | ||
| 476 | + "alpha-function": "LINEAR", | ||
| 477 | + "time-period": { | ||
| 478 | + "delay": 0.5, | ||
| 479 | + "duration": 0.05 | ||
| 480 | + }, | ||
| 481 | + "timelineColor": "#8c7f9f" | ||
| 482 | + }, | ||
| 483 | + { | ||
| 484 | + "actor": "Container 7", | ||
| 485 | + "property": "color-alpha", | ||
| 486 | + "value": 0, | ||
| 487 | + "alpha-function": "LINEAR", | ||
| 488 | + "time-period": { | ||
| 489 | + "delay": 2.9, | ||
| 490 | + "duration": 0.05 | ||
| 491 | + }, | ||
| 492 | + "timelineColor": "#8c7f9f" | ||
| 493 | + }, | ||
| 494 | + { | ||
| 495 | + "actor": "Container 8", | ||
| 496 | + "property": "scale", | ||
| 497 | + "value": [ | ||
| 498 | + 1, | ||
| 499 | + 1, | ||
| 500 | + 1 | ||
| 501 | + ], | ||
| 502 | + "alpha-function": "LINEAR", | ||
| 503 | + "time-period": { | ||
| 504 | + "delay": 0.6, | ||
| 505 | + "duration": 0.15 | ||
| 506 | + }, | ||
| 507 | + "timelineColor": "#ebe3df" | ||
| 508 | + }, | ||
| 509 | + { | ||
| 510 | + "actor": "Container 8", | ||
| 511 | + "property": "scale", | ||
| 512 | + "value": [ | ||
| 513 | + 0.1, | ||
| 514 | + 0.1, | ||
| 515 | + 1 | ||
| 516 | + ], | ||
| 517 | + "alpha-function": "LINEAR", | ||
| 518 | + "time-period": { | ||
| 519 | + "delay": 2.8, | ||
| 520 | + "duration": 0.15 | ||
| 521 | + }, | ||
| 522 | + "timelineColor": "#ebe3df" | ||
| 523 | + }, | ||
| 524 | + { | ||
| 525 | + "actor": "Container 8", | ||
| 526 | + "property": "color-alpha", | ||
| 527 | + "value": 1, | ||
| 528 | + "alpha-function": "LINEAR", | ||
| 529 | + "time-period": { | ||
| 530 | + "delay": 0.55, | ||
| 531 | + "duration": 0.05 | ||
| 532 | + }, | ||
| 533 | + "timelineColor": "#ebe3df" | ||
| 534 | + }, | ||
| 535 | + { | ||
| 536 | + "actor": "Container 8", | ||
| 537 | + "property": "color-alpha", | ||
| 538 | + "value": 0, | ||
| 539 | + "alpha-function": "LINEAR", | ||
| 540 | + "time-period": { | ||
| 541 | + "delay": 2.95, | ||
| 542 | + "duration": 0.05 | ||
| 543 | + }, | ||
| 544 | + "timelineColor": "#ebe3df" | ||
| 545 | + } | ||
| 546 | + ], | ||
| 547 | + "page": "" | ||
| 548 | + } | ||
| 549 | + } | ||
| 550 | +} |