User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Playing a sound on every 10 from a counter??

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    ok,.I should have explained it better. This is what I have going on. At the end of a level I have a counter that adds up the score for that level using a value. If the player destroys,..say 957 items,.this is what the counter counts up to by 1 every 0.5 milliseconds. I'm subtracting one of the value and adding one to the counter value. When the value reaches 0, the counter stops counting. Value is > than 0,..add one to counter.

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Chrille's Avatar
    Join Date
    Jul 2006
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's what RhysD's suggestion does though


    Here's an example of what it might look like in the event editor:
    File: exampleCounterMod.mfa

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    395
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can someone tell me what a mod is.

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much. Worked perfect, Gradius, RhysD and Chrille. I just didn't know how to write the expression. Thanks all for chiming in.
    .

  5. #15
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Retrobolt View Post
    Can someone tell me what a mod is.
    This page explains it perfectly https://en.wikipedia.org/wiki/Modulo_operation

    So if the counter is equal to 10, then 10 divided by 10 is 1 with a remainder of 0. So the expression is true.

    If the counter is 20, then 20 divided by 10 is 2 with a remainder of 0. So the expression is true.

    If the counter however is 21, then 21 divided by 10 is 2 with a remainder of 1. So the expression wouldn't be true.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Counter playing sounds but stop at value
    By KLiK-iT in forum Fusion 2.5
    Replies: 2
    Last Post: 19th April 2016, 10:52 PM
  2. Playing Sound.
    By ecoste in forum Fusion 2.5
    Replies: 1
    Last Post: 12th January 2014, 09:30 AM
  3. Playing a sound?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 7th March 2012, 05:52 PM
  4. [BUG] - Same sound playing
    By Nico in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 3rd September 2011, 02:36 PM
  5. Sound not playing
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th February 2008, 11:02 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
  •