How to program in Godot - GDScript Tutorial
Learn GDScript in 1 hour!
► Get 1 week FREE and 40% OFF on CodeCrafters: app.codecrafters.io/join?via=...
● Our Godot MEGA Tutorial: • How to make a Video Ga...
❤️ Donate: www.paypal.com/donate/?hosted...
● More on Input: docs.godotengine.org/en/stabl...
● Bitlytic's video on Composition: • How You Can Easily Mak...
● More on Call down, Signal up: kidscancode.org/godot_recipes...
● GDScript Style Guide: docs.godotengine.org/en/stabl...
····················································································
► Join Discord: / discord
● Website: brackeys.com/
····················································································
► All content by Brackeys is 100% free. We believe that education should be available for everyone.
❤️ Donate: www.paypal.com/donate/?hosted...
····················································································
🎵 Disco Knights - Quincas Moreira (KZread Audio Library)
····················································································
TIMESTAMPS:
0:00 Intro
2:25 Hello, World!
4:01 Syntax
5:00 Modifying nodes 1.0
6:33 Input
8:38 Variables 1.0
10:31 If-statements
13:00 Comments
13:45 Variables 2.0
18:28 Functions
22:27 Random numbers
24:09 Documentation
24:33 Arrays
26:35 Loops
30:24 Dictionaries
33:54 Enums
36:58 Match
37:57 Modifying nodes 2.0
40:34 Signals
44:29 Get / set
47:18 Classes
51:40 Inner classes
53:20 Inheritance
55:10 Composition
55:29 Call down, signal up
57:06 Style
57:22 Puuuh, good job!
Пікірлер: 1 300
► Get 1 week FREE and 40% OFF on CodeCrafters: app.codecrafters.io/join?via=Brackeys Also, 11:25 should of course show "is less than or equal to" as x
@parthsahni8952
29 күн бұрын
Love your vids
@Maskeowl
29 күн бұрын
OG returned ???
@spicywing1358
29 күн бұрын
I tried to follow what I learned from Brackeys' channel and created a game, which I turned into a video on my own channel. Now I finally understand how difficult making games can be.
@mayankbhaisora2699
29 күн бұрын
Hello Wizard….. can you please also cover in future how can I setup Swift language to develop games in Godot engine using GdExtensions?
@officialdreamplayz
29 күн бұрын
Part 2 pls
2 weeks felt like 2 decades waiting for brackeys to upload again!!
@patrickruhan4101
29 күн бұрын
true
@sunshinecoco12
29 күн бұрын
Yknow i was really waiting for this since my skills were holding me back, and chatgpt is outdated with godot 4.2, so that didnt work either.
@niceEli
29 күн бұрын
@@sunshinecoco12don’t use ChatGPT for programming as you learn nothing
@niceEli
29 күн бұрын
@@sunshinecoco12don’t use ChatGPT for programming as you learn nothing
@ChatterDoesMatter
29 күн бұрын
i almost died waiting
Being mentioned by Brackeys is unreal, your tutorials were what got me into game dev. Appreciate the shout out! Looking forward to the other Godot videos
@NullCyan
29 күн бұрын
hey, I watched your video about components :)
@getgrapesss
29 күн бұрын
Brackeys is bitlytic stan!!!!!💯💯💯💯💯 i know that guy and am featured on his channel!!!!!! we have very good social credit!!!!
@getgrapesss
29 күн бұрын
bitlytic's my singing monsters' friend code is 1055659936MI if you feel like thanking him light some torches and join our tribal island!!!
@grantharris7396
29 күн бұрын
Me too! Super important stuff explained very well @@NullCyan
@Apebek
28 күн бұрын
I have a question. Is it not totally unnecessary to instantiate a node for a health script? It does some calculations but does not make use of the node functionality. If you had lots of objects with nodes attached does it not take more processing power? I think you can do the same by scrips alone and maybe extend from Object for the most basic stuff.
In response to 57:48 I would love to see a tutorial dealing with 3D. In your first 2D game tutorial you mentioned that in Godot it is very easy to transfer 2D concepts to 3D so that seems like the next logical step.
Hello Brackeys, the market is flooded with a large number of introductory tutorials. There are many tutorials for many basic concepts that you can refer to, but there is very little information explaining the advanced concepts or mechanisms of Godot, such as the complete life cycle of nodes and hooks, and the concept and use of resources , memory management related, complete input processing flow, data serialization and deserialization, saving and loading, etc. I would be particularly excited to see these contents in your channel.
@nevertoolate5325
27 күн бұрын
👆 this!
@jesperjohansson6959
26 күн бұрын
This is true, but still, of all the "beginner tutorials" to Godot these are probably the best that have been made now. I hope they eventually get to making advanced tutorials too! If anything, I'd love to see a devlog series. That'll give them a way to talk about advanced topics while still keeping viewers who aren't interested in learning about those specific topics.
@definarte
26 күн бұрын
thank you
@liriocoentro
20 күн бұрын
Check out @christutorialsyt
@theConcernedWyvern
18 күн бұрын
Yes! I would love some data serialization! I'm still new to the engine but learning serialization is super important for so many projects.
I can’t describe in words how happy I am that you are back
@jahangirakbar4524
29 күн бұрын
Same
@daBulgarian
29 күн бұрын
How about in sounds? I think sounds work
@Nanorasmus
29 күн бұрын
word
@kerhabplays
29 күн бұрын
@@daBulgarian **YAMETE KUDASAI~**
@patrickruhan4101
29 күн бұрын
same
I love the style of your videos. The editing is on point and you don‘t add annoying background music. This woks so great because you utilize your voice perfectly. No monotone sentences, pauses between sentences / paragraphs that have the perfect length, …. Everything is just perfect.
@clintmilner2365
29 күн бұрын
And the volume control and compression is on point, I don't have to adjust my volume JUST for his videos. Top quality all around!
I would love to see tutorials on: -> how to make a 2d (pseudo 3d) game without physics but rather with mouse interaction (e.g. card game) -> how to properly implement menu systems -> how to make a 3d (insert vehicle)-simulator kind of games
@scoundrel_studios
20 күн бұрын
oohhh - card game 🙌
@theConcernedWyvern
18 күн бұрын
Oh I hope he sees this. I've been wrestling with mouse interaction for the past hour and a half. I was like "oh I just check if the input action is being done and if the cursor is inside the area2d" and apparently it's not that easy, or I'm missing something. I'm not sure how to use the signals and functions for that, as trying to wrestle those and if statements together is like pulling teeth.
@heavengrrl
23 сағат бұрын
Specific game tutorials are a noob trap honestly, unless your using them to become acclimated with godot in general at first and the game being featured is just a vessel to learn
Love the new Godot Videos! Watching them religiously and learning so much! PLEASE KEEP IT UP! I would love to see something on more advanced 2d movement mechanics drawing from difficult games like Celeste and Jump King. Maybe a "Make your first precision platformer in Godot" or an intermediate platformer walkthrough with combat and more advanced movement, etc. THANK YOU!
Me: Do you smell it You: What Me: It's the goat
@LATAM_EQUINOX
28 күн бұрын
AND HE IS COOKING👌
@MagicianofBlackChaos
28 күн бұрын
the goat is never washed
@mikk.t.7824
6 күн бұрын
@@MagicianofBlackChaosstinky goat
Teacher here. Bro you're awesome. It must've taken some time to figure out exactly what to say and in which order, for you to make it so understandable.
He came back when we needed him most, after the trust in Unity has been lost and we needed Godot tutorials, the true hero
@samwholearns3023
27 күн бұрын
Theres 100+ high quality tuts and courses before this lol ..
@NicoFye
27 күн бұрын
@@samwholearns3023 but none of them from Brackeys duh...
@user-xj7hz7on7v
22 күн бұрын
@@samwholearns3023 no. i want his tutorials👺
@ramyadil605
21 күн бұрын
@@samwholearns3023 yeah but brackeys has a lot more reach,plus we are 100% sure that his tutorials will be good
Brackeys, I started making games in Unity and used to follow your tutorials back in college. Now, after roughly 7 years, I have started learning Godot and this tutorial is a great way to start. Thanks for all the help man:):)
Brackeys you couldn't have made this video at a more perfect time, we love you!
@Reymax164
29 күн бұрын
*Ey, it's you!!*
@Emmanuel_Ojor
29 күн бұрын
Hi caleb
@gordzen123
22 күн бұрын
It's the kid who ate a magic apple that turned him old in just 2 years, hello!
A simple 3D game would be great! Now a beginner could first understand the fundamentals of programming, then use those ideas in action by creating two simple games that they could expand upon!
I never understood how Classes were structured in Godot, and I didn't feel like learning because every resource was so unengaging. But now finally I have an engaging way to learn about them!
@DEOHVI
29 күн бұрын
So true, i could not agree more. I love how Brackeys uses examples to explain concepts. 😊
I spent most of my week waiting for this video while I was confused with a lot of GDscript. This is a breath of fresh air and I thank you for this!
Brackeys I am so glad that you are back and working in Godot! I am a new programmer working my way through college, and started making video games as a hobby. I used to watch your videos for Unity, but after all the drama last year, I became disheartened with Unity, and took a break. At the start of this year I started researching other options, and began coding in Godot. I'm still pretty new to it, and am looking forward to using your videos to help myself improve.
Even though I already know how to use GDScript, I will still be watching this entire video, because I'm just so happy that you're back!
@general_jacob8949
24 күн бұрын
If you haven't, make sure that you do. I have been using GDScript for awhile now and this video still pointed out some things to me in a way that I had not thought about previously.
@nikolaydanailov1605
2 күн бұрын
@@general_jacob8949 Exactly. I feel like even the most seasoned developers can always learn something from a Brackeys video.
Brackeys!! Yes!! Please more Godot tutorials! The community is growing very fast. :D
Brackeys proving exactly why I feel Abused by RNG on a roll() 20% chance to get a 5% result. Love it
I have been watching your videos for the better half of a decade and it is no exaggeration to say that you are the sole reason for my career in game dev. I will always be grateful to you for everything you have done and are doing. I have been looking forward to getting into godot but could never find the proper motivation to do so but now here we are again. Thank you from the bottom of my heart and keep making awesome videos.
Bookmarking this to come back to later 👀 thank you for this new series 🙏
@muhammadjamal347
29 күн бұрын
Brother i have watched your videos, you're pouring pure love into those gems❤. Btw are doing any godot videos?
@TheMeanArena
29 күн бұрын
Learn C sharp if you want to be valid in the future.
@Furo448
29 күн бұрын
@@TheMeanArenaScre you now I'm learning holyC
Please make more Godot tutorials. These are the best tutorials to become a game developer.
I have to admit, Brackeys, the new level of showmanship you put in these new videos is awesome. Way beyond using a meme or a sound effect. The cooking metaphor in your last video went way beyond what most GM tutorial producers would even dream of.
Glad to have you back. You have a knack for explaining to beginners so I'm so happy you are supporting the Godot community.
You are raising the next generation of gane devs i cant describe how happy i am
Those interjections that you make are really funny. They do help in breaking the monotony. Also shows that tou havent lost your funny side. 😊
'Hopefully you'll be able to use this as a reference manual going forward' As a visual learner, this perfect. I struggle with trawling through so much documentation when at the bottom of a learning curve. Thanks Brackeys!
I've had so much fun with Godot, and I'm so happy to see the community growing. Thank you for these videos!
These Godot videos have come out exactly when I needed them. Love em
I'm in the middle of doing another person's tutorial, but I had to stop that and watch Brackey's video as soon as it came out. Brackeys is just too dang good!!
Happy to have you contributing to the Godot community! I really hope you do some content on c# and GDExtension.
i actully started to use godot like 3 days before your arival so now having this is a blessing finding whats in the second half of the video is harder than it should be
Bro, glad you’re back. I remember when you first started Brackeys, it’s been so long.
I'm glad your back Brackeys you helped me a ton when i started game creation
Been waiting for this one
@raht3ch
29 күн бұрын
Same
@thegodlydemon2605
29 күн бұрын
Same
@sean7221
28 күн бұрын
Same
19:07 okay, I wasn't ready for this joke, lol
Even as a person who has already been meddling with Godot for at least a little while, I know I'll absolutely be coming back here for refreshers every once and a while!
Your lessons are somehow too good to learn from, they're motivating and fun. Those little funny intervals are "a cereja do bolo" (Brazil expression).
I just started studying Godot and these videos pop up. It's like he came back just to assist me.
@Brackeys can you teach 3d in godot to pls
Please keep making videos! I'd love to see a video about 3D in Godot.
This is the best tutorial on just general programming I have ever seen.
Hey Brackeys I've just got to say that I started watching your Unity videos just weeks after you left, and it is so fun to follow along while you post in Godot. Take care and keep up the good work! Making games is so much fun but I would not have ever started without your videos.
It is unreal how coding in GDScript seemed impossible to me, and this bastard comes and makes it easy!
@saibamoe
25 күн бұрын
it was already pretty easy though, let's be real, he just gamified the docs :)
@johnengland5853
24 күн бұрын
@@saibamoe thing is, it's not too hard, it's just that I couldn't find anyone that explained the diferent parts without being just a game tutorial
Welcome back, man. I see you've picked up Godot. I think it's awesome that you saw the need and jumped right on it (in light of the mass exodus from unity). Having said that, I think you could also benefit from learning and covering Gdevelop 5 (a lightweight, JavaScript engine that can export to HTML5, PC, Mac, and mobile) and Roblox Studio (a LUA based engine with built-in frameworks and libraries that handles online capabilities for the creator, by default). Thanks a million for your Godot content!
I love his attitude, he seems genuinely happy to teach us!
I do not use Godot, I don't know if I ever will, I don't even do much game development anymore, but boy do I love Brackeys and boy did I miss him!
@codinghuman9954
29 күн бұрын
Also, yes, yes I did watch the whole thing.
Nice! Next video C# in Godot? 🙂
@4jasai
27 күн бұрын
hes gonna be using gd script for all his tutorials
Bro I love you
dude, you're a hero! you went out of your way to learn things the difficult way so you can teach it to people like me who struggle with these concpets the EASY way! You truly have helped me become a better developer, starting in unity 5 years ago, now making a shift to Godot.
thanks for coming back brackeys 😭
it been literally 2 week im waiting for this video, im soooo excited :))
Ive been trying to learn GDScript and Godot for the past 7ish months (no prior experience on coding + gamedev) and OHMYGOD I don't know why but the way you explained properties just clicked!!! I just spent 45min on the first 7 minutes of this video exploring more and playing around with the font properties. I finally understand how to reference a class, and then read the documentation for each property like wtf!! I also figured out for example on the Label node in the Inspector, whatever Property you would like to know more about you can right click on it and you can copy the property path and open the documentation for that property. Wow thank you!!
brackeys you have no idea how happy i am to have you back- i switched to godot recently and have been having trouble finding tutorials- you are awesome
Yippee!!!!! Thank you so much for this (to be watched) and the previous video. I've learned so much already and was able to add a bunch of features to the base tutorial game like double jumping, coin blocks, moving platforms that change direction when colliding and more!! You've given me an amazing foundation to understanding godot with that one video and I'll never be more appreciative, thank you thank you!!
@PlushmayhemVT
28 күн бұрын
Having watched it, again thank you!!! Lots of great stuff in the second half especially. As for future videos, I'd love to learn about behaviour trees! There seems to be a lack of good information on them in the Godot community and it's something I have a lot of interest in utilizing
this is really awesome but i do hope you'll talk about the c# support in godot as well at some point 🙂
20:08 - This coffee clip got you a new subscriber :)
this is actually amazing. I Im so happy the legend himself is back in godot especially :)
It's hard to come up with exact words to describe how glad I am to see godot tutorials made by someone as experienced as brackeys.
For me now the official acronym for GDScript is Gandalf Script.
So glad to have you back! I would love to watch a video on coding concepts for beginners like finite states? Thanks for the great work!
So happy Brackeys is back and doing GoDot. I was doing hobbiest Unity dev for YEARS and just switch to GoDot like a month ago, and 2 weeks later, BAM brackeys is back. It's like he knew I needed the help.
YAY HERE YOU ARE AGAIN! LOVE YOU BRO ❤
I would like to see a tutorial about shaders in godot
I've got to say: the amount which I have learn in a couple days from your 2 videos (the first game tutorial and this one) has been awesome. Everything is super clear, and I really feel like I can put some at least reasonably interesting stuff now. If you're going to keep making new stuff, I'd love to see something about working in 3d space! Thank you very much for all the time you put into making this :D
He's about to take over the game development industry once again! LET'S GOOOO!!
Welcome back, King 👑
Awesome! Thanks for your amazing content. Are you also doing C# tutorial for Godot?
@hipflipped
29 күн бұрын
No c# please.
i gotta say, this is the best gdscript tutorial i have found so far, those 1.78M subs r most definitely deserved
I have been programming games for over 10 years, including over a year in Godot and GDScript. I enjoyed every second of this video!!!
Upload more GODOT game dev tutorial, we have all the hopes on you Brackey
Pyhon-syntax 0:09
Your way of explaining and sounding interested in what you yourself is saying makes this so much more enjoyable to watch. Thank you. All the other videos/playlist i try to watch put me to sleep...
Making games as a solo dev has never been more accessible. These are tutorials and resources I WISH I HAD like 10-15 years ago. Thank you so much for this 1-2 punch combo Brackeys. My friends murmured rumors of the King coming back. I had to see it to believe it. I believe. I believe! 👑
Under 1 Hour gang
@toucan_tv
29 күн бұрын
Under 5 mins gang
@zapzival
29 күн бұрын
Woot
@itsme_619
29 күн бұрын
Yuuurrrrr
@nillaq
29 күн бұрын
Yesssirrr
@Flapjaq
29 күн бұрын
Meeeeee
Please Don't Go Now. I am really happy to see you back, and I am sure everyone reading this comment is happy too. So please don't go now.
These are one of the best videos. Worthy of rewatching. And I'm still thirsting for more
I've already been working in GDScript for a while but this video was so clear and concise that I still feel like I learned things!
cool now c# godot next
Who is learning Godot after he learned Unity like me?
I've been learning Godot for a few weeks now and thought I knew the basics of GDScript well enough until you got to enums, then many things past that point were new to me. Great video!
Responding to 57:48 I would love a deep dive into C# game programming with Godot, there are too many GDScript tutorials and too few covering C#
Are you going to use C# as well in your tutorials?
@hipflipped
29 күн бұрын
Please no C#.
@RodamisCZ
24 күн бұрын
@@hipflipped Why?
Brackeys is the reason I finally switched to Godot from Unity. I am so glad I did! Its so much easier and more intuitive, in my opinion. Thanks Brackeys!
I love the way you explained classes and instances.
Next godot update: "why we're ditching gdscript"
15 seconds ago? Thank you Brackeys.
I'm glad you're back and thank you for this video. It has made me more comfortable with GDscript and has made me more confident in my game ideas.
Ever since the Unity incident, I switched to Godot to try to learn and actually make games. I am so glad Brackeys is making tutorials for Godot, hell yeah!
I will name my firstborn "How to program in Godot - GDScript Tutorial"
@VINCENT_DBd
29 күн бұрын
Real
@KaizarNike
29 күн бұрын
im already naming my firstborn Vector3
this proves it, my mind now hears an Indian accent in every tutorial.
Two EXTREMELY good videos back to back! Thanks for these and its good to see you making a few videos again!
Thank you Brackeys for your transition to Godot,a new world is waiting for you, Godot its like the new Blender in gamedev, and still gaining popularity,its also the best choice for everyone.glad to see you back.
I neeeeddd uniittyyyyyyyyy!!!!!!!!!!😭😭😭😭😭 Here's a tip brackeys, while making games in unity I still face many issues that you haven't already covered on your channel so maybe set up some way to get inputs from your audience who uses unity about the issues they're facing and put out a vid every month or so about the topic you see fit from those inputs. Please do something like this man👍🏻❤️...
hi This is first comment
@kosmallumpa
29 күн бұрын
no it wasnt
@senditvr
29 күн бұрын
Yes it was
Thank You for coming back, man! You are most welcome!
It's just so great that you're making videos again! I love your channel and have been subscribed for a long time! Keep up the awesome work!!
C# for Godot IS needed 👇who IS with me😂
@hipflipped
29 күн бұрын
No need for C#.
@Feztek626
29 күн бұрын
Most people just use gdscript
@Danachew
29 күн бұрын
I'm with ya. As I'm currently trying to learn C# *and* Godot at the same time (I know, I'm making my own uphill battle here), the shortage of Godot C# tutorials is painful. I know I could technically try and convert a Unity tutorial over to Godot, but again since I'm still learning both, it's difficult.
@astreinerboi
27 күн бұрын
When I started using Godot, I was also not a fan of gdscript since its lack of static typing and good editor support. However, the longer I worked with C#, I felt that it didn't mix well with the engine design philosophy. I gave gdscript another try, and I was amazed by how much quicker I was able to develop, because it fits the engine much better. I can very much understand wanting to stick with a familiar language, but I would strongly suggest giving gdscript an honest try.