-
Countdown Timer Preset Proportional Spacing Off
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);