User Tag List

Results 1 to 3 of 3

Thread: Windows sound plays on restarting frame

  1. #1
    No Products Registered

    Join Date
    Jan 2014
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Windows sound plays on restarting frame

    I have a condition in my game right now that resets the current frame. However, whenever it does so, it plays a windows sound ("Default Beep"). This alone isn't a problem. However, after resetting the frame, the sound seems to get "stuck" I guess would be how to put it. Whenever I press any of the alphanumeric keys, symbols, space bar, etc, the sound plays. (It doesn't play when I press arrow keys, ctrl, shift, alt, insert or home or anything like that.) The key presses still work in game, still do what they're supposed to, but also play the sound. Un-focusing the game by minimizing or changing windows and then restoring focus seems to fix the problem.

    I figured maybe resetting the frame was the problem so I changed the condition so that it simply goes through the steps to set the frame back to it's starting position without actually resetting it. No luck. I told it to jump to (frame) instead of resetting it, still get the bug. The Reset frame command is the only one tied to that condition.

    The condition in question is:
    (Object) visible?
    Upon pressing space bar
    OR
    (Object2) visible?
    Upon pressing space bar
    Sloppy, I guess, but is something here causing the issue? My best guess is that somewhere in the process of resetting everything back to its starting positions, the game is losing focus. No idea what might be doing that though, a hidden windows pop-up or something? Or what command in mmf2 might be triggering it.


    Any ideas on what's causing this?

    Edit: OS is windows 7, by the way

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Out of curiosity, split the event into two by removing the OR ​and then see if the problem persists

  3. #3
    No Products Registered

    Join Date
    Jan 2014
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, I solved the problem, but I still don't know what it was.

    Turns out that I'm an idiot and didn't finish checking at what point the bug occurs. I somehow assumed it happened when the object above appears, like I showed above, but it actually happens a few seconds before that, when a certain button is clicked. The button is then disabled and for whatever reason that causes the window to lose focus. I still don't know why it happens, but it's not necessary at all for the button to be disabled so I can get around the bug no problem.

    Thanks for your suggestion, it was part of what led me to figure this out. If anybody has a clue as to why disabling the button causes the game to lose focus, I'm kind of curious.

Similar Threads

  1. [BUG] Sound only plays once
    By 300happy in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 31st July 2011, 07:07 PM
  2. Preserving sound while restarting frame?
    By BrandonC in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th April 2009, 09:19 PM
  3. Random animation frame, still plays?
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th October 2008, 08:04 AM
  4. not restarting frame
    By Ninjustsu in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th June 2008, 07:22 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
  •