User Tag List

Results 1 to 6 of 6

Thread: Playing sample from file doesn't work

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    Playing sample from file doesn't work

    So I built an exe of a game I just started on for Peblo's TDC contest. I barely even have a game, just an application that plays a sound. Or at least, is supposed to.

    I have a condition that's simply:

    Press Fire 1
    - Play sample from file at specific channel;

    path: Apppath$+"snd/test.ogg"; channel: 1

    While this DOES work when running from MMF2, it doesn't as a built .exe file.

    Help me out people.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Playing sample from file doesn't work

    Does the folder that the .exe is in contain snd/test.ogg?

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    Re: Playing sample from file doesn't work

    Yes, it's in the same folder as the .mfa source.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Playing sample from file doesn't work

    When you reference sounds by file, MMF2 doesn't include the filters needed to play them when it's built as an EXE - find the Sound Filters in your application properties and set them manually.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    Re: Playing sample from file doesn't work

    Yey it worked! Thanks!

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Playing sample from file doesn't work

    From build 248 it automatically includes all filters when you exclusively play sounds from an external file. I recommend people upgrade to the latest build.
    .:::.Joshtek.:::.

Similar Threads

  1. No Sample Is Playing does not work on iOS (257.20)
    By Diablohead in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 23rd June 2013, 12:15 PM
  2. Stop Any Sample Playing - does not work properly?
    By mobo in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 20th May 2012, 02:19 AM
  3. TextBlitter doesn't work use external file
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th November 2011, 04:09 AM
  4. Flash Images Plus Internal File loading still doesn't work
    By Demi in forum SWF/Flash Export Module Version 2.0
    Replies: 10
    Last Post: 10th November 2011, 09:49 PM
  5. Ho to detect if a sample file isn't playing?
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 19th July 2009, 03:43 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
  •