Jump to content

Pop-up window


andrei.nicolae
 Share

Recommended Posts

Hi guys,

I'm trying to make some windows(pop-ups) that I will use in my game, these are for game over, game won or showing different text tips. Will contain text, buttons, sprites.

What is the best way to achieve this?  If I use a container, how can I show/hide it?

This environment is new for me so I'm open to suggestions and ideas. 

Thank you!

Link to comment
Share on other sites

After you preload all of your assets, you could either create the container with all of the contents and position it off screen (and position/tween in), or just add it on the fly as needed.  You could also have a seperate scene that has all of the pop up content, but that might be overkill depending on the complexity of the pop up assets and functionality.  A benefit of going the scene route is that you could pause the game scene when the popup scene is active.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...