Godot 4 | Autoloads overview

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 41

  • @Mik-kv8xx
    @Mik-kv8xx Před rokem +18

    PLEASE never stop making these. This is S+ tier quality content ❤

  • @eakyrtk701
    @eakyrtk701 Před rokem +4

    Just found this channel, simple and cool editing. Good job ^_^. Also you can note that we can autoload scenes. For example I make an audioplayer autoload to play game music constantly.

  • @gladiusbam
    @gladiusbam Před rokem +2

    just found this channel, your videos are the best on godot I have found, I hope you keep making these amazing resources. Super helpful to a beginner like me.

    • @JumboGamedev
      @JumboGamedev  Před rokem

      Thank you! I am currently working on another one : )

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

    Amazing for a quick revision session .

  • @MadeUpNoun
    @MadeUpNoun Před 7 měsíci

    thank you so much for mentioning autoloads in your scene changing video.
    i searched for a method to save scene data across scene changes and couldn't find anything until that video lead me here
    also 10/10 video

  • @solitary200
    @solitary200 Před rokem +1

    Thanks! Hope you keep making more videos, this was very well done!

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

    Nice. I wondered what Autoloads were used for and how they would actually be attached to a scene... good stuff!

  • @meraklmuskulpesent8313
    @meraklmuskulpesent8313 Před rokem +1

    Immensely helpful, thank you.

  • @peterambutas6311
    @peterambutas6311 Před 16 dny

    informative, thanks

  • @entei6736
    @entei6736 Před rokem

    I love your channel bro, keep it up!

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

    found this top tier content by accident

  • @hikenone
    @hikenone Před rokem

    Thank you, I learn new stuff!!

    • @JumboGamedev
      @JumboGamedev  Před rokem

      You are very welcome : )

    • @hikenone
      @hikenone Před rokem

      i love your content, but some Graphic Text is too small,

    • @JumboGamedev
      @JumboGamedev  Před rokem

      @@hikenone Thank you, I will make sure to make the text bigger!

  • @pxlsoldier9551
    @pxlsoldier9551 Před 8 měsíci

    this might be usefull for managing multiple gamepads and players

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

    I didn't know the viewport was the uber-parent. Feels like that has other opportunities and implications.

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

    Thank you, Sir, 🙏🌺😇

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

    Okay though, good video but I NEED to know what your editor theme is. Looks sweet :)

    • @JumboGamedev
      @JumboGamedev  Před 11 měsíci +2

      I am using a custom preset:
      - base color: 11124b
      - accent color: ff0090

  • @adiveler
    @adiveler Před 10 měsíci +2

    So this is how you save stats between levels?

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

      Yes, autoloads can be used to save stats between levels.

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

    Would it be favorable to make a player character an auto load function then? How would you store variables to the player and keep them the same otherwise?

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

      If I understand correctly, you want to store variables to the player node (eg. playerHealth), and you want to access them globally/from other nodes?
      If that is the case, there are a lot of patterns you can follow to achieve this result:
      - you can do as you mentioned, which is storing the player character globally. (this may become hard to maintain/debug if a lot of nodes are making changes to the variables/fields of the player character)
      ~ consider using getters/setters to the variable to avoid unexpected changes.
      - you can use signals. For example, you can emit a custom signal when the playerHealth reaches 0.
      - you can access the value from the player node directly without storing it globally. For example, the parent scene, that contains the player, can have a node that accesses the playerHealth from the player node directly. (Again, this may become hard to maintain if a lot of nodes are accessing/modifying the node variables, so consider using getters/setters)

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

    i can't read anything, please make the text bigger for the code

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

      Thanks for the feedback. In later videos, I adjusted the text to be bigger, and I will make sure that the text is big and visible for future videos as well!