User Tag List

Results 1 to 7 of 7

Thread: Pause game - Sub-Application not working

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    DEKE15's Avatar
    Join Date
    Feb 2009
    Location
    UK
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pause game - Sub-Application not working

    Hi,
    I'm trying to get my game to pause when the mouse is out of the frame/window.
    I have the windows cursor hidden and an active object set to 'xmouse' 'ymouse' to act as a custom cursor.
    I have set up the Sub-Application object to 'show' and launch another frame within my app, when the mouse is out of the game frame/window. This all works find - my game pauses when the cursor is out of the frame and I have set it up to play (un-pause) when the cursor re-enters the game frame/window.
    But the problem I have is that when the pause screen is on I can't select the window's frame close button (red cross at the top right of the window).
    Is there a way to get the windows close button to work when a sub app is running? This issue appears on the 'subappexample.mfa' example mentioned in the forums.
    Hope you can help.

  2. #2
    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 game - Sub-Application not working

    In your sub-application, set up a key to close the sub-application.

    Space bar is pressed
    End application

    This will only close the sub-application, not your main application.

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

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    DEKE15's Avatar
    Join Date
    Feb 2009
    Location
    UK
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause game - Sub-Application not working

    Thanks for the reply,

    I have set up an active object, which the player clicks on which closes the sub-app (similar to the reply answer posted above). But I want to sub-app to be closed like a normal window - so the actual window close button is accessible.

    The overall problem I'm having is actually getting my game to pause and un-pause when the player moves their mouse cursor in and out of the game frame/window.

    Is there another way of pausing a game without using the sub-app object.

    Any help would be appreciated.

    Thanks

  4. #4
    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 game - Sub-Application not working

    ctrl+p is the inbuilt pause.

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

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    DEKE15's Avatar
    Join Date
    Feb 2009
    Location
    UK
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause game - Sub-Application not working

    Thanks for the reply.

    How do I turn that inbuilt key press off - I really just want it so the player pauses the game when the mouse leaves the frame/window and then the game plays (un-pauses) when the mouse re-enters the frame/window.

    Is there a way to disable any inbuilt key presses, like the inbuilt pause?

    Any help is appreciated.



  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 game - Sub-Application not working

    Put your events in Groups.
    Use "Check if Mouse Pointer is in a zone"

    If your mouse pointer is in the zone(s) outside the frame, deactive the Groups.

    You can edit the inbuilt menu in the Application Properties.

    Marv

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

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    DEKE15's Avatar
    Join Date
    Feb 2009
    Location
    UK
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause game - Sub-Application not working

    Great - Thank you.

    I will give that a go :-)

Similar Threads

  1. Sub Application Pause Menu Glitches
    By Karl in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 14th June 2013, 07:08 PM
  2. Pause and Resume not working after minimized
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 30th December 2010, 07:03 PM
  3. Pause application
    By ASD in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 4th October 2010, 09:37 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
  •