Page 1 of 1

Countdown as Background

Posted: 05 Jul 2014, 21:29
by pr0me
Hello,

I'm very new to this awesome software and want to display a clock or a countdown in one corner of the background, which has to be visible at all times.
Probably the solution is pretty easy, but I couldnt think of a way.

And is there a way to display a countdown in a m:s way like 1:08 and not only in seconds?

Thanks in advance,

Lukas

Re: Countdown as Background

Posted: 09 Jul 2014, 08:44
by Daniel Willer
Hi there

This is pretty simple just use the Timer or the DateTime node connected to a ConvertToText node to format the time to your needs.
Press F1 on the ConvertToText to see how time formatting works.
For a counter with minutes and seconds the Format in the ConvertToText would look like that.

Code: Select all

 {0:mm:ss}
Cheers!
Daniel

Re: Countdown as Background

Posted: 09 Jul 2014, 11:48
by squiggle
This is quite a handy reference:
http://pdmlab.com/samples/stringformatting/
When you use the Convert-To-Text-Node you only need the part inside these { } brackets.
sq

Re: Countdown as Background

Posted: 09 Jul 2014, 22:21
by pr0me
Thanks for the replies!