In Game Menu Questions

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By behelit

So, have no problem creating a start menu, that much I understand. But I’m having trouble wrapping my head around how a in-game pause menu with selectable options would work. Are there any example projects with in-game pause menus? How would you go about adding such a thing? And once added, how would you shift control from the player script to the menu? I know it’s a lot of questions, thanks for your help guys.

:bust_in_silhouette: Reply From: SIsilicon

You could take a look at my Godot game project, which includes a simple pause feature.

This looks awesome, but I encountered several errors when trying to run it:

ERROR: load_source_code: Condition ’ err ’ is true. returned: err
At: modules/gdscript/gdscript.cpp:792
ERROR: load: Condition ’ err != OK ’ is true. returned: RES()
At: modules/gdscript/gdscript.cpp:1856
ERROR: Failed loading resource: res://Astroid/
At: core/io/resource_loader.cpp:186
ERROR: poll: res://MainShtuff/Main.tscn:10 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Astroid/

Maybe I can glean something from your node structure and code…

behelit | 2018-12-05 20:32

I ended up figuring out a solution on my own… But since you are the only one that replied, I’ll give you credit for the answer. :slight_smile:

behelit | 2018-12-07 21:29

:bust_in_silhouette: Reply From: Jams

This tutorial series helped me out tremendously.