Simple Popup for Game Over, Pause, Settings

  • shark13
    Likes 0

    Problem Description

    I want to use popups to show game over, pause and settings, until now I just used other scenes, I tryed using another LayerColor but I don’t know how to kill or remove that and return to the game, I tryed using Sprite but I don’t know how to disable touch on parent Layer, I’ve searched and normally they use Sprite or LayerColor for popups, sometimes on Cocos2d-x 2.X they use Node… this is a little bit confuse for me yet, I know that Cocos Helper will have a popup helper, but I really need to know how to create a simple popup without Cocos Helper?

  • Sonar Systems admin
    Likes 1

    What items behind the popup are picking up the touch?

  • shark13
    Likes 0

    Pause Button for example, and generate another popup...

  • Sonar Systems admin
    Likes 1

    You can disable the node.


  • shark13
    Likes 0

    Thank you very much it’s working!!!! laughyes

     

  • Sonar Systems admin
    Likes 1

    Great to hear, feel free to ask any other questions you have/

Login to reply