Timer Question - need help please?

allc1865allc1865 Member, PRO Posts: 777
Hey Everyone
I need help with my timer. I'm trying to create a countdown timer with a custom font. So far I have the timer and the font, but it doesn't countdown. I was wondering if anyone could help me with this?

For my timer actor I have 9 rules set up that say when self.digit = 0, change image, and so on.
I put three of those actors in the scene (I did this because I only want my time to be in the minutes, i.e, 2:00, 1:53), unlocked them and said constrain attribute > self.digit to game.time%60 and so on...

Any help will be great.
Thanks in advance! :) ;)

Best Answer

  • tatiangtatiang Posts: 11,949
    edited November 2013 Accepted Answer
    Two things confuse me:

    (1) You created and shared a template but you're... not getting this to work yet?
    (2) Is there a reason you didn't use the tried-and-true formulas here?

    Once you get the digits to count correctly, it's just a matter of constraining the actor's images to the digit expression values and naming those images 0.png, 1.png, 2.png etc.


    Also, here's a thread that discusses the OSTime Demo which is a fantastic tool for learning how to do all of this. The thread includes a link to another thread that has the download link for the demo. If for some reason that doesn't work, let me know and I can upload it for you.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Answers

Sign In or Register to comment.