0 votes

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

asked Dec 13, 2019 in Engine by FelipeRattu (57 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).

answered Dec 13, 2019 by Zylann (24,565 points)
selected Dec 16, 2019 by FelipeRattu

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.