Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 9 made on Sunday February 22, 2009 at 14:35
Rusty Fobe
Long Time Member
Joined:
Posts:
December 2008
47

Here's a simple one (I don't have a server, but here is the code and the description):

The timer is set to the value you want in the activity script of a clock activity (mine is set to 25 to allow my satellite receiver/recorder to startup (a Topfield HDPVR type with 500 GB disc).

The Ball (I used a chrome button) is situated at 240, 270,  size 160 x 160.
The Pebble (I used a transparent chrome button) is situated at 300 115, size 40x40.
I've put a circle bmp 1222 (images buttonfields) on which ball & pebble "move" synchronically from left to right in the background. The centers of Ball and Circle are on positioned on the circle.

I use a modern blue bmp5813 button for the countdown display. Font la Cartoonerie 72.
I centered it in the enlarged bmp1222.

It's not spectacular, it was just an exercise in moving pictures around the screen. I also had a bouncing ball (with a dampening formula, but unfortunately I lost it). Also a boring after a while... I'm thinking of replacing the timer by the weather module, with a countdown timer in the title.

Rusty

if (timer==0) {
widget("TIMER").executeActions();}  // jumps to the TV channels page
widget("TIMER").label=timer;
widget("BALL").left=170;
widget("BALL").top=240;
widget("PEBBLE").left=350;
widget("PEBBLE").top=130;

if (timer%2==1) {
widget("BALL").executeActions();  // a sound
widget("BALL").left=240;
widget("BALL").top=270;
widget("PEBBLE").left=300;
widget("PEBBLE").top=115;}

if(timer%4==0) {
widget("BALL").left=310;
widget("BALL").top=240;
widget("PEBBLE").left=250;
widget("PEBBLE").top=130;}

timer--;


Hosting Services by ipHouse