User Tag List

Results 1 to 3 of 3

Thread: Custom pause menu help

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    May 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom pause menu help

    hey guys, I'm trying to implement a custom pause menu and the game is an infinite scroller.

    thing is, there are waves of random objects that are being created and timers (tried both counters or clock object) to wait for the next wave or something. now, when I save, I close the entire game "engine" group, and upon unpausing, reopen the engine group.

    everything is good, except the timers I made to 'wait' for the next wave, gets reset every time the game unpauses.
    example - there's a random wave generator, and it has a condition like "if the random generator is XXX, set the timer/counter to XXX (seconds)".
    when pausing, the counter/timer pauses alright (either setting the timer to pause or checking every second to subtract 1 from counter -- since the group is closed, it won't sub anything from the counter).
    now when the group is reopened, I understand this line will be read again, even if the counter/timer was already running before pausing, causing it to reset every time I unpause.

    I was looking for something like "if the random generator is XXX, set the timer/counter to XXX (seconds) but only if the game wasn't 'unpaused' amidst this"

    I hope I was somewhat clear lol...

    what would be the best way to overcome this?? thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Diablohead's Avatar
    Join Date
    Jun 2006
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Without knowing how your game actually works, can you not make a value timer which always counts from start to end of a game, so that will pause also? If you know what I mean.

    I pause my game by disabling about 90% of the events (I don't disable some stuff because it's not gameplay related) and I used to have a problem where the game would repeat an event even though it had already been run because it was closed and opened again, my method for fixing this was to leave that stuff out of the paused groups or reworked how it would work.

    Not very helpful am I

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    May 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey that shed me some light... I managed to do something (like upon pausing changing the random generator to something unused, and made something like "if the random number is XX, set timer to XX sec, BUT only if the random number is not XUNUSEDX", and it works, but you know, the "code" is getting messy...)

    and yes, I paused like >90% of the events as well, might just leave the timers out somehow... or I might redo everything later...

    but thanks, you were helpful!

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. Menu Pause
    By samcool_129 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th May 2010, 09:14 PM
  4. Pause app but still use a menu?
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th May 2009, 05:52 PM
  5. [Bug] Pause and Menu
    By LIJI in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th October 2006, 05:58 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •