Thanks Sir,
I updated scene.my.images array with .png extension. Its working.
for reasons unknown to me on my PC it was showing all the images even without .png extension !!
Thanks ..
1) Most of the time related script is in a transperent box in front of clock.
2) scene.my.ticksec = scene.my.ticksec + 1;
scene.my.sec = math.toint(scene.my.ticksec / 60);
scene.my.sec > 59 ? {_d = sim.time;scene.my.ticksec = 0;scene.my.min = scene.my.min + 1} : {};
scene.my.min > 59 ? {_c = sim.time;scene.my.min = 0;scene.my.hour = scene.my.hour + 1} : {};
scene.my.hour > 23 ? {_e = sim.time;scene.my.hour = 0} : {};
3)scene.my.mind1 = math.toint(scene.my.min % 10); // first min digit to be displayed; scene.my.mind2 = math.toint(scene.my.min / 10) // second min digit to be displayed;scene.my.hourd1 = math.toint(scene.my.hour % 10) // first hour digit to be displayed;scene.my.hourd2 = math.toint(scene.my.hour / 10)// second hour digit to be displayed;
4)scene.my.trigger1;scene.my.trigger2;scene.my.trigger3;scene.my.trigger4 // triggers for animation of digit.
5) Animation script is in respective digit images.
6) scene.my.displayup / scene.my.displaydn is array for top and bottom digit images.
7) I wanted to simulate flip motion like actual flip falling due to gravity. I tried but not very much sure. Can be improved. scene.my.diff = 0.0 + 0.013 * sin(sim.time - _a) // for top flip; scene.my.diff1 = 0.0 + 0.013 * sin(sim.time - _a + 1.05) // for bottom one.
I am sure people will love to set the clock to system time. Thanks