Pausing games in 85 seconds | Godot 4

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • A quick guide on how to do a pause menu in godot!
    #godot #gameengine

Komentáře • 50

  • @arronalt
    @arronalt Před 20 dny

    wow this tutorial format of top down overview and implementation is so good
    def worth a subscribe ^^

  • @meraklmuskulpesent8313
    @meraklmuskulpesent8313 Před rokem +7

    Dude, your videos are so to the point and well-made. Keep up the good work!

  • @sigitsatriap6505
    @sigitsatriap6505 Před 11 měsíci +7

    i love the format of your video tutorial, subscribed

  • @carlosleyva-calistenia6400
    @carlosleyva-calistenia6400 Před 5 měsíci +1

    I like your channel.
    You go straight to the point instead of wasting my time with 1-2 minute long intros that say nothing and 10 minute videos for concepts that take 1 minute to convey.
    You just won a new subscriber.

  • @jayman1462
    @jayman1462 Před 3 měsíci

    thank you for going straight to the point, and the little nodes and arrows along with the view of the editor was very helpful :D

  • @poisonivy2677
    @poisonivy2677 Před rokem +2

    Just stumbled onto this video. Instant Subscribe. Keep up the amazing work

  • @kieunghiaduong4848
    @kieunghiaduong4848 Před 2 měsíci

    Sensei, thank you for helping me save a lot of time by understanding the nature of the problem with "Godot tutorials".

  • @JessicahTV
    @JessicahTV Před rokem +1

    Thanks for these tutorials, please make more! They are super helpful. Subscribed!

  • @TheRealAfroRick
    @TheRealAfroRick Před 9 měsíci +5

    Very cool, but it is nearly impossible to read your code because it is sooooo small on the screen. Change the ratios so that you can get more screen real estate to your code :)

    • @JumboGamedev
      @JumboGamedev  Před 9 měsíci +3

      Yes, in future videos, I made sure to make the text bigger.

  • @user-nc9on4bp2o
    @user-nc9on4bp2o Před 9 měsíci

    Simple yet very informative. Great job.

  • @noodledealer7447
    @noodledealer7447 Před 4 měsíci

    Perfect! thank you

  • @agustinsebastiangaray
    @agustinsebastiangaray Před 6 měsíci

    I love how u do it in 85 sec and i broke my pause system and now i waste more that 2 hours trying to solve it and it still broken... XD

  • @katherine2721
    @katherine2721 Před rokem

    You deserve way more subscribers! Subbed!

  • @q404
    @q404 Před 9 měsíci

    Great video but that sound gave me flashbacks to pandemic era online school since that was my alarm sound

    • @JumboGamedev
      @JumboGamedev  Před 9 měsíci +1

      Thank you, I will make sure to use a different sound effect for future videos!

  • @sitthaonsaard1999
    @sitthaonsaard1999 Před 11 měsíci

    Goldest minute ever!!!

  • @gourabsutradhar29
    @gourabsutradhar29 Před 10 měsíci

    awesome videos ❤❤ keep it up 👍👍
    Btw, which software do you use to create these motion graphics in your videos and which software do you use to edit your videos ??
    Love the style of the videos👌👌

    • @JumboGamedev
      @JumboGamedev  Před 10 měsíci +1

      Thank you ❤ ❤ . A mix of blender and after effects, OBS, audacity, davinci resolve. 👍

  • @Korimi01
    @Korimi01 Před měsícem

    Great video, but i cant find a way to make a "shortcut" (like only jump if up AND space are pressed at the same time) without making jump1 for up and jump2 for space et then in the code checking for both imputs. Do you now how pls ?

    • @JumboGamedev
      @JumboGamedev  Před měsícem

      Thanks!
      I am unaware of a way that can allow you to define composite actions in Input Map.

  • @MrMr-oj7hl
    @MrMr-oj7hl Před 3 měsíci

    Wow, How did you make this video? It's so smooth

    • @JumboGamedev
      @JumboGamedev  Před 3 měsíci

      I use a mix of blender, after effects, OBS, audacity, davinci resolve.

  • @morganp7238
    @morganp7238 Před měsícem

    This works but it blocks, for example, background music.
    It also blocks certain effects (e.g., tweeting) in the pause menu itself. The problem is using get_tree().paused but I do not have a solution to this.

    • @JumboGamedev
      @JumboGamedev  Před měsícem +1

      When the game is paused, every node will be paused, by default. You can change this behavior for specific nodes by setting the process_mode ( docs.godotengine.org/en/stable/tutorials/scripting/pausing_games.html#process-modes ).
      Edit: fixed the link

  • @starbrine2020
    @starbrine2020 Před 5 měsíci

    I have a question, how do I connect the pause function to an Input key instead of a button? Great video btw

    • @JumboGamedev
      @JumboGamedev  Před 5 měsíci +1

      You can use _input(event) to check if an input key is pressed. If it is pressed, you can execute the function.

  • @legendaryredfox
    @legendaryredfox Před rokem +1

    That's nice, thanks

  • @alejandroarmas4654
    @alejandroarmas4654 Před 4 měsíci

    Hoy can i pause and unpause with the same key? i use a similar logic/structure to yours, but the pause-key gets handled again and cant leave the pause menu

    • @JumboGamedev
      @JumboGamedev  Před 4 měsíci

      You can toggle the paused state of the game every time the key is pressed. In other words, if the game is paused, you unpause, and if the game is unpaused, you pause.
      In code, you can do the following:
      if get_tree().paused == true:
      get_tree().paused = false # unpause
      else:
      get_tree().paused = true # pause
      You can also use the shorter one:
      get_tree().paused = !get_tree().paused # Toggle the paused state every time the key is pressed
      Both blocks will do the same thing!

  • @leviw6433
    @leviw6433 Před rokem +7

    i am in call with a girl she says she likes you

    • @JumboGamedev
      @JumboGamedev  Před rokem +4

      I didn't expect that loolol🤣🤣
      Thank you!

  • @thebeast024
    @thebeast024 Před rokem

    really nice

  • @YouSupPop
    @YouSupPop Před rokem

    Video idea: Composition