ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Countdown Timer Preset Proportional Spacing Off

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
James GrochowalskiCountdown Timer Preset Proportional Spacing Off
by on Nov 29, 2014 at 8:13:32 am

hey everyone,
I found this preset online to quickly make a countdown using any font. The problem is, I would like to make the proportional spacing off, just like you can uncheck proportional spacing for the numbers effect. I'm basically wanting to use this preset, but not have it move in space as the numbers change.

Anyone know how to add to the expression to make it do this?

Here's the expression that is put to the source text to make this timer:

holdTime = effect("HoldTime")("Slider");
timeOffset = (timeToFrames(time) / (1 / thisComp.frameDuration)) - holdTime;
countDownLength = effect("CountdownLength-minutes")("Slider") * 60;
countDown = clamp(countDownLength, countDownLength - timeOffset, 0) ;

framesCheck = effect("Frames-On/Off")("Checkbox");
if (countDown >= 600) tens = 1 else tens = 0;
if (countDown >= 3600) hrs = 2 else hrs = 0;

t = timeToTimecode(countDown);
if (framesCheck == true) frames = 8 else frames = 4;

temp = t.substr(4 - tens - hrs, frames + tens + hrs);

Return to posts index

John CuevasRe: Countdown Timer Preset Proportional Spacing Off
by on Nov 29, 2014 at 3:52:17 pm

Just use a monospaced font

Johnny Cuevas, Editor

"I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work."
---THOMAS EDISON on inventing the light bulb.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved