Countdown as Background

Q and A about functionality and how to solve a special task for your application.

Countdown as Background

Postby pr0me » 05 Jul 2014, 21:29

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
pr0me
 
Posts: 3
Joined: 05 Jul 2014, 21:24

Re: Countdown as Background

Postby Daniel Willer » 09 Jul 2014, 08:44

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
User avatar
Daniel Willer
 
Posts: 306
Joined: 06 Jan 2012, 18:12

Re: Countdown as Background

Postby squiggle » 09 Jul 2014, 11:48

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
User avatar
squiggle
 
Posts: 31
Joined: 18 Jan 2012, 17:54

Re: Countdown as Background

Postby pr0me » 09 Jul 2014, 22:21

Thanks for the replies!
pr0me
 
Posts: 3
Joined: 05 Jul 2014, 21:24


Return to How to...

cron