User Tag List

Results 1 to 5 of 5

Thread: Adding sound files to application directory

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Nov 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adding sound files to application directory

    I'm creating a 2-D fighter within MF2 and I was wondering how to add external sounds files like mp3 and wavs to the application directory so that when I build my game those files will be heard on different computers when run as a stand alone application (.exe).

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    daredev. May I suggest you use ogg files. Also, when you place sound files in the event editor they will be included in the exe file when you build your game.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Nov 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do have them playing through the event editor except they show up as external files. For the files to even play they had to go through the event editor. When I build my game it says they won't be included in the exe file so that they will only play through the source computer. I need to know how to add the files to the build directory. The usual sound player only seems to support wav and midi files so I needed to use the Direct Show object to play my music. The problem is that they show up as external files. I need to find a way to integrate these files in the build directory so that it will work on all systems.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Check Include External Files in the app properties.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by daredev View Post
    The usual sound player only seems to support wav and midi files so I needed to use the Direct Show object to play my music
    Save them as .ogg that's supported natively like wav and midi. Basically an mp3 only using an open sound codec. You'll have licensing issues if you intend to distribute a game/app using mp3's. If you're not selling it you'll fly under the radar but it's just simpler to stick to .ogg. The Flash runtime has no license issues with mp3 because Adobe takes care of that on their end.

Similar Threads

  1. Adding files to a project
    By Game_Master in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 30th December 2013, 01:20 PM
  2. Game getting weird when adding sound
    By MonDieu72 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 29th December 2013, 09:23 PM
  3. Adding sound to application
    By Greasy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st December 2011, 10:23 PM
  4. Adding distortion to sound
    By Eliyahu in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 7th May 2009, 04:19 PM
  5. Remove sound/music data files from application?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th December 2008, 08:11 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
  •