User Tag List

Results 1 to 3 of 3

Thread: Problems with pausing game

  1. #1
    Clicker Install 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)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    420
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Problems with pausing game

    So I have issues with pausing the game. The relevant clickcode is


    The thing is that it looks like Upon pressing a key doesn't behave like it should and when trying to pause, it instantly unpauses. I've tried to limit condition to only one action when event loops, but that only made me unable to unpause.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export ModuleInstall Creator Pro
    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)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    1,041
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Try something like the below and see if this works. It may still register the key being pressed down when the unpause code is fired, but this is how I'd start.

    1) Add a counter to your frame and name it something like "Pause Delay"
    2) When pressing "P" to pause the game, set counter to something like 10.
    3) Add a condition that when "Pause Delay" counter is >1, subtract 1 from counter.
    4) Add a condition to the unpause code that the "Pause Delay" counter must be =0 in order to work.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    TechVision's Avatar
    Join Date
    Nov 2007
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't know if this helps:

    You've grouped the events I suppose, having something like a Game Group and a Pause Group. What I've done is create an event outside the groups that toggles a flag and limited the condition to one action if the event loops. Then, in the Game Group I've made an event: Is flag on? (Deactivate Game Group and Activate Pause Group). And then in the Pause group, I've added the event is Flag off? (End Pause Group and Activate Game Group).

    That does the trick for me.

Similar Threads

  1. Replies: 4
    Last Post: 8th July 2016, 07:33 PM
  2. 'Create Object' is pausing game
    By ulissescappato in forum Android Export Module 2.5
    Replies: 15
    Last Post: 25th February 2014, 10:17 AM
  3. About Pausing game
    By bravekitten in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th September 2013, 04:17 PM
  4. Game Pausing
    By HyperspazzMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th May 2008, 05:48 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
  •