User Tag List

Results 1 to 6 of 6

Thread: Game Pausing

  1. #1
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Location
    Illinois. USA
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game Pausing

    I am fairly new, and I am just trying to make a simple game. Right now I am trying to have it set so when you pause the game by hitting the "P" key i put in pause application and resume when key "p" is pressed. On same line over I have under that actived object sub string text make text reappear.
    I do also have the text in the properties section unchecked so its invisible at start.

    I got it to where when you push p the whole game is paused and the text appears saying "Game Paused", but when I hit it again the game continues but the text wont go invisible again...it should go off and on (the text) when I hit p along with the game pausing or resuming. Ive tried flag on and off but dont understand that, negate and dont understand that either..I first tried tho to make a new condition in the same line to make the text go invisble. WHen I do that tho I run it and pause it it wont pause it ignores it and game keeps going...
    Someone help please?

    Thanks for your time and help ahead of time!

    Doug

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Location
    in the milky way galaxy
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Pausing

    here are the events you should use

    On pressing "p"- toggle flag 1 ( it doesn't matter what flag u use or on what object)

    If flag 1 is on-pause game / make text appear

    If flag 1 is off- unpause game / make text dissapear

    If I know your problem that should do the trick.

  3. #3
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Location
    Illinois. USA
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Pausing

    Is that each line and each new condition?
    I did try what you said and it aint working...So I must be setting it up wrong either as a new condition on each line. I also tried just on one line making 3 new conditions instead of seperate lines with their own new conditions...Both did not work.
    How would you set this up in events editor...Sorry Im new so Im not too knowledgable on some of this stuff...

    I also have a music note too i have to do the samething with that allows you to stop sample and start sample by clicking on the music note..so thats another off and on function i need to do..

    any help would be appreciated..and btw thanks for the response I do appreciate it.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Pausing

    For the pausing, use the action "Pause and resume when a key is pressed". Here's what to do:

    *Upon Pressing "P":
    -(Action(s) to be performed on pause)
    -Pause and resume when "P" is pressed

    *Storyboard Object > End of pause
    -(Action(s) to be performed on unpause)

    For the music note:

    *Music note clicked
    *(Sample or music chosen) is not playing (NEGATED CONDITION):
    -Pause (Sample or music chosen)

    *Music note clicked
    *(Sample or music chosen) is not playing:
    -Resume (Sample or music chosen)

    Hope this helps.

  5. #5
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Location
    Illinois. USA
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Pausing

    Thanks Jaffob for the reply and also the help. Unfortunatley I tried both wasy showen above close to what you and Falkon have shown me. For some reason it is NOT wanting to work. I can get both functions working where it pauses and unpauses the game but the word "Game Paused" will only for some reason show it on Pause. When I go to unpause it its not there. Other ways I tried that you guys have shown me wont even bring that text string up.

    I feel like such an idiot I am trying eveyrthing and trying so hard to get this..I really want to learn MMF2 but in spots I get stuck, I GET STUCK! LOL! Do you guys have the standard or professional? Because it wont let me negate where you have it shown above.. AND it doesnt say unpause. Just says, "Pause the application and resume when key "p" is pressed, OR I get the same thing but to repeat when the key "p" is pressed..



    With the music note image I have. I can get it to swap images to show a slash through when its not suppose to play a sound on click or if I press "s" on mouse. But it still plays sounds..


    IS there a way I can send you my file or a screen shot?

    Once again thanks for your time to help and reply to my messages. Im frustrated but aint giving up

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2007
    Posts
    242
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Pausing

    I implemented pausing in my game just today. I can help you out.

    go on over to www.sendspace.com, upload your mmf file, and post the link. I'll take a look at it.

    If you follow Jaffob exactly you should find that it works. The mistake is probably rather easy to fix, you're just overlooking it.

    Happens to me all the time.

Similar Threads

  1. Pausing game when LOCK button is pressed
    By animdude in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 1st October 2013, 02:20 PM
  2. About Pausing game
    By bravekitten in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th September 2013, 04:17 PM
  3. FPS drop/increase after pausing a game
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 20
    Last Post: 13th February 2013, 08:24 PM
  4. Suggestion for pausing the game when the Home button is pressed?
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 23rd January 2012, 02:48 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
  •