UI/HUD or other Implementation?

Godot Version

4.2.2

Question

Hi all,

What I want to do is have a screen come up telling the player that should they finish the level, but, not find all the elements needed to come up with a message telling them that, and have a couple of buttons to Retry stage, maybe Save or Quit if they so choose.

So, I have designed a UI/HUD element, with the intention of making it visible if needed, but, is there a better way of implementing this? Not fully implemented yet. IIRC, the Unreal engine had widgets for such a thing, but, I haven’t seen anything applicable in Godot other than UI/HUD to do this.

Any advice would be appreciated!

Regards.

You could have a game over screen invisible until you need it, or you can instanciate it once the player dies. You can also switch to a new scene for this, if you want to.

I usually just have them part of the hud and invisible, same as a pause menu. This way I can order the tree correctly beforehand (e.g. which ui element will be in front) and I can have the last game state visible in the background.

Thankyou for posting! That told me everything I needed to know :sunglasses:.

I was just waiting for confirmation before preceding because there is a lot of things I need to learn about buttons and coding them.

Cheers.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.