User Tag List

Results 1 to 3 of 3

Thread: Animated Counter

  1. #1
    No Products Registered

    Join Date
    Jan 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Animated Counter

    In a game I'm working on, there is a power effect that reveals hidden objects. The duration of how long the objects are revealed is based on the timer and after 6 seconds of being revealed they change to a blinking animation and return to their hidden state. I have an animation that one of my group members have created. I imported the separate images of it and set it to be an animation under the counter. But I am not sure how to have the counter decrease along with the timer. Any advice or help regarding this?

  2. #2
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    353
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Animated Counter

    I'm not sure I fully understand, but I'll take a guess.

    You have a counter that needs to count down 6 seconds while revealing some hidden objects?

    Well, if that's the case, just set the counter to 6 when you start the sequence. You need to use some sort of variable to determine when this power is ON. Lets say you use a global value called "Power". Lets say that this power is ON when its value equals 1. So, set the Power to 1. Then, set some events like this:

    Code:
    Every 1 Second:
    + Power = 1
     == Subtract 1 from Counter
    
    When Counter = 0
    + Power = 1
     == Set Power to 0
    This will turn your power OFF after 6 seconds.
    Let me know if this helps, or if I'm totally off subject.

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animated Counter

    Every 1 Second
    == Set Counter to max(counter-1,0)
    == Set Power to max(counter,1)

    Should work as well.

    EDIT: Also, you just have to set the counter to 6 when you want to start it.

Similar Threads

  1. Changing colors of an 'Animated' type Counter?
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 30th May 2012, 12:06 PM
  2. Adding Half a Counter's Value to Another Counter
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th June 2010, 10:30 AM
  3. Animated BG
    By Cossin in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th June 2010, 08:45 PM
  4. Color swap an animated counter?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st December 2008, 05:21 AM
  5. Counter overlapping an animated background
    By mussashimits in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd May 2008, 09:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •