User Tag List

Results 1 to 6 of 6

Thread: How to play sound at random when you click on a object

  1. #1
    No Products Registered

    Join Date
    Dec 2014
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to play sound at random when you click on a object

    Hi I was wondering if there's any way to play a song at random when you click on a object.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,307
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Randomize a counter, or an alterable value of an object

    Condition -> Set Value to random(#)

    Replace # of how many random values you need.

    Then for a different/random sound.

    Value = 1 + only one action when event Loops = Play Music 1
    Value = 2 + only one action when event Loops = Play Music 2

  3. #3
    No Products Registered

    Join Date
    Dec 2014
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks you

  4. #4
    No Products Registered

    Join Date
    Jun 2016
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey man, what about when you're in a title screen and you want music to randomize then when a song ends another one starts?

    Please answer quickly.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)
    PlasmaVoid's Avatar
    Join Date
    Jan 2015
    Location
    SoCal
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    New Condition:

    On Sample Not Playing?(Or a specific sample but thats a little more complicated if you wanted to randomize the songs)
    ---> Set value Random( X ) Where X equals the number of total songs - 1
    New Condition:
    Value = 1 + one action when event loops
    ---> Play sample 1
    New Condition:
    Value = 2 + one action when event loops
    ---> Play sample 2


    etc.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    725
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! Simple and elegant sollution!

Similar Threads

  1. When object collides with player it wont play sound
    By District in forum Fusion 2.5
    Replies: 2
    Last Post: 22nd January 2015, 05:37 AM
  2. MMF2 - Random Object Creation and Left Mouse Click Question/Issues.
    By peejaygee in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st December 2013, 12:32 AM
  3. How do you play default ios sound, eg the notification sound.
    By assentec in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 14th July 2013, 06:33 AM
  4. How to play a sound once while over object
    By Selveria in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th May 2010, 06:49 PM
  5. Play sound IMMEDIATELY after other sound finishes
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 1st September 2007, 12:18 AM

Posting Permissions

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