User Tag List

Results 1 to 10 of 10

Thread: rant: custom pausing using sub-application

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rant: custom pausing using sub-application

    I would like to be able to pause what's going on in my play area while perusing my GUI. I have a menu that slides onto the screen when activated, and I want the game to pause while the menu is being accessed.

    I tried to use a sub-application to separate the pausing of my play area and my GUI. This would work like a charm, but WHY DOES THE SUB-APPLICATION ALWAYS HAVE TO DISPLAY ON TOP OF EVERYTHING ELSE? If I could have active objects display in front of my sub-app, there would be absolutely no problems here.

    So, instead, I have to go in and setup a custom pause by having every single active in my game stop movement and animation and stop all counters/timers while the user is accessing the menu... This is time consuming AND opens up a can of worms leading to more problems and bugs (especially as the game becomes more complicated with more objects/clocks to keep track of).

    I dont understand why a sub-application has to always be on top of everything else. If the order of the sub-app could be moved back, custom pausing would be so much easier.

    The fact of the matter is, the concept is simple, so why isn't the execution?

  2. #2
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rant: custom pausing using sub-application

    Yeah Why doe's the sub-application have to be on top? iv'e always wondered that.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: rant: custom pausing using sub-application

    I believe it has to do with Sub-Apps being rendered in a 'seperate window', so to say... I'm not entirely sure though.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: rant: custom pausing using sub-application

    That's right - it's a window handle, like an application, a button, an edit box etc..
    They're always in front, since the display surface of MMF is a window handle as well, and child handles of it are in front of it.

  5. #5
    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: rant: custom pausing using sub-application

    I would certainly stick with the subapp for your pause menu - perhaps another way can be found for the active objects that need to be on top of it. Can you explain in higher-level detail the effect that you're trying to get?

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rant: custom pausing using sub-application

    when the mouse pointer slides to the side of the screen, a menu slides on where you can choose between actions, inventory, save your game, etc. I want the game to pause yet retain visibility while this menu is being accessed.

  7. #7
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rant: custom pausing using sub-application

    I have found the solution - Set the Sub-Application to Modal in it's properties, this makes everything freeze.

  8. #8
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rant: custom pausing using sub-application

    all I can think of is, as soon as the game is to pause take a screenshot, make the sub-app invisible and display the screenshot in its place for the menus to slide over. but I don't know how fluid that will be, and I will have to have 2 copies of my "cursor" active object--one in the sub-app and one outside. And the cursor inside the sub-app will have to disappear as soon as the screenshot is taken.

  9. #9
    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: rant: custom pausing using sub-application

    The idea of taking a screenshot does sound initially like a very roundabout way of doing it, but this is the method I use in my current project (using the Screen Capture object and a Picture object on the other end) - it seems to go very smoothly, without the pause that you might expect. Try it out!

    Another way, though this is more of an oddity, is that if you have a Windows control in the subapp, even if it isn't visible (Edit box, List object, etc) then the transparent areas of the subapp will show the original frame below them, until the window is switched away and back.

  10. #10
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rant: custom pausing using sub-application

    any way I can keep the screen captures internally instead of saving them as external files?

Similar Threads

  1. Things happening before/after pausing the application
    By SuperDisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th December 2012, 03:49 AM
  2. Pausing application via Joystick Input
    By Ziophaelin in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd July 2010, 04:47 AM
  3. Pausing the application's time?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th January 2009, 12:15 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
  •