+1 vote

I'm testing a Popup Menu to show up in the game every time the player lose, my game consists is a bunch of mini games switching between themselves as the player wins, as every minigame is a different scene for the popup to appear in all of the scenes i made it a child of a singleton and a canvas node.

Everything works fine but when i minimize the game it hides the popup, i wanna keep the popup til' player clicks one of the buttons...

Is that something with the singleton behaviour or somehting because i don't get it :S

A print of my tree:

enter image description here

Node is my singleton

in Engine by (68 points)

1 Answer

+1 vote
Best answer

It's a behaviour of popup menus. The idea of a PopupMenu is similar to a right-click context menu or an application menu bar, which leads to this.

I believe given how you are setting this up with custom controls and all (instead of using PopupMenu functionality), you should use a simpler base control which you show and hide (like Panel).

by (27,660 points)
selected by

Thanks dude :D

totally worked, helped a lot!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.