User Tag List

Results 1 to 8 of 8

Thread: Overlaying a track

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Apr 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Overlaying a track

    Hi all,

    Small problem here. I want music in my game to be played uninterrupted over the course of the game. Even when a frame resets. To do this I set up an event in global events stating that: if the global value A = 0 then play track music uninterrupted on channel 32.
    Additionally I have set the game to play tracks over frames. What happens however is when I reset a frame/level it also restarts the music and breaks the flow.

    It's a simple problem and I'm sure there is a way around it. Should I use a direct X object instead?


  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    Re: Overlaying a track

    Play the music and loop it uninterruptable on a particular channel. You can then stop the channel to stop the music.

    To keep music playing over frames, check the 3rd tab of application properties under Sound.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Apr 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Overlaying a track

    I've tried that already. However when I restart a frame it restarts the music.

  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)

    Re: Overlaying a track

    Have you tried jumping to a frame instead of restarting it?
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Overlaying a track

    Quote Originally Posted by StephenL
    Have you tried jumping to a frame instead of restarting it?
    What he said.
    You can have a "jump to" frame that's just a black screen. Have a global value named "JumpTo" or something like that. Then just do Start of frame->Goto frame "JumpTo".

    When you want to restart your frame, instead of doing that, just set "JumpTo" to current frame, and jump to your "jump to" frame. Make sense?

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Overlaying a track

    That's really needed?? I can get music to play continuously through frame restarts and self jumps just fine.
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Overlaying a track

    Quote Originally Posted by SortaCore
    Play the music and loop it uninterruptable on a particular channel. You can then stop the channel to stop the music.

    To keep music playing over frames, check the 3rd tab of application properties under Sound.
    I just tried this and it also seems to work, provided that instead of restarting the frame you do a "self jump" as LB suggested. Just jump to the frame you're already on. If you want it to be general-purpose, you can click "Use a calculation" and just type "frame", so the action says "Jump to frame number frame"

  8. #8
    Clicker Multimedia Fusion 2

    Join Date
    Apr 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Overlaying a track

    Thanks guys,

    jump to frame sorted it all out.

Similar Threads

  1. Transparent-video overlaying supported in MMF2?
    By MeisterEl in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th November 2013, 07:19 PM
  2. Surface 1.5 - Performance boost when overlaying entire screen?
    By GreenOnion in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th April 2013, 03:09 PM
  3. How to Arc Track?
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th November 2010, 12:36 PM
  4. Problem w/ sprites overlaying hitboxes
    By Wyatt in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th April 2010, 03:08 AM
  5. Overlaying Text on Active Objects
    By Shmoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th February 2007, 02:42 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
  •