User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

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

  1. #1
    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,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Playing a sound on every 10 from a counter??

    I can't figure this out, but I'm sure it's using mod. I want to play a sound every time the counter reaches 10, 20, 30 and so on, but the counter counts in ones. Is this possible?

    So, it would be,..1, 2, 3, 4, 5, 6, 7, 8, 9, "10, play sound" 11, 12, 13, 14, 15, 16, 17, 18, 19, "20, play sound" and so on and then repeat. Play sound on every 10 count.

  2. #2
    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,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If counter mod 10 = 0 -> play sound.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Wodjanoi's Avatar
    Join Date
    Jun 2015
    Location
    Germany
    Posts
    665
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    I tried a counter-less solution to play samples consecutively. It's a very strange method though.

    consecutive sounds.mfa

  4. #4
    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,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    RhysD, how is the expression written? I tried your mod 10=0 and it doesn't work.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    415
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can use audio editing software and space out the sound every 10 seconds then go back into clickteam and play it as a sample on loop.

  6. #6
    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,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you, but I'm not talking about editing the sound. I want to play the sound when the counter reaches, 10, 20, 30 and so on,.but the counter can go in some cases past 1000 and up. BUT it counts in 1s, not by 10s. I'm adding 1 to the counter every 0.5 mils.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    415
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Here you go

    Game

    http://www.filedropper.com/1soundevery10secs

    Project File

    http://www.filedropper.com/application1

    Let me know if this is what you wanted.

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Gradius's Avatar
    Join Date
    Jul 2015
    Posts
    118
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi KLiK-iT

    I think this is what you're after https://www.dropbox.com/s/b1h1eg9oci...sound.mfa?dl=0

  9. #9
    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,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by KLiK-iT View Post
    RhysD, how is the expression written? I tried your mod 10=0 and it doesn't work.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Weiningen ZH, Switzerland
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wouldn't it be easier if you just reset your Counter? e. g. if event occurs add1 to counter. If counter reaches 10; Play sound; set counter to 0.

Page 1 of 2 1 2 LastLast

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
  •