A Guide to Creating USER INTERFACE in Godot 4.3+

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 80

  • @codeandcraft
    @codeandcraft Месяц назад +19

    BRO HOW DO YOU KEEP MAKING EXACTLY WHAT I NEED IN THE PERFECT TIME! seriously i wanted to start working at the gui for my game and found this video, thx!

    • @dev-worm
      @dev-worm  Месяц назад +4

      Haha, I'm glad to hear it! I hope it was able to help you out a bit!!

    • @Apollo_MC11
      @Apollo_MC11 25 дней назад

      @@dev-worm Yes you really do that thank you!!!

  • @CodeAikawa
    @CodeAikawa Месяц назад +9

    I actually need this 🙏 thanks DevWorm.
    My main goal for this year-end break is to create templates for platformer, RPG, and top-down games. This way, I’ll be prepared with ready-made templates for our game development course next semester (I’m a third-year Computer Science student) in case the instructor announces a theme for a game project.

    • @a.b.s-studios
      @a.b.s-studios 28 дней назад +2

      Godspeed bro.... I pray that you will be successful in your current endeavor~

  • @xander6357
    @xander6357 Месяц назад +7

    Recently ive been trying to learn more about game development stuff and your content has been extremely helpful and cohesive , Cant wait to see what other tutorials you make in the future.

    • @dev-worm
      @dev-worm  Месяц назад

      I am so so glad to hear that!! If you ever have any request or recommendations please let me know.

  • @5kunk157h35h17
    @5kunk157h35h17 Месяц назад +3

    Thanks for releasing some of these a bit longer videos. I'll save it for when i pick the hobby up in a while again

    • @dev-worm
      @dev-worm  Месяц назад +1

      of course! I hope it will be able to help you when you get back into the hobby! and also goodluck with game dev when you get the chance to get back into it.

  • @DKingsofall
    @DKingsofall Месяц назад +4

    You are truly awesome. Thank you, bro! Love all your videos and tutorials. Can't wait to keep learning from a pro.

    • @dev-worm
      @dev-worm  27 дней назад

      That's so awesome to hear, I really appreciate it! If you ever need anything feel free to let me know at anytime!! I am so glad to help!

  • @wacko_ako
    @wacko_ako 17 дней назад

    Just want to say thanks for all the help with godot i have created a working game that i am proud off you :D

  • @Agentt271
    @Agentt271 Месяц назад +1

    Thank you so much! I love when you upload long tutorials covering subjects like this. Keep up good work!

    • @dev-worm
      @dev-worm  Месяц назад

      thank you. I am so glad to hear that, if you have any topics which you think I should cover then feel free to let me know!

    • @Agentt271
      @Agentt271 Месяц назад

      @@dev-worm I would really like to see a building&crafting tutorial! There is not much tutorials for that :)

  • @jorge43786
    @jorge43786 Месяц назад +2

    one of the best godot UI tutorials so far

    • @dev-worm
      @dev-worm  Месяц назад +1

      so happy to hear that!! glad it has proven helpful!

    • @jorge43786
      @jorge43786 29 дней назад

      @@dev-worm I do have a question. I see there is a matter of hierarchy between the control nodes when acting inside an area. So I have this margin control node expanded in a full screen witch contains two others marginnodes one to control the center of my screen with some maps and images by touch, and the other have UI buttons on the botton side of my screen. I want them both to work at the same time, but only the one in top hierarchy works. I manage to get around it by creating an autoload scene containing these UI buttons in HBoxContainer without a control node expanded full screen, so these buttons are kind of "loose".

  • @owenlloyd2528
    @owenlloyd2528 Месяц назад +1

    This is great and needs to become an 'official' tutorial, linked to by Godot. I would hazard a guess that the biggest reason people quit trying to use Godot is because they get so frustrated trying to understand this aspect of the engine. Point newcomers at this to get them into the zone! It is really good, really well done.

  • @Mark-yy2ki
    @Mark-yy2ki 24 дня назад

    Your videos are immensely helpful. I don't currently know how to link different aspects together as my coding experience is all single file procedural. But I'll get there one day.

  • @BombShot
    @BombShot 29 дней назад

    Was just looking for something like this so I can setup basic control settings and things such as for a gmae test. Thank you so much!

    • @dev-worm
      @dev-worm  27 дней назад

      thank you! I hope it was helpful! If you have any questions feel free to let me know!

  • @valthalin7613
    @valthalin7613 2 дня назад

    That was very helpful, Thanks for your effort! :)

  • @SideWxyzShorts
    @SideWxyzShorts 25 дней назад

    Super helpful video as always. Keep it up!

    • @dev-worm
      @dev-worm  25 дней назад

      Thank you so much! I am very glad to hear that!

  • @PopersIRL
    @PopersIRL 15 дней назад

    devworm my beloved goat

  • @fy8798
    @fy8798 Месяц назад +1

    Really cool video. Oddly time appropriate too - just made a set of menus in Godot.
    Except the only sensible thing I used was the NineRect, everything else was code. No auto placement, even centering/panning/zooming an automap was in code. The method with controls seems way better once you get your mind wrapped around it.

  • @foshin
    @foshin Месяц назад

    Your tutorial was a huge help for me about things I didnt even check before. I really would love to see how you did the animations there. Are you going to show it in another video?

    • @dev-worm
      @dev-worm  27 дней назад

      I am so glad to hear that! And also Yes, I am finishing up the animation tutorial shortly! I really hope you'll also find it helpful!

    • @foshin
      @foshin 27 дней назад

      @@dev-worm Thanks a lot! :)

  • @gamedev6698
    @gamedev6698 Месяц назад +3

    🍓🍓🍓Happy new Year m'y TEACHER !!! 🍓🍓🍓

    • @dev-worm
      @dev-worm  Месяц назад +2

      happy new years!!! wishing you the best of luck this year in all which you decide to do!!

  • @mister_roo
    @mister_roo Месяц назад

    Thank you! I get it now. Great tutorial,

    • @dev-worm
      @dev-worm  Месяц назад

      that is so wonderful to hear!! thank you!

  • @zyronis
    @zyronis Месяц назад

    Thanks for the video!

    • @dev-worm
      @dev-worm  Месяц назад

      of course of anytime! let me know if you have any questions!

  • @SforShub
    @SforShub Месяц назад

    thanks a lot of devworm ♥️ to make separate and easily understanding tutorials for godot topics
    can u also make a tutorial for making pixel art sprite animations

    • @dev-worm
      @dev-worm  Месяц назад

      thank you so much! I am going to be 100% honest with you im nowhere near a great artist!! But I am working to improve at pixel art as we speak!! so maybe in the near future I'll be able too!

  • @clanpmrgamer8313
    @clanpmrgamer8313 Месяц назад

    Thanks bro that helped me a lot I'm very grateful

    • @dev-worm
      @dev-worm  Месяц назад

      I am so glad to hear that! If you need anything feel free to let me know!

  • @sarika4329
    @sarika4329 Месяц назад

    you are the best!

    • @dev-worm
      @dev-worm  Месяц назад

      just glad to help!

  • @mfahriferdiansyah
    @mfahriferdiansyah 29 дней назад

    can't wait for the animation video

    • @dev-worm
      @dev-worm  27 дней назад

      finishing up the video shortly! sorry for the wait! But I hope it will prove to be helpful!

  • @LucasOliveira-dw4zh
    @LucasOliveira-dw4zh Месяц назад +2

    Great tutorial, it was nice learning about the NinePatchRect node. Question, in the text tutorial part 50:24 wouldn't be easier to have:
    Vbox:
    - Hbox: textDisplay, TextureRectangle
    - textDisplay1
    ? Tough, I guess it would not prevent the need to cut text.

  • @Historymadefun89
    @Historymadefun89 Месяц назад +3

    Does it happen to you when your enemy just attaches to your player whenever i give it a collision shape? please tell a solution

    • @sarika4329
      @sarika4329 Месяц назад +2

      switch from a move_and_slide to move_and_collide, this should do

    • @Historymadefun89
      @Historymadefun89 Месяц назад

      @@sarika4329 Ok i will surely implement this

    • @Historymadefun89
      @Historymadefun89 Месяц назад

      @@sarika4329 Can you also tell me why my hurt animation is not playing?

    • @herrspaten1796
      @herrspaten1796 Месяц назад

      ​@@Historymadefun89 ask these questions on the godot forum

    • @dev-worm
      @dev-worm  Месяц назад

      @Historymadefun89 send over the code which should be initiating the hurt animation.

  • @PrakharKesharwani-ly2jd
    @PrakharKesharwani-ly2jd Месяц назад

    Bro this video is actually nice but iam waiting for one on getters and setters

  • @gachanix8869
    @gachanix8869 Месяц назад

    Excellent video, could you make it when you can, a daily login, daily missions and season pass reward please?

  • @tnt3t
    @tnt3t Месяц назад

    I don't know if you'll ever see this,
    I'm a beginner who started game dev, recently
    I'm trying to make my first own game, a plane game of sorts, where the player can only be controlled along the y-axis, and the enemy can only follow along the y-axis as well (while bullets are fired from the enemy along the x ofc), but the enemy can only do so in certain intervals,
    • the enemy moves for 3 seconds, during which he attacks
    •after which he stays idle for 3 seconds
    So to implement these I used a simple state machine
    With IDLE and FOLLOW
    (defined them using an enum)
    Attached a timer to the enemy
    My code looks like this:
    Extends Charbody
    Enum State {IDLE, FOLLOW}
    Var state = State.IDLE
    @export var speed : ...
    @onready var player = reference to player
    @onready var state timer = reference to timer node
    Func _ready:
    state = State.IDLE
    state timer. Start(3)
    Func _process(delta):
    if State == state.FOLLOW:
    var direction = sign (player.global_position.y - global_position.y)
    Velocity += direction * speed * Delta
    Func _on state timer timed out ():
    If State == state.IDLE:
    State = state. FOLLOW
    state timer.Start(3)
    elif state == state.IDLE:
    State = state. IDLE
    State timer. Start(3)
    And the enemy doesn't move at ALL,
    when I attached a print to all the methods individually, they seem to be working as intended
    Another thing is the reference to my player scene looks funny something like:
    $".../Planey"
    "Planey" is my player scene
    Please note I'm a complete beginner to programming as a whole,
    So I know for a fact there's a problem from my code, chat gpt seems to make it worse

    • @dev-worm
      @dev-worm  27 дней назад

      hmm so from what I can see it looks like you are missing a "move_and_slide()" in the _process function. Which will also explain why everything is printed as intended with no errors but the enemy just won't move on screen. So basically just add move_and_slide() at then end of the _process function:
      like this:
      Func _process(delta):
      if State == state.FOLLOW:
      var direction = sign (player.global_position.y - global_position.y)
      Velocity += direction * speed * Delta
      move_and_slide()

  • @QuantumForgeStudios.Official
    @QuantumForgeStudios.Official 29 дней назад

    Hi! I need to register a scene as a custom node using the Godot plugin system, but I don't know how to do it. Could you please create a video tutorial explaining the process? Thanks!

    • @dev-worm
      @dev-worm  27 дней назад

      I will see what I can do. But what exactly are you having trouble with? Is it the overall process of it? or are there specific spots where you are just really feeling stuck? I hope I'll be able to help

    • @QuantumForgeStudios.Official
      @QuantumForgeStudios.Official 27 дней назад

      @@dev-worm Thank you for your help! I was able to create the scene that I wanted to use as a custom node, and the functionality of the scene is defined in a GDScript. However, I’m struggling with the registration part. Specifically, I’m not sure how to register the scene as a custom node within the Godot editor. Could you guide me through that process?

  • @truenincillo805
    @truenincillo805 5 дней назад

    Hello, Could you create a video tutorial to trigger the action of a button in one scene and trigger the script function in another scene? I don't know how to do it, could you create a video tutorial please?

  • @ytIs4k
    @ytIs4k 26 дней назад

    hi! i would like to ask a question from one of your older videos about how to enter another scene using a door, when i use this the game freezes for like 5 seconds before entering the other scene do you know a solution to this?

  • @Jamal_DH
    @Jamal_DH Месяц назад

    I'm making a game that is basically just 4 UIs all the time and this video coming out today was a miracle. I am also realizing this is going to be a miserable process lol

  • @nobita-nobii
    @nobita-nobii Месяц назад

    Please also make a video of explaining in brief about shader coding , its will very helpful us please

  • @Gamer77ProHHDHDoomE4K
    @Gamer77ProHHDHDoomE4K 26 дней назад

    Hey can someone help me?
    How do I add a global script for my godot music and it stops playing in the scenes that I assign
    Please help

  • @Bheckler24
    @Bheckler24 Месяц назад

    This tutorial is like mana from the heavens.
    Now, to find a tutorial for how to make a menu game (please help me)

  • @Astral100
    @Astral100 Месяц назад

    This looks overly complicated to me.
    I am new to Godot, so perhaps I am missing something, but I don't see why the same couldn't be done with mostly anchors on a single Panel, which would reduce the extra containers to just a couple and tremendously simplify the whole thing.

    • @fy8798
      @fy8798 Месяц назад

      You absolutely can do it with anchors on a single panel, I have. It gets a lot messier though, and likely is worse when players change the resolution/viewport size

    • @Astral100
      @Astral100 Месяц назад

      @@fy8798 If the anchors are set correctly I don't see how changing screen size would mess things up?
      Perhaps some centering may be affected, but centering is not required often

  • @Kriegolus
    @Kriegolus Месяц назад

    yippi

  • @rahultandon9749
    @rahultandon9749 Месяц назад

    :" Indebited to the Indepth."

  • @BlazeZpaze
    @BlazeZpaze Месяц назад

    yo buddy long time ..... may i request a video

    • @dev-worm
      @dev-worm  Месяц назад

      welcome back!! and of course you can! just let me know what the idea is!

    • @BlazeZpaze
      @BlazeZpaze Месяц назад

      @@dev-worm a fast combat system , combo and stuff

  • @Historymadefun89
    @Historymadefun89 Месяц назад +1

    14th viewer! Also bro, you never replied to my Dm on discord

    • @Sigmalini
      @Sigmalini Месяц назад

      yes mine too, must be our pfp.

    • @Historymadefun89
      @Historymadefun89 Месяц назад

      @@robbyz512 AYO BRO!!!! STFU WHO TF ASKED YOU?! Also, thank you for inspiring, appreciate it man!

  • @fujivato
    @fujivato 28 дней назад

    Good video, but timelapses are pretty pointless in these types of videos (as in add no value) as YTs playback controls are terrible and even if played back at 0.25 speed the music sounds horrendous and there are long periods of nothing followed by bursts of activity 👍

    • @dev-worm
      @dev-worm  27 дней назад

      Hey thanks for letting me know. I just thought maybe watching the screen throughout the entire process could be useful as there wouldnt be any major cuts. Because I know some tutorials out there cut chucks out and it feels like there is something missing within the tutorial. So I just aim to not have the tutorial come off that way. But thank you for letting me know and I will try to keep that in mind going into the future.

  • @phantomd8789
    @phantomd8789 29 дней назад

    Hey! I'm a game developer who does level design, story, mechanics and music. I'm a Young dev and I am looking to launch my career with a game I have been working on for years. I'm looking for a dev partner of sorts who can help with skills I lack which are art and programming. I have a really good story to tell. Whoever is interested message me back. Thanks!

  • @ОдинЧеловек-т4р
    @ОдинЧеловек-т4р 12 дней назад

    func support_the_channel:
    print ("just some comment")