Clear World Select on Game Over

Discussion in 'How Can I...?' started by rmohan80, Jun 24, 2016.

  1. rmohan80

    rmohan80 Boxer

    Joined:
    May 30, 2016
    Messages:
    14
    Likes Received:
    0
    I'm trying to figure out how to clear the screen and then send back to Main Menu on Game over ?

    Basically, they can try the same level or a new level...but the problem is that if I connect an event observer to the Main Menu, the game objects are still there in the background. How do I clear those and send them back to Main Menu?
     
  2. rmohan80

    rmohan80 Boxer

    Joined:
    May 30, 2016
    Messages:
    14
    Likes Received:
    0
    Anybody???
     
  3. rmohan80

    rmohan80 Boxer

    Joined:
    May 30, 2016
    Messages:
    14
    Likes Received:
    0
    bump, i still don't know how to do this :(
     
  4. BarCode

    BarCode Boxer

    Joined:
    Jul 23, 2016
    Messages:
    8
    Likes Received:
    0
    I have the same issue, have not found a solution. I am thinking that buildbox doesn't pop the view controller holding your game but instead overlays the UI on top of it. If you find a solution please share.
     
  5. jigglybean

    jigglybean Avid Boxer

    Joined:
    Nov 3, 2015
    Messages:
    270
    Likes Received:
    125
    As far as I can see, you can't clear all the game objects when its game over. Your only option would be to have a screen fill using a black image on the game over UI that covers up the game environment.
     

Share This Page