User Tag List

Results 1 to 9 of 9

Thread: Please Help - Question about Music following you from frame to frame

  1. #1
    No Products Registered

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

    Please Help - Question about Music following you from frame to frame

    Hi,

    I'm part of making a small Zelda style top down game using MMF2 and each part of the overworld is a separate frame. Seems when I add the BGM to each frame, when I walk to that frame it restarts the BGM instead of continuing. How can I make the BGM continue from one frame to the next? Also, if I want to go to a cave or dungeon, I want it to stop playing the overworld BGM and play a new one.

    Thanks!

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    In the application properties check the property for "Play sounds over frames"
    On the first frame where you want the background music to start -- loop the sound and set it to 0

    This will keep on looping over the frames until you get to .... the frame where you need to switch the back ground music -- Stop the old one and start looping the new one

  3. #3
    No Products Registered

    Join Date
    Nov 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So in the frame where I want to start a new one, there is a way to stop the current BGM playing in the event editor? How about resuming back the overworld music once I exit the cave? Thanks.

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    There are some commands to pause the music and resume the music.
    I have never actually used them but those should do it.

  5. #5
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Start both samples off at the beginning of your game then instantly pause them (with 'Play sounds over frames' checked as Jeff Said):
    Start of Frame: Play Sample (Cave): Play Sample (Overworld): Pause Sample (Cave): Pause Sample (Overworld)

    Then you can detect what is currently playing and mute it with sample detection conditions such as:

    *Is Sample Playing (Cave): Pause Cave: Resume Overworld

    then for the Cave level do
    *Is Sample Playing (Overworld): Pause Overworld: Resume Cave

    Once you have mastered the above you can start using techniques such as fade with sample volumes. Let me know how you get on with the above and I'll help you with the fading should you need it.
    Want to learn Clickteam Fusion 2.5?




  6. #6
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    This would make a cool little example/tutorial type of thing if your interested Danny

  7. #7
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Done.

    This doesn't use the 'pause' / 'resume' technique, it uses a complete 'Fade in' - 'Fade Out' technique in 2 events. Should be easy enough to understand and follow

    Enjoy!

    https://www.dropbox.com/s/7pby6rxhzc...sound-fade.zip
    Want to learn Clickteam Fusion 2.5?




  8. #8
    No Products Registered

    Join Date
    Nov 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem is that when I checkmark the "play sounds over frames", whenever I go back to the original frame where I started, it plays the music again ONTOP of the music currently players so it's stacking ontop of each other. How can I fix this? Thanks.

  9. #9
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Mart47 - did you download my MFA?

    It shows you in there... you need to start all your game music(s) off before starting the actual game. That is only one-method, there is a ton of other methods which include starting/stopping/pausing/resuming but the above example should get your started in the right direction.
    Want to learn Clickteam Fusion 2.5?




Similar Threads

  1. Music carrying over into the next frame
    By TheGreatSolano in forum The Games Factory 2 - Technical Support
    Replies: 6
    Last Post: 19th June 2011, 03:56 PM
  2. keep music playing when restarting frame
    By takki in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd March 2011, 12:50 AM
  3. Looping frame/virtual frame -1 question
    By Livingstone in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 17th June 2009, 04:37 PM
  4. ?Music carrying over to another frame?
    By orenji7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th January 2008, 04:24 PM
  5. [Question] Virtual Frame size vs real frame size
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th May 2007, 03:52 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
  •