User Tag List

Results 1 to 6 of 6

Thread: Suggestions on how to pause during an inventory?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Suggestions on how to pause during an inventory?

    I am looking for suggestions on how to approach pausing the game action while the player is in an inventory menu/screen. Normally, I would do this with a sub app set to modal that contains the inventory. But I am trying to set this up for a Java/ Flash exportable game, so sub app isn't an option.

    Any suggestions?

    Mobichan

  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: Suggestions on how to pause during an inventory?

    You may get away with making a custom inventory box, place all your events in groups. Then when you make the inventory box appear, deactivate the groups and activate them when the box is is not visible activate the groups. Just a thought.

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

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Suggestions on how to pause during an inventory?

    I was thinking along those lines initially, but then the animations and movements of the objects are not paused, so an object that is moving or animating already would not stop. And it seems like a major pain to store all the objects that were moving and stop/restart them when you finally leave the inventory.

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,062
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Suggestions on how to pause during an inventory?

    if this is a feature you want, then organizing at the very start helps a lot.
    put all your game code in one group - it can be broken into subgroups etc.
    put your invent group in another.
    keeping it neat- i usually have a small group to control both these for pause.
    you can disable the game group, and also use [stop animation] on any object that animates and [stop movement] for moving objects.
    once the game group is enabled, [start animation] & [start movement]

    its as simple as just having a line that checks if game group is enabled or not.
    this is what i do in most my games that pause, its very easy and it works flawlessly. miner2049er- being the last one i did that exact thing with.

  5. #5
    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: Suggestions on how to pause during an inventory?

    You have to manually event the animations and moving to stop. You can do that on the same event you make the custom screen appear. Do the opposite on the same event to have the custom screen disappear.

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

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Suggestions on how to pause during an inventory?

    Thanks for the idea. I already use a lot of groups, so it should be easy to disable chunks of code. I just hope that a global "start anims/movements" doesn't cause any issues.

Similar Threads

  1. Replies: 10
    Last Post: 15th October 2012, 04:33 PM
  2. Greetings, a few suggestions.
    By donnovan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 16th February 2012, 09:43 AM
  3. PMO & Pause Screen Inventory help
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 18th September 2009, 08:41 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
  •