User Tag List

Results 1 to 9 of 9

Thread: Pause app but still use a menu?

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Pause app but still use a menu?

    Okay, I have a menu pop up when the user presses the Esc key. Now, I can set the game to pause upon pressing the Esc key, but then that pauses everything including the menu itself since it is a part of the game.

    I can toggle a flag if the menu is visible to pause everything, but I'd have to go and check for that flag for every action in the frame.

    Is there a good way to do this?

    Possible solutions:

    - Use a subapp? I don't know if that would work or not, I haven't really used subapps much.

    - Have all the groups of events except the menu events deactivate if the flag is on, so I don't actually have to add that condition to everything.

    Edit - I should note that the menu is made out of custom graphics, as I don't want windows form controls in my game, so using a dialog popup with windows controls for the menu isn't an option.

  2. #2
    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: Pause app but still use a menu?

    The subapp option is probably the easiest way to go, I use it all the time. Depends really on how your game is setup.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause app but still use a menu?

    Shawn I think you should use a sub-application. You can use your custom graphics and menu within the sub-application. This would a lot easier and more sane, IMO. You would not have to worry about deactivating groups and etc. Set your sub-application as pop up and modal.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause app but still use a menu?

    Quote Originally Posted by nivram
    Shawn I think you should use a sub-application. You can use your custom graphics and menu within the sub-application. This would a lot easier and more sane, IMO. You would not have to worry about deactivating groups and etc. Set your sub-application as pop up and modal.

    Marv
    Okay I was thinking this was probably the best way to go, but I wanted some input before I started working on it.

    Thanks guys!

  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: Pause app but still use a menu?

    Here's the ISO standard subapp-as-pause-menu thread: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=119981

  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause app but still use a menu?

    Shawn, I also have a pause screen sub-application example on my website. It is configured for the Space key, but could easily be adapted for any key you want.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  7. #7
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause app but still use a menu?

    Thanks Marv and David. This made things so insanely easy I can't believe I've never used it before. But then, I've never really did much with custom menus and the like. Awesome!

    Edit - Also, I have your website bookmarked Marv, but I always forget to check that for examples and I don't remember what all examples you have on there lol. Guess I need to pay more attention to that lol.

  8. #8
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause app but still use a menu?

    That's ok. You should see the stuff I do with my gray matter leakage. You'd be clutching your chest.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  9. #9
    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: Pause app but still use a menu?

    Quote Originally Posted by nivram
    That's ok. You should see the stuff I do with my gray matter leakage. You'd be clutching your chest.

    Marv
    LOL

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


Similar Threads

  1. Pause menu
    By trav101 in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 16th May 2011, 03:38 AM
  2. Menu de pause
    By donmanolo in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 22nd March 2011, 08:20 PM
  3. Pause Menu
    By ToffeeandPebbles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th February 2011, 01:50 AM
  4. Menu Pause
    By samcool_129 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th May 2010, 09:14 PM
  5. Sub App for pause menu?
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st August 2008, 01: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
  •