Countdown Timer with Expressions After Effects CC Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • CREATE A FEW SIMPLE COUNTDOWN TIMERS IN AFTER EFFECTS EASILY! | Learn to write the expressions that you need to build a very simple or very complex timer in After Effects.
    👾 DISCORD: discord.me/tutvid
    🏆 My Instagram: / tutvid
    💰 Buy the Photoshop Course and Support the Channel → bit.ly/28NuwFy
    🎯 Subscribe for Daily Tutorials → goo.gl/DN4Nln
    -
    In this After Effects tutorial, we’ll dive into using a single text field and create a couple of VERY simple timers to kick things off and then we’ll write a bit more complex code to create a much more realistic and functional countdown timer that you have complete control over. You can choose the duration of the countdown and simply set it and forget it! Build the code once and have a countdown menu that you can use for any project anywhere.
    ⚡️ written tutorial here: bit.ly/2EP1l9t
    INSTAGRAM: / tutvid
    TWITTER: / tutvid
    FACEBOOK: / tutvid
    tutvid is a TH-cam channel dedicated to creating the best Adobe Photoshop, Premiere Pro, Lightroom, and Illustrator tutorials. My goal is to create the best, most informative, and entertaining tutorials on the web. If you enjoy my videos, the best way to support what I do here is to purchase my course linked above or simply subscribe to the TH-cam channel by pressing the red button.
    ✉️ business inquiries: nate@tutvid.com
    -

ความคิดเห็น • 616

  • @J0nCoyne
    @J0nCoyne 4 ปีที่แล้ว +203

    If you are just looking for the expression :
    t = Math.floor(outPoint-time);
    minut = Math.floor(t / 60);
    second = t % 60;
    if(minut < 10)
    {
    if(second < 10)
    {
    ['0' + minut + ':' + '0' + second];
    }
    else
    {
    ['0' + minut + ':' + second];
    }
    }
    else
    {
    if(second < 10)
    {
    [minut + ':' + '0' + second];
    }
    else
    {
    [minut + ':' + second];
    }
    }

  • @COOLMUSICMIX
    @COOLMUSICMIX 5 ปีที่แล้ว +242

    You can use this code, you do not need a slider for this!
    Important! To make the time go in front, you just need to remove - "outPoint-"
    t = Math.floor(outPoint-time);
    minut = Math.floor(t / 60);
    second = t % 60;
    if(minut < 10)
    {
    if(second < 10)
    {
    ['0' + minut + ':' + '0' + second];
    }
    else
    {
    ['0' + minut + ':' + second];
    }
    }
    else
    {
    if(second < 10)
    {
    [minut + ':' + '0' + second];
    }
    else
    {
    [minut + ':' + second];
    }
    }

    • @MariusVolden
      @MariusVolden 5 ปีที่แล้ว +2

      This one worked altho it works different. It adjusts depending on the layer size instead.... but with that said, it did work, unlike the other did even when changing to Legacy expression.

    • @pogocane6871
      @pogocane6871 5 ปีที่แล้ว +3

      THANK YOU, for some reason the timer shown in this video didn't work properly (countdown went into negatives even though I copied the command text exactly) and couldn't go forward from zero. Yours works perfectly for what I was trying to achieve.

    • @ashlorusso
      @ashlorusso 5 ปีที่แล้ว +4

      I HAVE BEEN LOOKING FOR THIS ANSWER FOR 2 HOURS. THANK YOU

    • @hafiddavila
      @hafiddavila 5 ปีที่แล้ว +1

      Thanks dude!!! It worked great!!!😀

    • @SiddharthaTripathi28
      @SiddharthaTripathi28 5 ปีที่แล้ว +1

      THANK YOU!

  • @jonagreyphoto
    @jonagreyphoto 6 ปีที่แล้ว +133

    "CREATE A FEW SIMPLE COUNTDOWN TIMERS IN AFTER EFFECTS EASILY! "
    Your definition of easy is mindblowing.

    • @ChrisHanline
      @ChrisHanline 4 ปีที่แล้ว +7

      Alright, let me show you how to do this real quick. Do you have 30 minutes?

    • @milestailsprower4555
      @milestailsprower4555 3 ปีที่แล้ว

      @@ChrisHanline
      It.goes
      00:13
      00:12
      00:11
      00:10
      00:09
      00:08
      00:07
      00:06
      00:05
      00:04
      00:03
      00:02
      00:01
      00:00
      0-1:0-1
      0-1:0-2
      0-1:0-3
      0-1:0-4
      0-1:0-5
      0-1:0-6
      0-1:0-7
      0-1:0-8
      0-1:0-9
      0-1:0-10

    • @codesymphony
      @codesymphony 3 ปีที่แล้ว +1

      it is easy. Math.floor(60-time);

  • @RamanujDeka
    @RamanujDeka 4 ปีที่แล้ว +83

    - Make a Text Layer and put "00:00"
    - Then add Slider Control
    - Add this in source text:
    slider = effect("Slider Control")("Slider");
    sec = Math.floor(slider%60);
    min = Math.floor(slider/60);
    function addZero(n) {
    return (n < 10) ? "0" + n : n;
    }
    addZero(min) + ":" + addZero(sec);

    • @JaronLionel
      @JaronLionel 4 ปีที่แล้ว +3

      THIS! hahahahaha

    • @anwitodas2447
      @anwitodas2447 4 ปีที่แล้ว +3

      Thanks its working!

    • @cwgunn
      @cwgunn 4 ปีที่แล้ว +2

      doesn't work. time doesn't go down

    • @RamanujDeka
      @RamanujDeka 4 ปีที่แล้ว +2

      @@cwgunn you must key frame and keep comp in 1 fps. Then import that comp (which is only text) and reverse the comp.

    • @motionsam
      @motionsam 4 ปีที่แล้ว +1

      loop of thanks to you!

  • @SkDragon360
    @SkDragon360 6 ปีที่แล้ว +16

    People having problems with copy paste is because the written version in his page has a lot of wrong symbols like double quotes being different. heres the fixed version that has worked for me and my friends doing a copy and paste. BTW excellent Job and tutorial, really love this one.
    rateOfSpeed=1;
    clockStartTime = thisComp.layer("Timer Duration").effect("Slider Control")("Slider")*60;
    clockTimeNumber = Math.floor(clockStartTime - rateOfSpeed*time);
    function addZero(n) {
    if (n 0 && time < clockStartTime) {
    addZero(minutes) + ":" + addZero(seconds);
    } else {"00:00"}

    • @gamingmoments8097
      @gamingmoments8097 6 ปีที่แล้ว +4

      it still doesn't work for me .. 2019 version and i dont know why it wont ... it wont show anything

    • @SkDragon360
      @SkDragon360 6 ปีที่แล้ว

      @@gamingmoments8097 verify that you have create the elements with the same name as the code

    • @faerlywell
      @faerlywell 5 ปีที่แล้ว +1

      i pasted this in but it just says error.

    • @danielk3649
      @danielk3649 5 ปีที่แล้ว +1

      AMAZING!! thank you

    • @kastanasvasilis
      @kastanasvasilis 5 ปีที่แล้ว +1

      it says it has 1 error with the syntax.

  • @edwardhodge_usa
    @edwardhodge_usa 5 ปีที่แล้ว +15

    THIS WAS A FANTASTIC TUTORIAL. Love how you break down the thought process!

  • @BlankHero
    @BlankHero 6 ปีที่แล้ว +1

    Thanks! for those who want the code, here it is! X)
    rateOfSpeed = 1;
    clockStartTime = thisComp.layer("Timer Duration").effect("Slider Control")("Slider")*60;
    function addZero(n) {
    if(n 0 && time < clockStartTime) {
    addZero(minutes) + ":" + addZero(seconds);
    } else ("00:00");

  • @dianam3004
    @dianam3004 3 ปีที่แล้ว +1

    Thank you so much for taking the time to teach it and not just tell us to paste it in. Understanding how the expression was built will really help when I need to change or update it for a different project

  • @anuraggracian9265
    @anuraggracian9265 3 ปีที่แล้ว +1

    Bro I cannot tell you how helpful this was. I was loking for tuts to create a template like this and this is byfar the most detailed tutorial. And thank you for sending this. For the benefit of everyone using After effects 2020. I am adding the expression that worked for me:
    rateOfSpeed=1;
    clockStartTime = thisComp.layer("Time Duration").effect("Slider Control")("Slider")*60;
    clockTimeNumber= Math.floor(clockStartTime-rateOfSpeed*time);
    function addZero(n){

    if(n 0 && time < clockStartTime){
    minutes + ":" + addZero(seconds);
    } else {"0"};

    • @mikehines14
      @mikehines14 3 ปีที่แล้ว

      THANK YOUUUUUU!!!!

  • @MillionaireHoyOriginal
    @MillionaireHoyOriginal ปีที่แล้ว

    Thanks. This is exactly what I needed.

  • @scaredybaby4039
    @scaredybaby4039 3 ปีที่แล้ว +3

    This has been one of the best After Effects tutorials I have ever seen. You explained it in a wonderfully building way and made it clear the entire time. Thank you, this was extremely helpful!

  • @TutoriallabNetblog
    @TutoriallabNetblog 5 ปีที่แล้ว +20

    if someone is getting error in AE 2018, then you should change the if condition statement to simplified one or full version like this :
    function addZero {
    if(n

    • @Bnastudios
      @Bnastudios 5 ปีที่แล้ว

      Doing exactly this and putting in a line break (or 'enter' on your keyboard) made this function work. Thank you!!

    • @LetsPronounce
      @LetsPronounce 5 ปีที่แล้ว +1

      Thank you this worked!

    • @MrBoost92
      @MrBoost92 5 ปีที่แล้ว +6

      function addZero(n) {
      return (n < 10) ? "0" + n : n;
      }
      This will work for the newest verison of AE

    • @K8thegr8k
      @K8thegr8k 5 ปีที่แล้ว

      @@MrBoost92 THANK YOU! I have been struggling for the last hour with this.

    • @aaronsherman1789
      @aaronsherman1789 5 ปีที่แล้ว

      @@MrBoost92 Yes thank you this is what I needed for AE CC!

  • @rachelkoehler1473
    @rachelkoehler1473 3 ปีที่แล้ว +3

    2021 experience... I only had 2 hiccups. (and I have very little experience with expressions)
    1. I'm sure this is a classic thing to watch out for, but if you happened to copy-paste the code from the blog in the description (or anywhere else), the quotation marks may be curly instead of straight, and that creates an error every time. I copy-pasted from his blog to be quick, and had to go in and remove and re-type all instances of quotation marks within the AE code editor.
    2. I also had to use the if/else statement replacement from Giselle Thomas below.
    Now it's working for me!
    Also, if you didn't watch the entire video and don't like the extra zero on the minutes side, just leave the last if statement as:
    if (clockStartTime > 0&& time < clockStartTime) {

    minutes + ":" + addZero(seconds);
    } else {"00:00"};

  • @cayiika
    @cayiika 6 ปีที่แล้ว +1

    I really dig how this tutorial is a bit on the longer side but full of useful info on the actual basics of what you're teaching. Definitely learned a thing or two!

  • @elissitdesign
    @elissitdesign 6 ปีที่แล้ว +16

    If you add
    clockTimeNumber = Math.floor(outPoint-time);
    the timer will countdown based on the length of your text layer ;-)
    The addZero function is hot. Thanks.

    • @abjeet1
      @abjeet1 5 ปีที่แล้ว +1

      thats useful :)
      In a scenario where one is editing cut scenes eg Timer starts with 15 min, next scene 7 minutes, third scene 3 min, it's easier to use slider to adjust the values than to change the length of text layer ;)

  • @user-ue8io4kn7k
    @user-ue8io4kn7k 4 ปีที่แล้ว +48

    Thank you for all of that, I love your vids. I hope this is okay, but I pasted the code below for easy acces for everyone...
    RateOfspeed = 1;
    ClockStartTime = thisComp.layer("Timer duration").effect("Timer length")("Slider")*60;
    function addZero(n){
    if(n 0 && time < ClockStartTime){
    Minutes + ":" + addZero(Seconds);

    } else {"0"};

    • @KABOBkabob
      @KABOBkabob 3 ปีที่แล้ว +2

      Yeah just follow the first 6 minutes and drop this code into the source text and youre done

    • @TerryPlays
      @TerryPlays 3 ปีที่แล้ว +1

      you typed the code wrong but ok

    • @benjins1751
      @benjins1751 3 ปีที่แล้ว +3

      you are a god tier human being

    • @user-ue8io4kn7k
      @user-ue8io4kn7k 3 ปีที่แล้ว +1

      @@benjins1751 Haha! No no, I am merely a message boy. Tutvid is the real champion.

    • @JamesFishpond
      @JamesFishpond 3 ปีที่แล้ว +1

      thanks so much! this worked except I had to update this line for some reason.
      ClockStartTime = thisComp.layer("Timer Duration").effect("Slider Control")("Slider")*60;

  • @tuxedojericho
    @tuxedojericho 4 ปีที่แล้ว +70

    If anyone is getting an error on the function addZero portion, I found a fix on adobe's community site.
    function addZero(n) {
    return (n < 10) ? "0" + n : n;
    }

    • @greatlakesvisual
      @greatlakesvisual 4 ปีที่แล้ว +2

      Ran into the same issue. Thanks

    • @AvengerArts
      @AvengerArts 4 ปีที่แล้ว +2

      I had the same problem fixed by your contribution, thanks!

    • @kenyiortiz2263
      @kenyiortiz2263 4 ปีที่แล้ว

      Same problem this helped thanks!!!

    • @StudiosRGB
      @StudiosRGB 4 ปีที่แล้ว

      Thanks a LOT!!!!!

    • @KIMBEAUX
      @KIMBEAUX 4 ปีที่แล้ว

      THANK YOU!!

  • @ritaagato
    @ritaagato 2 ปีที่แล้ว +3

    If you are using AE 2020, the "else return" input must be written as a new paragraph bellow "if ( n < 10)" or else AE will declare it as an error.
    Cheers! Thanks for the tutorial!

  • @bravoprochu
    @bravoprochu 4 ปีที่แล้ว +2

    great tutorial ! thanks ! Made to do something similar instead: 3 sliders (hours/minutes/seconds) and source text (option "-/+" in currTime determines if its a counter or just stoper...
    function fixZero(n) {
    if(n

  • @JohnHenryOpperman
    @JohnHenryOpperman 3 ปีที่แล้ว

    I don't know what after effects or expressions is, but I keep listening to this cause the audio is so good! Thanks

  • @workoholekhh7542
    @workoholekhh7542 3 ปีที่แล้ว

    I don't know how to thank you. The expression of after effects is so sweet.

  • @nathanksimpson
    @nathanksimpson 2 ปีที่แล้ว

    Thanks so much for explaining the coding here!

  • @nuria.sakura
    @nuria.sakura 4 ปีที่แล้ว

    Great video.... I was looking for the easy way but since I couldn't add the zero I ended up watching your video. NO REGRETS! your video is beautifully explained! thank you!!!

  • @dcdubs1943
    @dcdubs1943 ปีที่แล้ว

    Extremely helpful. Thank you for taking the time to make this video!

  • @vlaine86
    @vlaine86 3 ปีที่แล้ว +1

    This was a great walkthrough video! I felt like I was in a lecture lab *in a positive way*. Thank you!

  • @장해주-c3b
    @장해주-c3b 2 ปีที่แล้ว

    I think it's going to take me some time to digest these lengthy expressions. I'll keep watching your tutorials about expressions. This is truly amazing. Thank you for this. I'm going to rest my brain now.

  • @ericdanielhaley
    @ericdanielhaley 6 ปีที่แล้ว +5

    Amazing tutorial! I have one issue tho. Getting that annoying shifting from left to right as the numbers have different widths.
    Are you using a monospaced font? Any way you know off turning off proportional spacing on normal text?

  • @adamspikes9755
    @adamspikes9755 3 ปีที่แล้ว

    Bro you’re sense of humor is impeccable I friggin love it! 😂 great tutorial as well!

  • @create2relate39
    @create2relate39 2 ปีที่แล้ว

    Thank you! Easy to understand! Appreciate your help. Subscribed.

  • @AlejandroJovica
    @AlejandroJovica 3 ปีที่แล้ว

    great so great tutorial, thak you so much Tutvid, greetings from Colombia, South America

  • @avalancheofawsome
    @avalancheofawsome 3 ปีที่แล้ว

    Never stop making tutorials!

  • @dana919191
    @dana919191 3 ปีที่แล้ว

    thank u sooo much!!! OMG I've looking for that so long! so many video watched, so many time wasted! only this helped me. THANK YOU!!!

  • @bernardsantos210
    @bernardsantos210 3 ปีที่แล้ว

    Worked wonders for me! Thanks!
    Gonna adjust this and place it in an Essential Graphics template and share it with the time, maybe add a color changer in there so they don't have to keep returning to me for a newly rendered timer.

  • @Ehsan.Ariyaee
    @Ehsan.Ariyaee 4 ปีที่แล้ว

    Best Countdown Tut on TH-cam!

  • @kasperrubin5754
    @kasperrubin5754 3 ปีที่แล้ว

    Thank you! That's awesome!

  • @jayjake
    @jayjake 4 ปีที่แล้ว +2

    This code works for me (2020)
    rateOfSpeed = 1;
    clockStartTime = thisComp.layer("timer duration").effect("Slider Control")("Slider")*60;
    function addZero(n){
    if(n

  • @dloading9525
    @dloading9525 4 ปีที่แล้ว

    he is the perfect programming professor we need

  • @alejszandra
    @alejszandra 3 ปีที่แล้ว

    love you, you save my work. cheers.

  • @ben_grubb
    @ben_grubb 2 ปีที่แล้ว

    Thanks. This was very useful and well explained.

  • @janerjbr
    @janerjbr 2 ปีที่แล้ว

    Thank you very much!!! Do you have a hour countdown (like a 3-6 hours one 00:00:00)?

  • @ActualPlay
    @ActualPlay 3 ปีที่แล้ว

    Fantastic resource. Thank you so much!

  • @NageshKandel
    @NageshKandel 5 ปีที่แล้ว +2

    for anyone facing errors, try this ::
    startmin = 5
    //minutes
    mins = Math.floor((startmin*60 - time)/60);
    secs = Math.floor(startmin*60 - time)%60;
    if (secs < 10) secs = "0" + secs else secs = secs
    "0" + mins + ":" + secs;
    Ps: use the same if/else statement for minutes if your countdown is more than 10 minutes..
    and m jst a begineer, so feel free to modify n reply. :)

    • @ItsJustMeStevie
      @ItsJustMeStevie 5 ปีที่แล้ว

      Yes that code was garbage. Didn't work. Took 30 minutes worth of notes to only have it now work.

    • @nicolasalmarcegui4272
      @nicolasalmarcegui4272 4 ปีที่แล้ว

      Thank you

  • @darwinrides1688
    @darwinrides1688 4 ปีที่แล้ว

    I know this an old video, and y're probably over getting gushy comments, but your rapid fire, no-nonsense approach is awesome. I was horrified that a 'simple' AE timer was not available on the stock-video sites that I use. However, being able to make my own was PFA! (even if I did have to use the new Java syntax). The Darwin Rides channel thanks you!

  • @Dilemafilm
    @Dilemafilm 3 ปีที่แล้ว

    Thank you, clear and easy

  • @aimlezz8855
    @aimlezz8855 3 ปีที่แล้ว

    Awesome. Thanks.

  • @davebetts
    @davebetts 2 ปีที่แล้ว

    Phenomenal. Thanks so much!

  • @runhidesleepeat
    @runhidesleepeat 3 ปีที่แล้ว

    THANK YOU! SO MUCH!

  • @melodyfitzgerald7184
    @melodyfitzgerald7184 6 ปีที่แล้ว

    At first I was like, dang this video is so long. Then watched it and realized how well you explain it! Thank you for all the context. I feel like I understand expressions better now and I'm definitely subscribing!

    • @tutvid
      @tutvid  6 ปีที่แล้ว

      Thanks, Mel! Glad you enjoyed it!

  • @regz6509
    @regz6509 3 ปีที่แล้ว

    Awesome tutorial, saved me so much time. Thanks!

  • @arginsky
    @arginsky 3 ปีที่แล้ว

    Quite helpful. Thank you!

  • @sorsfoods1689
    @sorsfoods1689 4 ปีที่แล้ว

    You are a God. Thank you for the best video on the subject.

  • @diamondjackdaw
    @diamondjackdaw 2 ปีที่แล้ว

    Incredibly helpful and informative. Your way of demonstrating and explaining helped me understand the how and why of what you were doing, and made me more confident to try to execute it myself. I now have a functioning countdown timer for the video I'm working on, and I learned some things too! Thank you so much for the great content.

  • @kaloyantsilev
    @kaloyantsilev 3 ปีที่แล้ว

    Thank you! This is awesome and your explanation is SUPER good!

  • @ethancoates9641
    @ethancoates9641 5 ปีที่แล้ว +1

    you give the best tutorials, by far. SO easy to follow!!! Thank you so much, please keep doing what you're doing!

  • @Er1JokeAdventurez
    @Er1JokeAdventurez 4 ปีที่แล้ว

    Really great tutorial ! It’s the better way to learn !

  • @ianscott3768
    @ianscott3768 3 ปีที่แล้ว

    HUGE help, very thorough and easy to follow. I also appreciate how you a step or two off path to explain why things work the way they do. Thanks!

  • @xyzbuild3380
    @xyzbuild3380 2 ปีที่แล้ว +1

    Regarding the code for the extra zero (about 19:00 in the video), I'm getting an error message, and copying this exact code: function addZero(n) {
    if(n

    • @xyzbuild3380
      @xyzbuild3380 2 ปีที่แล้ว

      I was able to study another countdown tutorial video, and found the following "else return n:" needs to be on a separate line. So it will looking like the following:
      function addZero(n) {
      if(n

  • @Ledones
    @Ledones 4 ปีที่แล้ว

    Perfect tutorial!

  • @steynmar
    @steynmar 4 ปีที่แล้ว

    Excellent Video!

  • @John.Mark.Clawson
    @John.Mark.Clawson 5 ปีที่แล้ว +12

    Works great! Does anyone know how to keep the characters from shifting when the number sizes change? I want everything to stay aligned with the semicolon.

    • @thehomme
      @thehomme 5 ปีที่แล้ว

      It's probably not the way to do it but my guess would be to separate the minutes and seconds into 2 pieces of text (mins right aligned and secs left aligned) with the correct edit of this full expression across both text layers

    • @thomasvansteenkiste9983
      @thomasvansteenkiste9983 4 ปีที่แล้ว +3

      Easiest solution is a monospaced font (eg. Roboto Mono)

  • @jp4e5
    @jp4e5 5 ปีที่แล้ว

    Excellent tutorial!!! I chose to follow the video and write it as you were teaching and it works perfect. It really helped me to understand what I was doing. I did turn on Legacy ExtendScript prior to writing the expressions just in case. I am using CC2019. I definitely will check out more of your videos. Thanks again for the great job in explaining this.

  • @mr.elevator5625
    @mr.elevator5625 5 ปีที่แล้ว

    This is the first time I have even come close to understanding how Javascript works. It's like Javascript essentials. Nice one :)

  • @roowerks6082
    @roowerks6082 4 ปีที่แล้ว

    I used to watch your Photoshop and Dreamweaver (you did those too, I think?) videos years ago and was thrilled to find that you're even doing AE tutorials now. You are a gem! Thanks so much for sharing your knowledge with us!

  • @mattmantyla
    @mattmantyla 3 ปีที่แล้ว

    Incredibly helpful and insightful. Thank you for the terrific video!

  • @efka1524
    @efka1524 5 ปีที่แล้ว

    Thanks, Nat!
    This is one of the best tutorials I've ever seen - fast, concrete and clear.
    It is the first time I use expressions in AE and it works!

  • @irisfrank9260
    @irisfrank9260 ปีที่แล้ว

    Thank you - it works!

  • @TarekGT
    @TarekGT 5 ปีที่แล้ว

    Best Countdown Tutorial Ever

  • @SAM_DL
    @SAM_DL 6 ปีที่แล้ว +1

    I got your video in the morning when i opened my eyes. It feels very good. You never forgot to upload videos. good job .. thank you

    • @tutvid
      @tutvid  6 ปีที่แล้ว +1

      I'm trying over here! Haha. Thanks for watching!

  • @chronops4316
    @chronops4316 3 ปีที่แล้ว

    awesome and so easy the way you explained it :) thanks!

  • @RealisticMask
    @RealisticMask ปีที่แล้ว

    Thank u!Great tutorial!

  • @roguski1
    @roguski1 3 ปีที่แล้ว

    Thank You very much Sir.
    I'm never deleting this file!

  • @markvarona3429
    @markvarona3429 3 ปีที่แล้ว

    Thank you very much! This helped me a lot

  • @matthewmorgan8913
    @matthewmorgan8913 5 ปีที่แล้ว

    Everything worked great! Just wanted to see if you could explain how to only show the seconds after the minutes are 0? so instead of 0:59 it would be 59. Any help here would be great. I am new to coding and all this is kinda over my head at this point. Just trying to make a custom countdown for our church and they are used to having the 0: disappear after the timer is under a minute. Thanks!

  • @KKArchive149
    @KKArchive149 3 ปีที่แล้ว

    Thanks so much! Such a great in-depth tutorial!

  • @AndressaCapovilla
    @AndressaCapovilla 2 ปีที่แล้ว

    Great tutorial!!

  • @editar5676
    @editar5676 4 ปีที่แล้ว +1

    An amazing tutorial. My only issue in the end was a syntax error with the 'else' statement. I fixed it by pressing enter and having the 'else return n;' on a second line.

    • @michaelwain58
      @michaelwain58 2 ปีที่แล้ว

      Thank you so much for that! I was pulling my hair out over that one! Legend x

  • @laynebatt4790
    @laynebatt4790 4 ปีที่แล้ว

    Thank you Tutvid! Excellent tutorial - big help - I'm not an "expression" user but I feel more confident now after watching it! Thank you again

  • @gmartinezm
    @gmartinezm 3 ปีที่แล้ว

    Thanks man, this was helpful!

  • @Oded-Raz
    @Oded-Raz 3 ปีที่แล้ว

    Excellent tutorial, much appreciated!

  • @Jonas_æ
    @Jonas_æ 4 ปีที่แล้ว

    This tutorial was fantastic. I don't do much code/ expressions, but I think this was very easy to follow and understand. Wouldn't be able to remember it all by heart for later, but at least now I get what goes into it.

  • @melinadiener7649
    @melinadiener7649 4 ปีที่แล้ว

    Super nice explanation! I hope it brings me closer to learn how to think of my own expressions one day!

  • @antheavalerani3776
    @antheavalerani3776 4 ปีที่แล้ว

    So useful! Thanks a lot

  • @cyclopsli1923
    @cyclopsli1923 4 ปีที่แล้ว

    the best timer tutorial out there!!! I knew nothing about expression, but I followed along and understood what you showed us. Nice one!!!

  • @johnholway1817
    @johnholway1817 6 ปีที่แล้ว

    Awesome, simple, direct, and fast

  • @yuliyaosyka
    @yuliyaosyka 4 ปีที่แล้ว

    One of the best and funnest tutorials I've seen so far, especially considering not the most fun subject in the world!
    Thank you so much for doing this! You're incredible!

  • @isramedeiros
    @isramedeiros 4 ปีที่แล้ว

    Thank you so much, man! It works

  • @vfxjimmyworks
    @vfxjimmyworks 4 ปีที่แล้ว

    Thanks these cool tips to do the time countdown!
    But I have other question about number text auto space need to be off!
    In a fonts call "Microsoft JhengHei UI" light has a problem that number text space will auto adjust which I don't want it!
    Is any way to turn it off??
    Best! Jimmy

  • @NfinityAthletic
    @NfinityAthletic 4 ปีที่แล้ว +1

    Is there a way to link another animation (like say a trim path animation on a shape layer) so that the trim path automatically changes with the timer silder input?

  • @MAXFOLLch
    @MAXFOLLch 3 ปีที่แล้ว

    thx a lot man, your video helps me

  • @urielaispuro2125
    @urielaispuro2125 4 ปีที่แล้ว +1

    You only need to create a text layer and add the timeToCurrentFormat() expression in SourceText, then you can mask it to remove frames or whatever you don't want

  • @sutramanagement3137
    @sutramanagement3137 4 ปีที่แล้ว

    This is seriously good and helped me understand a lot!

  • @EliteEric
    @EliteEric 4 ปีที่แล้ว

    Great tutorial. Lengthy, but worth

  • @monicapenadc
    @monicapenadc 3 ปีที่แล้ว

    Thank you!!!

  • @MincraftEgo
    @MincraftEgo 2 ปีที่แล้ว

    amazing tutorial, i learned a lot, thank you

  • @MMerajHossain
    @MMerajHossain 5 ปีที่แล้ว +176

    Why the hell creating a simple timer should be this hard?

    • @jorgemonzon7550
      @jorgemonzon7550 4 ปีที่แล้ว +4

      Same bro I thought there was an effect to apply or smth

    • @redvik2219
      @redvik2219 4 ปีที่แล้ว +7

      Yeah this is more coding than video editing lol

    • @TheKlikluk
      @TheKlikluk 4 ปีที่แล้ว +10

      @@jorgemonzon7550 Well if you are always only looking for "an effect to apply or smth" in your Life youll run into dead ends regularly. Something things arent as easy as you want them to be. But then the only thing that helps is getting through them. Also you can literally copy his code... Is that so difficult?

    • @jesustrevizo4718
      @jesustrevizo4718 4 ปีที่แล้ว +3

      @@TheKlikluk yeah well copying the code is not working for me as I keep getting syntax errors so yeah its difficult

    • @TerryPlays
      @TerryPlays 3 ปีที่แล้ว

      @@jorgemonzon7550 there is an effect called "number"

  • @AlfaTrion
    @AlfaTrion 3 ปีที่แล้ว

    thanks for this. i'm good with programming but I didn't know how easy it was to do it in AE!

  • @milartmedia1184
    @milartmedia1184 3 ปีที่แล้ว +1

    Is there a way to let the timer start after 3 seconds so I can let it animate in?

  • @thisguylovebananas
    @thisguylovebananas 4 ปีที่แล้ว

    Its frustrating and fun, thanks for everything. much love ❤️

  • @rinusworldzm
    @rinusworldzm 4 ปีที่แล้ว

    Hey I just stumbled on your channel. And in as much as this one put the flame to my brain cells, I'm really grateful especially that this is something Ive needed to make for a while.

  • @Supanizar
    @Supanizar 3 ปีที่แล้ว

    This was a great tutorial! Freaking awesome. Thanks.