How to make a Video Game - Godot Beginner Tutorial
Make your first game in Godot!
► Check out Zenva's free Godot course: academy.zenva.com/product/god...
► Get 20% off your first year (on top of any existing site-wide discounts!) with this link (first 50 people): academy.zenva.com/cart/?add-t...
····················································································
🖌️ Get the Assets: brackeysgames.itch.io/brackey...
❤️ Donate: www.paypal.com/donate/?hosted...
····················································································
🕹️ Finished Project: github.com/Brackeys/first-gam...
● Itch (Free Assets): itch.io/
● OpenGameArt (Free Assets): opengameart.org/
● Kenney (Free Assets): kenney.nl/
► 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...
····················································································
🎵 Girasol - Quincas Moreira (KZhead Audio Library)
🎵 Making a Game - Sofia Thirslund (Originial Soundtrack)
🎵 Time for Adventure - Sofia Thirslund (Original Soundtrack)
····················································································
TIMESTAMPS:
0:00 Intro to Godot
2:16 What should we make?
3:22 Cooking with Assets
5:32 How Godot works
7:31 Player 1.0
16:57 Worldbuilding 1.0
23:28 Platforms
28:20 Pickups
34:20 Dying 1.0
40:14 Worldbuilding 2.0
41:58 Enemy
51:06 Dying 2.0
52:56 Player 2.0
1:00:43 Text
1:02:35 Score
1:07:46 Audio
1:14:16 Expoooort!!!
1:15:41 Where to go from here?
► Check out Zenva's free Godot course: academy.zenva.com/product/godot-101-game-engine-foundations/? ► Get 20% off your first year (on top of any existing site-wide discounts!) with this link (first 50 people): academy.zenva.com/cart/?add-to-cart=1319205&coupon_code=brackeys202401&
THE BIG BRACK IS BIG BACK!
Waltuh, put your course away waltuh, I'm not making games with you right now waltuh
Will you make 3d tutorial also
just commenting so I can go back here again in the future
Will you put out a 3d tutorial?
ITS HERE, THE OFFICIAL RETURN OF THE KING!
Yes!
HAIL TO THE KING!!!!
Hell yeah, lets get this party started!
Dani will be back end half of 2024
OUR LORD HATH WOKEN UP FROM HIS DEEP SLUMBER AND HAS GRACED US COMMON FOLKS WITH HIS DIVINE PRESENCE! THE NEWS OF HIS HITHERTO UNFORETOLD ARRIVAL LEFT US SMILING!
The start of a new journey.
what are u doing here يا سحبه
هلا و الله يا وحش 👍💪🇹🇳🇸🇦
sooooop
هلا والله
يسطاااا
the cooking intro is going WAY harder than it has any need to be. With how well it was shot, I was convinced this was made for a series, and not just this vid.
40:35 Pro Tip: You can add scenes in the tile set, making it possible to place the coins on the tile map while still behaving normally as they should, besides it doesn't show up in the tree making it overall less cluttered. It's easy to do, just look around a bit in the tileset tab and try to drag a scene inside of it, you then place it like a normal tile
We love Mario in godot
thanks for the tip 🙏🏼
You should make tutorial for those of us that are new to this 🙂
I've been trying to do this but my coin script gets left with "'attempt to call function 'add_point' in base 'null instance' on a null instance" so I'm guessing theres some pathing involved that changes when you move the coin scene into the tileset
@@iron4522 Is there a way to fix this? have you fixed this? I'm getting a lot of "null instances" and nodes not being found, like when I tried adding a HP system in a similar way, any ideas?
ADVICE FOR BRAND NEW DEVELOPERS: step 1. follow a few tutorials like this. step 2. think of a very simple game idea. step 3. try to make that game with the knowledge you have. step 4. when you inevitably run into a feature you don't know how to add to your game, watch a tutorial on that thing specifically. step 5. make multiple small projects using less tutorials and start to rely more on the documentation until you become more independent. step 6. you are now fluent in game development. good job!
Complimenting step 4: If you can't find a tutorial on that thing, divide it into smaller problems and look for those instead. So instead of "How to make a magic bag" you maybe can think of it as an inventory, so "how to make an inventory" and if you still can't find that, divide it into even smaller problems until you get to the basics of whatever you want to make: - How to make a UI - How to toggle a UI / a scene - How to disable inputs while in a UI - How to make draggable items - How to store data in an object - Etc, etc, etc...
And don’t ask chatgpt, cause the latest model only knows godot 3.5. I learned that the hard way.
thanks
And also have fun! Don't stress too much. In the case of game development the saying "Rome wasn't built in a day" really applies. Your game may not look the way you want it to at the moment, but by the end of next week, who knows 🤷♂
+rep I learnt coding that way for my roblox games works 10/10 Lets see if I can do it for godot
Hyped to give this a proper watch!
Thank you for the great engine!
peititon to add this video to the menu when you open godot (for the first time maybe)
Whoa, the real Godot Official channel:0 Hi!
Godot official 😮
godot is the only engine i've ever been able to learn and i tried just about every game engine
22:00 *HUGE TIP HERE* : To prevent issues occurring when placing your points, on the left under "painting" click on the little grey magnet icon and select "Grid Snap" and set the number next to the magnet icon from 4 to 16. It will snap your points to the tile making sure that no problems will occur with collisions. For more precise grid snapping, select "Half-pixel", where it snaps to every half a pixel.
Thought it was going to be a short tutorial. But nope, it’s a full mini game 1hr+ long video. Very nice! Well done and glad to see you back.
To all future Brackeys student in Godot. you have met the best teacher in this field, enjoy.
Yeah, everyone's raving about this guy. Unfortunately, it's 11pm over here, and I gotta work tomorrow. But I guess tomorrow after work I'll find out what the hype is all about. Leaving the tab open on the HTPC, so that when I turn the TV on tomorrow, it's the first thing I see. 😉
@@EvenTheDogAgreeswhat is lil bro yapping for lol. ofc not everyone is good in this scene but brackeys was a legend in early game development and the hype is here because he returned to making videos. him starting right off Godot is a bit weird, i personally wish Godot was better but it is a free engine so we just have to wait until the greatest contributors do their brilliant work
But it is useless as no c# 😢😢😢
Yes C# ??? @@blo0m1985
@@blo0m1985 GDScript is basically Python and it's much easier to write than Unity's mangled C#. You'll get used to it quickly.
This is not just a tutorial. This is a big sign for Godot future. From now on the speed of community growth is going to be faster and faster.
And we can all thank Unity for it.
IMO he was a big part of why was unity so successful
@@azmoh4515 So it means. Now Godot going to be successful!!!!
It bodes well.
@@isaaciktaile1118 Yeah thanks Unity, greedy corporations continue to unalive themselves
I'm graduated in Game Development, working as a Software Developer nowadays. During college, we mostly used Unity and I don't have to tell you how much I was grateful for your channel and contents. God, you helped me a lot. After school, I tried to learn UE5 but dropped it, it is too much to handle, too much for a single developer that has to do all by himself. 3 weeks ago I decided to get back to game development and learn Godot, and now YOU ARE BACK , MASTER! THANK YOU SO MUCH! I'm really happy!
I really recommend sticking with ue5, the tools that come built into it are a god send for indie devs
@@tbunreall Yeah you can do that if you want to deepthroat boots from corporations like with Unity
Does Godot has any advantages over unity? I know that unity has much more assets, community, solved problems in Google. Why Godot? I asking in scope of self development. Not looking for get job as game developer. Just hobby. Why Godot? I used unity over 3 years and switched to web development
@@romansalnikov5079 Because large companies will screw us up, as shown with unity. Godot is free open source forever, is growing very fast and soon will be the blender equivalent for gamedev
1:02:48 Pro Tip 2: You can just create a script named "Game Manager" and inside project setting go into the "Autoload" tab and add your game manager script, that way it will always be there, so if you have multiple levels you don't have to put a "Game Manager" node in each of them, it even enables you to make the variables inside the scripts to be global and accessible from every other scripts. This makes everyhting much simpler and allows you to directly call the function "add_point" from the coin script. Just remember to reset the points counter whenever you reload the scene or else coins will keep adding up.
How you do it with the label? I cant get it to work with your method. But I like your method
Nvm i used signals and that works great
Yep, he said that at the end of the video.
or instead of just the script, you can use a node with the script instead, that way you can cycle through different background music by placing the audio inside of the node.
Thank you! this works really well. To reset point counter you can make a new function similar to the add_point in the GameManager like this: func reset_point(): score = 0 print(score) then in killzone script in the on_timer_timeout signal you can call the function like this : GameManager.reset_point() I hope this helps anyone reading!
Many have tried, but NOBODY does it like Brackeys. So happy to see the channel back!
aww yeah LostRelic's here! The gang's all together.
dont sell yourself short mate!
🎉🎉🎉🎉🎉🎉🎉🎉 I need to learn Godot from you it was my dream
Ahhh... Brackeys is something else but I learned so much from your channel and made me a subscriber, when I really needed that Megaman tutorial back in the day!.. Godot seems more Game creation friendly though, just from this tutorial.
Man if i had brackeys when i was learning godot... future godot learners, THIS IS THE GUY!!!
I wish I was like 5 months late
I'm just about to start now. So just like back in unity days I can watch brackeys to learn more lol. It's perfect.
@@Potato_DevOfficial lmfao
@@Sakros today i woke up wanting to try doing game dev again, but with godot instead of unity. IT IS ABSOLUTELY PERFECT
Ayyy just randomly started today
I followed the whole tutorial, never got messed up ONCE! He explained everything so well.
Bro, I wrote godot off as a beginner's baby engine, like roblox, and never looked into it. I'm blown away by the functionality. The fact that you can incorporate singletons without code, a full audio mixer, and the ability to call functions from animation keyframes without using waits and coroutines is mind boggling. The language also looks heavily based on python which is my specialty. I'm definitely looking more into this engine after having watched this video
Man, you do not mess around! I have been trying to get to grips with Godot (and game dev in general) for the past few months and while I've definitely learned a lot on my own, there are some features such as the sprite animation and sound editor that I didn't fully understand but you gave very clear and practical examples of how and when you would use these features, they've gone from something I fear to features that I want to use right now! I think I speak for a lot of people in the comments when I say thank you!
so true!
Thanks for the collaboration Asbjørn & Sofia! Can't wait to see you work your magic with Godot!
not bro using the government name 😭
@@xrusteater making games is a serious business 😎
@@Zenva I mean, you are not wrong 😂
I can't even pronounce Asbjørn 😭😭😭💀
@@CronixEdits As Be Yorn
1. I love Brackeys, and would have watched this video no matter what because of how relaxed I feel as he explains things. 2. I have been learning Godot, and he does such a great job of breaking things down and explaining. I am so glad Brackeys is back. He talks in a way that it feels like you're listening to a good friend. We feel like we know him, even though he has no idea who we are. Fantastic creator.
We've just recently jumped into godot and it has been really fun to use and learn! We're glad that just because we're changing engines that doesn't mean we have to change our teacher.
Now we just need dani back and its gonna be the golden era for game development in KZhead
yess
If we could have @SebastianLague convert to Godot that would be Epic.
And Sam hogan
i'd like to give you my like but it's already at 69 sooo
i like your channel's name
Please don't discontinued this Godot series because you explain it better than others You Are a Good Teacher....
Correction It is not You Are a Good Teacher....... Instead use, You Are The Good Teacher........... thank you.
@@xPumaFangx Please do not correct people if your corrections will be wrong. "You are a good teacher" is correct. Especially that there are other issues in the comment, like "don't discontinued" should be "don't discontinue"
@@animowany111 Hu, I didn't know you where not aloud to have a sense of humor online. I guess I am going to have to use that subjective memory my parents always had.
@@xPumaFangx Your sense of humor is obviously broken if you find posting wrong corrections funny
@@xPumaFangxHow did I happen upon an individual with an even more unhinged humor than I?
when the world need him the most he return
Awesome tutorial as always!, this time its godot! Those of you facing issue at dying1.0 section in restart, ensure that you set the mask layer to 2 for Killzone_area game object in scene as well.😀
Thanks!
im learning unity because of brackeys in the first place, and now learning godot because of brackeys. Brackeys is a legend.
Wait your learning two engines at the same time?
Pick an engine and stick to it, otherwise you ain't going anywhere
Legend
@@asterix... He probally change engine after the unity contreversy
Helpful tip for anyone coming from Unity: if you ever wonder why you can’t attach multiple scripts to a Node, it’s because in Godot, the script actually IS the Node. All Nodes are classes, and attaching a script means extending its class. Godot doesn’t have GameObjects and Components like Unity does, but you can consider a Node’s children Nodes to be its components. So you can give a Node a component script in 2 ways: - Give the Node a child Node, and attach script to it - Instantiate a script as an object inside the Node’s main script
This is great advice! I actually tried Godot a few months back and one of my biggest gripes was the inability to add more than one script per game object. The solutions you suggested here are great workarounds.
OR use Resources in a export variable, but that's a little more advanced.
This system is like Unreal Engine and Unity mixed together.
Yes, Godot's way means a much more exposed and visible scene tree compared to tons of components on one object in unity. Don't worry, if it's ugly or you have reusable node structures, just right-click -> save as scene!
@@touringrc5007 I would say Unreal and Unity are the big bully neighborhood kid. And GODOT is the really super smart kid that totally respects everyone.
I just finished this amazing Godot tutorial with my 12-year-old daughter. She had so much fun! I don't say this lightly, but this is the best intro to making games that has ever been published. Half of that is thanks to Godot; half of that is a compliment to Brackeys. Thank you for empowering and inspiring the next generation of learners!
I don't know where to start. First of all you are such a talented teacher. Second, this has go to be, the best, most fluent, introduction to Godot ever. In over just one hour you walk us through a process which other creators drag out over 10 or more episodes. This introduction is so damn good it should, maybe not right now, but eventually, become part of the Godot project and made accessible for the millions of people who don't have access to KZhead. It's so good, to have you back!
Never used Godot in my life. Downloaded and launched Godot, and I'm ready to start the video. Haven't been excited about something like this in a while. Let's see what Godot has to offer.
trust me, it's very good
Same started today! Good luck on your journey 🍿and I will see you on the otherside
@@Deri_LULZZ seems great so far. One tutorial later, and one "game" later, the engine is very user friendly.
@@mitchelldutch Good luck to you as well. I hope to see you on some game jams!
@@Damian-lk1ncyup, being user friendly is so underrated, and not just for beginners. I have 10+ years of experience in making games in unity, unreal, sdl/sfml and my own game engines. But never had some much fun and speed in developing games like i am having in godot.
I'm just itching for the next episode. I was hoping it'd be every week but it's now been ten days with no second episode!
There's a pipette tool for painting the physics on the tiles. For painting the physics on the bridge, you can paint the middle bridge first. Then you can paint the left without moving the connecting edge. Then you can use the pipette tool (next to the 'paint' button) to reselect the middle bridge so that you can have the correct position for the right bridges' connecting edge.
You can also simply flip the physics, in this case, there's an option to mirror them horizontally or vertically. very common use case for tiles.
Uhh, it feels like I'm 16 again, when I didn't even have a pc and i was watching your videos just to get an idea of how that stuff works, happy to see you back!
I presently am 15 and watching this video without a pc 😂😂😂
im 16 right now but was jus like that when i was 10
im not even interested in making games and im watching this lmfao (im 17)
@@Emmanuel_Ojor godot engine is available on Android platforms also 😂 you just need to connect keyboard and mouse somehow
Return of the king. Thank you for inspiring thousands of gamedevelopers over the years! And here's the push that Godot needed to reach new heights! Cheers!
youre not too shabby yourself bro, i want to say the exact same thank you to you as well, as you've greatly helped me in a lot of ways when i was using unity, so much. i'm on unreal now but i still support your videos lol
Thanks a lot for coming back king! I haven't felt motivated for a while, and having the opportunity to learn a new engine with your tutorials is just fantastic
I just finished my first ever game! I absolutely love having you back and learning game dev from you!! Thank you so much
My man is so goated that eeven after 3 years he instantly gets a sponsor on hís first tutorial video
"First" tutorial video.
@@danylbekhoucha6180 it is his first one after 3 years
@@danylbekhoucha6180 He said "after 3 years".
Instant cringe
Found his KZhead channel when he was already gone, but I'm glad I'll be able to follow him this time
Same. Had notification bell on just in case. And it paid off!
The man, the legend, he has returned!
This is amazing. Not only had I forgotten about this channel, but I started toying with Godot a few months ago and I'm trying to build my project now. Gonna watch all the material you release, so keep it up, keep it hot, and keep it coming!
0:28 Thanks for featuring my game Dig Dig Boom! It's my first Godot project, so goes to show how versatile it is for beginners :)
Mad respect brother 🙏
can you share the link to your game
Your game looks cool, what is the name of that game? I think I would like to play it!
@@cinesutra2430 It's on steam and hopefully will come out end of this year.
@@nickchoi4635 He literally wrote name of his game in his comment :D It's called dig dig boom.
Brackeys tutorials originally got me into gamedev. Now I'm studying gamedev in university. Can't wait for more
Totally new to game development and decided to pick up Godot a couple weeks ago. I was introduced to you as you announced your return, and seeing so many others reacting to your return in a positive way had me excited. I've gone through hours of other KZhead videos, and the way you take those same concepts and communicate them in a simple, understandable way is amazing and so helpful. Love your style and can't wait for more of your content!
I started programming with your Unity tutorials years ago when I still was a kid, and now I'm making a tabletop game for a community in Godot. I'm looking forward to keep learning with your amazing videos. Thanks for what you do, as always!
I LOVE YOU. I started when i was 15 with your tutorials. Im 26 and live as a game developer. I love you so much, you are going to give life and a career to many young ones
Godot solves pretty much all my gripes with the "industry standard" game engines and has actually made me excited about game dev again. Cant wait to see the new wave of creations made with this, and thank you for helping spread the good word!
Exactly the same for me. Godot is brilliant.
Your time is impecable! I was just looking for a tutorial to get started learning Godot and a news article talking about you popped up. This was a great tutorial, and I am really excited to start learning this tool!
Brackeys original videos on how to make games in unity are what got me interested in game dev. I followed all his tutorials and completed a game and added extra stuff to it and had an absolute blast doing it. Im so excited that your are back and your as funny as ever. I really enjoy your videos and you make everything just make sense and they are just enjoyable to watch. Ill be sure to work my way through this tutorial and have a go at making stuff with Godot. Im so happy your back.
I started using godot a week ago, seeing you join the community just as I'm starting is great to a point you can't even fathom! Thank you so much for all the tutorials you'll make!
Dude I am in the exact same boat
lmao. i started using it in a exact same day that tutorial popped off. And i was specifically searching for a Brackeys video. I couldn't believe this :D
I've seen good tutorials, but the production quality of this video is absolutely jaw dropping. Congratulations!
I've watched your tutorials as a teenager and developed small stuff, and here I'm in college now watching you again and learning. Welcome back
This is so nostalgic. I learned Unity through Brackeys and others when I first did game dev and now I've used Godot as my main engine for ~2 years now and seeing Brackeys make videos on it just fills me with so much joy. I really hope this brings others into the Godot ecosystem, we're a super welcoming community and I think Godot is only going to grow better and better
Welcome back, we missed you
Im GenZ and this will be my first project Got recommendations from A LOT KZheadrs
So Great to have you back Brakeys!
The sense of humor never changed, I love it.
Just when we needed him the most. The Hero returned.
But it is useless as no c# 😢😢😢
@@blo0m1985 Bro, i don't know if you are trolling or not since I see your same comment everywhere. This is not Unity, so no C#. You can use C# in Godot but it has limitations. If you want to use Godot with it's full potential you need to use GDScript. Your comment is like saying "useless bcz no C#" when you use Unreal Engine. It just makes no sense. I guess you are a beginner and scared to learn new things. I just want to tell you that you will never be using only one technology if you work as a programmer (if you even want to be a programmer, maybe gamedev is just your hobby idk, i just want to help you). For example, if you work as web dev you will never use only React and Firebase, you will SQL, Mongo db, Flask, Clerk, Stripe, bunch of different APIs that you have never seen before and bunch of other new tech that you have never seen before, so you will need to read the docs and learn by yourself. Limiting to only one technology is nearly impossible in real life bcz it almost impossible to make everything with only one technology. GDscript is much much better than C#, it's litteraly the same as python.
@@blo0m1985godot also support c# if you download the c# edition And godot also support many more languages with gdextension
@@blo0m1985GDScript is easier. And the documentation is amazing too!
@@blo0m1985yes, you can only make games with C#. Do you even listen to yourself?
I never knew brackeys, never watched any game dev content since i got into it last year, but I never felt like starting and dive into this massive world. Your comeback feels like a message to me, thanks!
*If your player sprite jitters after enabling position smoothing on the camera:* Go to Camera2D->Process Callback and change it from Idle->Physics.
thank you bro
That's what I was looking for in the comments. Thank you! How did you catch it? An explanation on the why would be much appreciated!
bang on point, thanks dude
@TprocNet @TprocNet
Nice..! Upvoted
I love how clearly you explain things. I thought I already knew these basics, but I still learned a lot of new details. Either way, hearing it reiterated from you is more encouraging than from any other creator. Looking forward to the rest of the videos!
This is currently the most easiest to follow godot tutorial I've watched. I'm really looking forward to the programming tutorial
The beginning of a new era
Oh My God I enjoyed this tutorial so much. Thank you! I just started my journey with game dev and I did not know Brackeys, but it was always mentioned in the videos I found. I decided to start with Godot and not a month passed and he came back with a new video on Godot. I guess I'm lucky the legend is back.
Great to have Brackeys back. I've been making games as a hobby for 15 years and this video is one of the best intros to game dev I've ever seen. It took me a long time to understand the basics of game development, structure and organization and that struggle resulted in a lot of very messy, barely functional games that were almost impossible to work on. This video nails the fundamentals and how to quickly make a functional game. Awesome stuff!
I can’t explain how happy it makes me to see you back! KZhead was sorely lacking while you were gone, brother! ❤
I don't know what to feel right now. I'm a hardcore Unreal Developer but back when I was studying game design in university I learned how to make games with unity with you. I even used your videos to implement some gamplay mechanics in Unreal Engine. I'm really happy that game development community got you back. And I'm glad you decided to go with Godot. I believe in the goal of Godot. And your videos will help them a lot. (Don't underestimate your impact 😅) With you I will give a second chance to Godot with a hobby project. I used it at least 4 years ago back when they first share their 3D demo project during global game jam that our department hosted.
pretty cool! keep going dude!
I have made a full game (minus assets) in 3 weeks that i had issue after issue with in unreal for almost 12 weeks. As long as your programing is good it is genuinely alot smoother.
@@ghjuyt101 Yeah I don't struggle that much. I directly plan out my systems c++ and blueprints in mind. Good understanding of C++ and how to debug it is what helps you have a smoother experience. Because most of the time the problem caused by a pointer. Blueprints are also in pair with C++ api and they are designed OOP in mind. a good understanding of those concepts wil also help the beginners.
@@PuraTvOyun my ossue has primarily come from unreal not being true to code and having stange conventions that are not always well documented
@@ghjuyt101 I get you. Unreal Engine's C++ is not a pure c++. The intentions and what they did becomes clearer once you learn the design patterns, software development conventions and taking a deeep dive into source code. Most of the documentation you need is in the source code since they use the same api as you do from the almost int WinMain() to the BeginPlay() of your actor.
I used to watch your videos on unity because I wanted to make games, but I never really got the hang of this. I'm really excited to try out Godot because it looks like something I could get the hang of. Glad to have you back Brackeys!
just finished the tutorial and im loving the engine! Im suprised with how intuitive the engine and coding language are, I feel like I've got a decent grasp of the basics now which i can't usually say after other tutorials. It was great and easy to follow, and it was awesome being able to put my own spin on stuff like level design and animations without feeling like im making a mistake. Im really excited to see what you'll put out next relating to Godot
I never clicked on a video so quickly. Great to see the king back in business.
A famous quote springs to mind. What did CJ say back in '04? Ah S***, here we go again! Haha. Welcome back.
The solutions that you come up with for all the problems in game development are very elegant. I appreciate it.
Only watched for around 20 minutes and its for sure well made, its the first time I'm watching brackeys and I like it .
Just when we needed him, **He returned.**
This tutorial is golden 😭 everything sounds so easy and well explained.. I missed your voice brakeys.. God daim..
hahhaha damn emotional, the same bro
One of the most lucid tutorials out there! Kudos to the entire team! Welcome back.
You're back! I always watched your unity tutorials back when you made them, so after my transition to Godot, I'm really excited to see you join the community! Welcome!
right when i get into godot the king comes back. i really hope he doesnt just make a few videos and turns this into a regular thing to help us learn alongside with him. Hopefully there will be some C# stuff too
Awesome tutorial. Here a few tips to ehance the UX a little. 1. In the project settings make sure your physics fps matches your refresh rate. Otherwise there will be jitter. 2. Allow the player to make a jump even shortly after falling down. (50ms felt good to me). I accomplished this by adding a timer on the player and restart it every physics tick, if the player is on the ground. Then allow jumping by allowing the jump if timer.time_left > 0, even if the player isn't on the ground.
I've got a high refresh rate monitor and I was thinking about why was my character jittering, I wasted 10 to 15 minutes until I noticed it was because of my monitors refresh rate but I never found a fix except capping the fps at 60. Seeing your first tip fixed it and gave me a knowledge that I needed and I will never forget. Thanks!
@@onurkorkmaz22 Just to clarify, is this "Physics ticks per second"? (From looking at the Godot documention I get the feeling they renamed it from "Physics FPS".
Hey are you able to provide a little more info on the jump timer? I've had a stab at it but am puzzled how to achieve this so far. What's confusing me is I'm printing the timer and it is either or zero (when reset). I'm expecting it to tick up at least whilst I'm in the air. I tried setting the player way high in the air to see if that made a difference, but the timer still started at . I may simply need to read up on Timers tbh. Edit: Even now I just read the hover-text for Wait Time and it blew my mind, so I think what you're proposing is probably a few steps away from what I can achieve as a beginner.
@@GrumpyStoic You can achieve it as a beginner easily. Add a timer node to the player called Timer, Make sure it's a 1 shot and 0.05 seconds. (50 ms) In the _physics_process function you modify your if is_on_floor() statement like this: if is_on_floor(): $Timer.start() if direction == 0: animated_sprite.play("idle") else: animated_sprite.play("run") else: animated_sprite.play("jump") Last thing you need to change is in if Input.is_action_just_pressed("jump") and is_on_floor(): You need to change it to if Input.is_action_just_pressed("jump") and not $Timer.is_stopped(): That means you'll be able to jump as long as the timer is running instead of as long as you're on the floor. You can probably use a variable and call it something like jump_timer instead of directly referencing the timer if you prefer that but I wanted to make the comment as short as possible haha. Edit: I suppose you technically could spam the jump twice with this functionality within those 50ms, but you can just stop the timer using $Timer.stop() when you do the jump as well.
@@GrumpyStoic Yes, they've renamed it.
Chapeu! This is absolutely top notch quality and probably the very best (free) Godot tutorial out there. Every single click is explained, no magical background things which are not being mentioned because the creator doesn't undestand them himself, perfect order of events. This is just awesome! Thanks!
This is the best game development tutorial I have ever seen! It’s easy to understand,full of details,and considerate for beginners.you are really great!! !
who's cutting onions here? I mean I saw the return video but bro I feel like I went back to those prime days watching his videos and learning new stuff every day. Thank you Brackeys!
Yes! I've decided to switch from unity to godot b/c of the unity stuff awile ago, and you making videos on godot will help me tremendously!
I originally went to unreal and recently moved to godot mid project, almost done with the programing 3 weeks later
I started with your Unity tutorials they were always really helpful. The experience of doing this for so long definitely shows.
Started my game dev journey with you and made my first two games. keep it up!
0:30 So cool to see Windowkill! The most innovative game I've seen, and a great example of how the ability to easily modify the game engine / editor itself is such a powerful tool to have (it is not all vanilla!)
I can't believe how much I've missed this man 🥺
So glad you are back with Godot content! Looking forward to learning again!
amazing tutorial, I have already made some small games on Godot but you taught something that even I didn't know about, and you did that in such a majestic and simple way! Keep it up man! Love from Brazil
Welcome back! I'm only halfway through but kind of love that there's no comparison to Unity features mentioned. I wait for you to say "...like a Prefab in Unity" but it's just not mentioned - it's great! It feels like a standalone Godot tutorial without any knowledge required or referenced from other experiences on other engines. So good! Thank you :)
Years ago when I started learning game development, I wanted to start with Godot because my computer was old and could run Godot more smoothly. However, I struggled a lot due to the lack of Godot tutorials and switched to learning Unity. Beginners these days are so lucky because there are now Brackeys Godot tutorials.
Wow! This nodes and trees explanation is awesome! The script and visual guides combination made the concept so clear!
As someone who have used GODOT for the past years to make games, this video is a great tutorial. It says beginner tutorial, but don't be fooled, to make simples games it doesn't go too far as what was shown. Congratulations Brackeys! I can't wait for the next video!
Just finished the tutorial! Took me 3 hours, really well-paced! ( Using picture-in-picture mode for these tutorials is a life-changer )
can you elaborate on that Picture in Picture feature? is it a youtube thing? how do you do it?
@@andresbocchigliere3227 yes youtube offers a floating button to put PIP into your browser
@@andresbocchigliere3227 It appears as a button whenever I hover on the video [ works on firefox and chromium browsers ], enabling it allows me follow the tutorial whilst having the video overlaid on topping, preventing me from having to switch between windows constantly.
Thank you so much! Soothing voice, organised structure. Glad you’re back:) Can’t wait for the next one.
Hey! I remember watching the good bye video and thinking "it was fun while it lasted". This feels nostalgic. Great video as always!
That was a *really* good tutorial. An hour long, and the time just whizzed by. You and the rest of the team are gems.
Brackeys tutorials allowed me to finish my game dev project during my college days, without his help online I'd probably still at school right now 😂. Glad the KING IS BACK!
the KING HAS RETURNED! thank you SO much for making a godot tutorial. When I learned unity you explained it better than anyone else.
I was a big fan back in the Unity days, swapped to Godot two years ago and still managed to learn a thing or two in this video. Brackeys is the goat :)
BRO, i thought it would be a series, THIS IS WAY BETTER!