User Tag List

Results 1 to 10 of 10

Thread: Sample (MOD file) stops when frame restarts

  1. #1
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sample (MOD file) stops when frame restarts

    Hi. I would like to play a mod file continously over many frames. The option "play sounds over frames" works fine, but not in the case where I need to restart the current frame. This causes the mod file to stop. Is there any solution to this problem?

  2. #2
    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: Sample (MOD file) stops when frame restarts

    Is it because you have an event that plays the MOD at the start of the frame that you're restarting? You may need to include a check in that event to make sure that you're not already playing the same MOD file.

  3. #3
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sample (MOD file) stops when frame restarts

    No, I don't have an event like that. In Frame1 I have event "start of frame -> play the mod" and then when I go to Frame2 everything is fine (the music continues from the previous frame), but when I restart the Frame2, the music just stops and doesn't start over (until I go back to Frame1 of course).

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sample (MOD file) stops when frame restarts

    Put this on all the frames

    Sample "your mod" isnt playing -> play the mod

  5. #5
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sample (MOD file) stops when frame restarts

    Quote Originally Posted by xerus
    Put this on all the frames

    Sample "your mod" isnt playing -> play the mod
    That would of course start the music all over again, but I'd like it to loop continously from the beginning to the end without interruptions. In my game, I have to use a lot of "restart the current frame" actions, and this causes the music to stop.

  6. #6
    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: Sample (MOD file) stops when frame restarts

    It does sound like a peculiarity in MMF to me, if you're definitely not restarting the MOD on the frame you're restarting to.

    This is a workaround rather than a fix, but if you set up a new frame that instantly jumps back to the frame that it came from, and go there rather than just restarting the frame (store the frame to jump back to in a global value), does that make it work?

  7. #7
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sample (MOD file) stops when frame restarts

    Quote Originally Posted by DavidN
    This is a workaround rather than a fix, but if you set up a new frame that instantly jumps back to the frame that it came from, and go there rather than just restarting the frame (store the frame to jump back to in a global value), does that make it work?
    That's a good idea, I'll try it. Thanks.

  8. #8
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sample (MOD file) stops when frame restarts

    If you have it set up right you dont need to do anything apart
    from have it set to play over frames.I have used this many times to
    play continuously over frames without it stopping or restarting.
    As long as you dont restart the frame you initially started the music on.If you need it I will post an example for you.
    strat59

  9. #9
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sample (MOD file) stops when frame restarts

    Thanks strat59, but I have set it up correctly. I have enabled "play sounds over frames" and I don't restart the level where I initially started to play the music. It's another frame I restart and it stops the music. I use MMF2 Build R244.

    DavidN's workaround worked, though, so it doesn't matter that much anymore.

  10. #10
    No Products Registered

    Join Date
    Dec 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you would please post one. im having trouble.

Similar Threads

  1. App restarts when launched second time, and stops registering input
    By Xeeko in forum Android Export Module Version 2.0
    Replies: 20
    Last Post: 18th November 2013, 12:33 PM
  2. frame sample
    By jaaj302005 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd November 2011, 09:05 PM
  3. Sound Sample and Frame Reset
    By Captain_Harris in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th October 2011, 03:03 PM
  4. BUG: Resume sample action restarts the sample
    By mobichan in forum SWF/Flash Export Module Version 2.0
    Replies: 10
    Last Post: 4th September 2011, 02:13 PM
  5. Sample playing on every frame
    By Heclegar in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th January 2011, 12: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
  •