Added clock script to check animation time 94/53194/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 2 Dec 2015 12:28:24 +0000 (12:28 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 2 Dec 2015 12:28:24 +0000 (12:28 +0000)
Change-Id: Id65b42e32fdd4b6ed391480f2f40a50071815ea0

resources/scripts/clock.json [new file with mode: 0644]

diff --git a/resources/scripts/clock.json b/resources/scripts/clock.json
new file mode 100644 (file)
index 0000000..eab5614
--- /dev/null
@@ -0,0 +1,102 @@
+{
+  "stage": [{
+      "name": "seconds",
+      "type": "Control",
+      "actors": [],
+      "size": [10, 200, 1],
+      "position": [0, 0, -2],
+      "parentOrigin": [0.5, 0.5, 0.5],
+      "anchorPoint": [0.5, 1, 0.5],
+      "background": { "color": [0.71, 0, 0, 1] },
+      "selected": false,
+      "signals": [
+      {
+        "name": "onStage",
+        "action": "play",
+        "animation": "animate-seconds"
+      }]
+    }, {
+      "name": "minutes",
+      "type": "Control",
+      "actors": [],
+      "size": [11, 180, 1],
+      "position": [0, 0, -2],
+      "parentOrigin": [0.5, 0.5, 0.5],
+      "anchorPoint": [0.5, 1, 0.5],
+      "background": { "color": [0, 0.14200000000000013, 0.71, 0.7] },
+      "signals": [
+      {
+        "name": "onStage",
+        "action": "play",
+        "animation": "animate-minutes"
+      }]
+    }, {
+      "name": "hours",
+      "type": "Control",
+      "actors": [],
+      "size": [12, 120, 1],
+      "position": [0, 0, 0],
+      "parentOrigin": [0.5, 0.5, 0.5],
+      "anchorPoint": [0.5, 1, 0.5],
+      "background": { "color": [0.057450000000000064, 0.3, 0.0030000000000000027, 0.7] },
+      "signals": [
+      {
+        "name": "onStage",
+        "action": "play",
+        "animation": "animate-hours"
+      }]
+    }],
+  "paths": {},
+  "animations": {
+    "animate-seconds": {
+      "properties": [{
+          "actor": "seconds",
+          "property": "orientation",
+          "value": [0, 0, 360],
+          "alphaFunction": "LINEAR",
+          "timePeriod": {
+            "delay": 0,
+            "duration": 60.0
+          },
+          "gui-builder-timeline-color": "#f5aeb8",
+          "relative": true
+      }],
+      "loop": true
+    },
+    "animate-minutes": {
+      "properties": [{
+          "actor": "minutes",
+          "property": "orientation",
+          "value": [0, 0, 360],
+          "alphaFunction": "LINEAR",
+          "timePeriod": {
+            "delay": 0,
+            "duration": 3600.0
+          },
+          "gui-builder-timeline-color": "#aabcc4",
+          "relative": true
+      }],
+      "loop": true
+    },
+    "animate-hours": {
+      "properties": [{
+          "actor": "hours",
+          "property": "orientation",
+          "value": [0, 0, 360],
+          "alphaFunction": "LINEAR",
+          "timePeriod": {
+            "delay": 0,
+            "duration": 43200.0
+          },
+          "gui-builder-timeline-color": "#9e7f9e",
+          "relative": true
+      }],
+      "loop": true
+    }
+  },
+  "connections": [],
+  "shader-effects": {},
+  "gui-builder-device-height": 600,
+  "gui-builder-device-width": 400,
+  "gui-builder-json-version": "781"
+}