Set UID?

  • Hello guys,

    I'm having a problem while making my game ..

    It creates a bubble every two seconds .. When the user clicks Pause the bubbles UID is higher than the dark pause sprite .. Here's an image :

    <img src="http://i.imgur.com/R9dABxe.png" border="0">

    I want the bubbles UID to be less than the Pause menu ..

    Another picture :

    <img src="http://img843.imageshack.us/img843/2474/mqeg.png" border="0">

    Here's a link to the game : GAME

    Cheers,

    Hady Hayman (IamHadzy)

  • you can't set uids

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • mindfaQ I know .. But is there's anyway i can fix this from happening ?

  • use other conditions/selectors, like:

    Global variable (paused = 0, set it to 1 when paused, set back to 0 when leaving the pause, add a condition to popping the bubble: paused = 0 so that it is only possible when the game is not paused)

    Deactivate an event group when pausing, so that the events in that group are disabled. When you continue the game, the group should be activated again.

    If you have problems with the z-order, just put the stuff that is supposed to overlap the bubbles to a layer above.

  • use other conditions/selectors, like:

    Global variable (paused = 0, set it to 1 when paused, set back to 0 when leaving the pause, add a condition to popping the bubble: paused = 0 so that it is only possible when the game is not paused)

    Deactivate an event group when pausing, so that the events in that group are disabled. When you continue the game, the group should be activated again.

    If you have problems with the z-order, just put the stuff that is supposed to overlap the bubbles to a layer above.

    Well .. mindfaQ this isn't the problem i am facing .. The problem is the bubble is shown in front of the pause menu ...

    Any solution to make the pause menu stays in front of it?

  • LAYERS

  • Layers or Z-Order

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)