How to Make a Pause Menu In Mins Godot 3.3+

preview_player
Показать описание
In this video I show how to make a pause menu in mins in the Godot game engine I'm using Godot 3.3.3 in this tutorial but it should work fine with any versions of Godot 3+.

Links:

#godot #godotengine #indiegame #rayuserp
Рекомендации по теме
Комментарии
Автор

was a bit burnt out but we are finally back! Let me know what kind of tutorials or content you would like to see!

rayuserp
Автор

For Godot 4, they changed the way Set and Gets are done.

This is what I used instead of line 3 and the function on line 10 (set_is_paused):

var is_paused = false :
set(value):
is_paused = value
get_tree().paused = is_paused
visible = is_paused

eoh
Автор

for anyone wondering, the code for the GUI canvas layer can be

extends CanvasLayer

pass

elikindig
Автор

Good, simple, yet also thorough tutorial, helped me a lot! Thanks!

axewizard
Автор

Great tutorial rayuse! Also really nice background music:)

eirik
Автор

I was troubled by the problem of not clicking the button when the game is paused. Your video saved me. 👍

progman
Автор

I learned more than I came here for, tyvm !

SuperMotoFetischisten
Автор

I think you want to add visible = is paused to line 8. Or, if the intention was that whenever the toggle occurs, the visibility alternates, then that wasnt working as-is on key press.

usetheexplosives
Автор

you solved my problem under the first 30 seconds of video <3

diegoh
Автор

It was bc I'm But finally I was able to put a pause menu in my game
Thanks you so so much Rayse, I love you I couldn't have done it without you

ariadnajaime
Автор

I wrote a comment explaining a problem and the problem got fixed by me watching the whole video... for my mistake I will sub only issues im having is probably because I have somewhat custom made buttons (was a pretty easy fix after a few minutes of thinking)

katkazam
Автор

If you would like to use the controller/buttons you can also do this command for example

func _unhandled_input(event):
if
self.is_paused = !is_paused

ragnarokaesthetic
Автор

I have a level timer that displays your current time, how do I pause that when I pause the game

jacobbailey
Автор

Thanks, the pause is really working! but for some reason the colour rect doesn't appear outside of the pause scene

kaduyeah
Автор

how do i pause using button instead of keyboard?

fiz
Автор

So this is great thank you, having one issue though. On initial level load the paused menu shows straight away. if i resume and then pause it works as normal, is there a way to stop this happening. Im betting its easy but cant see it atm. Also cannot get the controller to work with the buttons at all. They Work for the main menu but not the paused one

stuartpowell
Автор

Im having the issue where the pause menu is the first thing that comes up when i enter my world scene.

EriksBlue
Автор

Hello rayuse, thanks for make this tutorial! i used your tutorial to make a pause menu screen, but something is wrong with the script or the buttons, my probem is when i paused in my game the the buttons don't works.

DeltaruneSusieStory
Автор

I added this into a first person 3d game, and there is no cursor whenever I pause. Any idea how to resolve this?

StanGames
Автор

how do i make my characters bigger? bc i am using the latest version and some things dont show up

emmanouelvasiliou