New Years Counter

epochapex's picture

Hi,

First off thanks for reading this.

I have attached an example composition that I created. (You have to make it work by changed the value in the second conditional to trigger it to say 'happy new year')

I have some question:

Using the boolean I have enabled a sprite to display. How would I make it trigger an animation of 'happy new year' that resolves over a few seconds? Right now it only stays for one second.

If I wanted to emphasis the countdown from 10 to 1, how would I calculate that for displaying in another layered sprite?

Thanks again!

PreviewAttachmentSize
countDown_01.qtz5.49 KB

jersmi's picture
Re: New Years Counter

Quote:
How would I make it trigger an animation of 'happy new year' that resolves over a few seconds?
Typically I would connect the trigger to a Stop Watch to start/stop an animation. Connect the Stop Watch to Patch Time on a patch with timebase set to "external". To expose the timebase, right click on any timebase patch like Timeline, Interpolation, LFO, etc.

epochapex's picture
Re: New Years Counter

Hi Jersmi,

Thanks for the input. I am using your methid and didn't know about the stopwatch.

What is comfusing me in this composition I'm trying to create is the conditional patch.

I'm trying to: do c if a=b - but the conditional patch's logic is: do c 'if and only if' a=b.

So I want to say if time a is equal to time b then trigger one animation and make the first one go invisible, but the first animation only goes invisible for one second because the patch has a bi-equivalence conditional not a regular conditional like in traditional programming. WTF?