[PD] Displaying as two digits

Ben Baker-Smith bbakersmith at gmail.com
Mon Apr 5 17:00:49 CEST 2010

>Hey All
>I'm working on a game on PD. Part of which is a timer set out minutes:seconds. However, when the seconds variable is below 10 it's >displaying as a single digit. So most of the time this looks right (e.g. 2:56), but at the start of each minute it looks a little unusual (0:1). I'm >displaying this using [text3d].
>Any ideas how I can fix this?

I'm not sure where / how you're displaying the timer, but you could
convert to a symbol.
See the attached patch for 2 examples.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: double_digits.pd
Type: application/octet-stream
Size: 510 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100405/9be587b2/attachment.obj>

More information about the Pd-list mailing list