I would like to see how to create the characters and other assets you downloaded from scratch if possible. I am a character designer and have some ideas.@@CocoCode
The fact we get rewards for completing each step is amazing, feels like your actually learning and not just a bunch of information thrown at you. this is by far one of, if not the best tutorial i have seen to date.
I've gotta say, after several years of watching game engine development tutorials, this is probably the best one I've ever seen. Seriously. And I'm talking out of hundreds. Excellent job, and thank you for providing this.
To anyone who is getting the unexpected identifier error, you have to add an indent where the code is written so it is in the physics delta class body.
I ran into that mistake too. No joke … I’m using a Mac so I thought it was a software issue… (new to this so…) I ended up deleting all the code and retyped it to a T using the video as reference to make sure there wasn’t any fault on my part. Finally got it working after half an hour … then i found this comment. At least it’s coding practice lol.
Please use indentation (using TAB key on your keyboard - above caps lock) to make code appear the same as on the video. GDScript is a language that works only if the code is properly written and organized
Hi! I just wanted to let you know that I'm thrilled to see such amazing Godot community response under this video, thank you! 🔥 I would like to confirm that *I STARTED WORKING ON PART 2* of this video. I'm planning to release it in the next 2 weeks. *Subscribe to not miss out ❗*
17:00 *_To fix the character automatically switching back to its original not_flipped position:_* if Input.is_action_just_pressed('ui_left'): sprite_2d.flip_h = true if Input.is_action_just_pressed('ui_right'): sprite_2d.flip_h = false
THIS VIDEO IS TOO UNDERRATED. I tried to use that 1 hour "Godot Crash Course for Beginners" tutorial video and it was NOWHERE as considerate and well-edited as this video and I took 4 hours to digest not even a third of it and learned only how to move a tiny character, on a bleak, gray screen. It took me 4 hours to digest this video, and it was much, MUCH more fulfilling and concise. thank you, from the bottom of my heart
I was deciding between these two videos right tf now, literally have the other open in the another tab. Thanks for the comparison I'm going with this one.
@@exoZelia youre welcome! im now 3 more months into developing with godot now, and this video was exactly the thing that got me out of the "confused beginner" phase. i wish you luck on your journey!
Godot 4.2.1 will break your tut @ 4:37, after choosing "new tileset" in the Inspector, Godot won't go to the "Tileset" options at the bottom part of the screen. For first-timers like me, it's odd that the tab's names are not above the content, but in the bottom ruler in UI ( alongside "Output").
When I was able to get my character to walk with my controller, I got very emotional. Thanks for this amazing video! A hug from Brazil! (waiting for part 2)
this is actually the tutorial every beginners need. I've been learning godot for almost 2 weeks and watched every beginners tutorial, but most of them are just " do this and do that " and it feels like I don't learn anything, I just followed it and imitate everything from start to finish, coding is not an issue, godot UI itself is giving me a hard time to learn, but this is different, your explanation and process is very neat and simple,it's like reading a book with a large font size in broad daylight 😂. Hoping and waiting for you part 2 sir, thanks for this tutorial.
I'm someone who's wanting to get into game development, and really thought about Godot as it can export to Android. A lot of other tutorials for Godot are either fast paced, giving too much information for someone new, or not enough information. This tutorial really was at the perfect pace, and the right amount of information for someone new. I loved the idea of mental badges you've given us while you complete a lesson, as we followed along.
I've been looking for a good 2D Godot game tutorial and this is the best one I've seen. You made it so clear to understand and it was in only 20 minutes! Thank you man.
Real good kickstart tutorial! For anyone wondering why their animation only plays a single frame, remember to click the auto-play on load button in the top left of the sprite-frames window. You can see it at 14:10. Missed it the first watch, hope that saves a few minutes of bugfixing
Thank you! How do you get all of the animations to play every frame when they're called, for example, if I copy the video for the jumping animation, it only plays the first frame for my jumping animation ( my jump animation consists of 6 frames)
Answering some common issues I've seen in the comments so far: at 4:30 when selecting a tileset if you are unable to drag and drop the tileset, at the bottom of the screen towards the left you should see a list of menus, make sure you are on TileSet and not TileMap and you will be able to drag and drop the file in. At 16:30 when writing the code to change the character direction if you are getting an error unexpected identifier in class body it is because you have written the code in the wrong place. You need to place the code directly underneath the "move_and_slide" written on line 29/30, make sure that you can see little > symbols when you hit enter linking them to that section of your code. If you paste it outside of that area your code will give you an error and will not work.
I’ve been looking through the comments and it seems like I’m the only person to have this error. I followed everything in the section where he adds the animations, and they still won’t show up in game. I have no idea why.
An alternate code to the flip_h argument to keep it facing the direction pressed is; if velocity.x < 0: sprite_2d.flip_h = true if velocity.x > 0: sprite_2d.flip_h = false This will make it so that if the left key is pressed, that the flip_h is turned on, flipping your direction and keeping it, and only flipping it back to right when the right key is pressed.
That's how I did it too. Edit: I also tried this, which seems to work (substitute animated_sprite_2d for sprite_2d if that's what you have). I have "move left" and "move right" mapped in the Project Settings Input Map. I think this might be better if you want to control your character's direction independent of their velocity, enabling you to have your character bounce left and right off surfaces and keep its original direction until you actually provide an input. if Input.is_action_just_pressed("move left"): animated_sprite_2d.flip_h = true if Input.is_action_just_pressed("move right"): animated_sprite_2d.flip_h = false
These videos are very well edited and I cant wait for more! I tried learning godot a year ago but it failed due to problems I couldnt understand but now I’m back and ready to pursue godot once more. Thanks for the basics and dont push yourself ❤❤
This is the best intro to Godot tutorial I've seen, the organization by chapters makes it very easy to follow. I'm a relatively experienced programmer with some familiarity in unity and I felt the pacing was perfect
Bro you are a talented your way of clarifying and simplifying things is comforting and satisfying ,I actually enjoyed while learning from your tutorials
yeah i agree. Alot of tutorials for coding or anything are very similiar. They're instructional. They're not made by someone who clearly has an eye for editing. :)
This video was very helpful and really motivated me to start my game dev journey! Don’t know if I’ll make it far enough to make anything good, but thanks so much!
So glad I found this tonight. Been wanting to try my hand at making something for years. Last time I made a game it was in machine code on a ZX Spectrum. This tutorial was very easy to follow for someone like me who had never even opened up Godot before. Thank you
A comment for the people who find themselves unable to load the tileset like it's shown in 4:38 : Do as the tutorial says until the point where you have to drag and drop the terrain png. You probably can't because the menu on the bottom looks different. On the bottom of that bottom window thingie you have those different options: Output, Debugger, Audio, Animation, Shader Editor, TileMap. Click on the TileMap. You should be able to continue and drag the terrain png there now.
Finally finished. Was having an issue with tabbing and indentation. Didn't know that was important. Thank you for the video! Can't wait for the next one.
This tutorial was gold when I was seeking silver on RUclips, thank you a lot, and hope you will keep guiding us!!! Also, I love the achievement part of your video, it really motivates
What a fantastic teacher you are. Amazing video format, easily digestible chapters, pats on the back style rewards to keep the student engaged and clear, concise directions... Absolutely loved it
Ive tried a few different beginner tutorials now. This is the first one that didnt leave something minor out and cause me to hit a road block wondering what I did wrong. Awesome tutorial, keep them coming! Look forward to trying part 2 now :D
I am an aspiring software engineer, not a huge gamer but wanted to dip my toes into gameDev. After reading the comments about Unities latest actions I decided to go with Godot. This is so far the best tutorial I’ve found, please make more of these tutorials for Godot. Would like an enemy tutorial for the 2D platformer pls 🙏Thank you
This is awesome to hear! "Software Engineer" Can be a pretty broad term. In fact in parts of Canada recently you cant even use this title without a license!! That aside I am just going to assume python or JavaScript! I am an app/web developer I would defo recommend maybe learning a language before you delve into godot. Maybe someone could weigh in :) But Godot uses its own language (or C# which if you use ignore my whole theory) which is so easy to pickup if you already know a language like javascript or python BUT I would worry for a beginner it would be confusing the other way around! That being said at least you would learn variables, functions, conditionals and loops.
I actually have been learning Python the past year, went back to college in August and learning Java/C++ in school as well. I really like Godots language, it’s very intuitive
Thank you so much, I really had no idea where to start with Godot and your video is exactly what I needed. Also the attention to detail and overall quality of the video is amazing.
The badges are a nice idea. I think you could expand that idea into a larger tutorial website that tracks profile badges. Would love to watch similar video editing style for 2.5D & 3D in Godot -- though I'm usually watching while using Unreal, Godot has a certain charm.
this really helped! I'm a game designer, for 5 years, but I've always been using scratch, and I feel it's been holding me back. I've always wanted to try Godot. Scratch leveled up my logic skills for games, and I already know pixel art... i present... PENGUIN DASH! my first game on Godot, that your tutorial really helped :) thank you
This is THE BEST godot and game dev tutorial ive ever watched.. EVER. I've done hobby game dev for years.. every possible language, every engine tried; few simple games made in pygame or love2d. If you want to save yourself years of headache or pain wanting to learn game dev... (even just to make that simple game project you want) PLEASE for pete sakes follow this video and his content.. This is the fastest way to learn game dev and the simplest trust me.. Truly hope Coco Code will receive game dev rewards in the future for his content.. even as someone with a strong understanding of programming; game engines make life SO much easier..
Just in case anyone for some reason is having the same problem that I was having, if at 16:50 you could not get sprite_2d to pop up as a variable and keep getting the error that an unexpected identifier is in that line, that may be because the because the indentation of the line is missing. Notice the arrow with a line on the left, make sure yours are on the same lines as his. If they are not, just hit tab to indent those lines and sprite_2d should show up as a variable when you type it.
What blew my mind is when I tested my controller inputs, the analog stick automatically had analog movement. The frog moved slowly if I just slightly tilted it. I didn't add any special scripting or anything, I just added the stick inputs to the input map and it just did that by itself.
This video was edited fantastically, good job!!! And thank you for the tutorial, I saw a comment recommending a Part 2 for enemies and that would be fantastic, as I've tried getting my enemy character to follow my main character (like a game of tag) and failed pretty miserably!
I must say this tutorial is very good for: * Beginners *Kids And * ADHD/Autism people like myself Because the badges want me to keep going to collect them all. And what's good is he actually explains what settings to use in the beginning, he compare things symbolic with pictures like the root of the tree etc he uses good visual explaining with camera angles and visual effects like when he explains what the scene window is etc.
As someone with ADHD - can't relate. This feels awful. Pacing is too slow, there are zero explanations as to what's actualyl happening / what you are doing. It's pure monkey see, monkey do like any other youtueb tutorial. I really dislike humans at this point. You see a shiny badge and are all "woah woah me good". Monkey brains much?
all i can say is that this video explains every single component in making a game in which is very helpful for someone who wants to try making a game one of the best tutorial and god-like editing skills
Love the pacing of your tutorials. So much more informative in such a short amount of time. Longer isn't always better and your vids are the perfect balance.
Hi, Im with my sons, 5 years old, and 9 years old, we enjoy a lot, and this afternoon we are going to make our firsts steps thanks of your video. Thanks!!!
I had the same issue but users @RaDaedo and @ChBrahm have pointed out the potential fix. Check to the left of "Var IsLeft" and "Script_2d" to see if there is a little arrow like the rest of the lines of code. If there is not, go to the left and hit "Tab". That might fix it.
So glad I found this tonight. Been wanting to try my hand at making something for years. Last time I made a game it was in machine code on a ZX Spectrum. This tutorial was very easy to follow for someone like me who had never even opened up Godot before. Thank you
17:42 *If your animations don't work as intended try this* if Input.is_action_just_pressed("ui_right"): sprite_2d.animation = "running" if Input.is_action_just_pressed("ui_left"): sprite_2d.animation = "running" if Input.is_action_just_released("ui_right"): sprite_2d.animation = "default" if Input.is_action_just_released("ui_left"): sprite_2d.animation = "default"
I am a senior software developer, Trying to get into game development for the first time, Glad there is C# capabilities!! just wanted to say i was thinking while watching this "why cant all tutorials be this clean" compliments to you sir, ive watched thousands of hours of boring tutorials, your content is fantastic! simple, dense.
receiving an "Error" at the point that I'm adding the final line "sprite_2d.flip_h = isLeft". double checked that all steps leading up to this point have been followed and I'm not sure why I'm getting the error message...
I had the same issue but users @RaDaedo and @ChBrahm have pointed out the potential fix. Check to the left of "Var IsLeft" and "Script_2d" to see if there is a little arrow like the rest of the lines of code. If there is not, go to the left and hit "Tab". That might fix it.
Best Godot tutorial I have found yet. One of the best beginner tutorials for game dev in general in fact. First time I feel like I actually understand what is happening.
I'm having troubles with the collision of the tilesets 11:11 can someone help me please? I did what Coco said, but when i run the code the character keeps falling haha, thanks. pd: I love this tutorials, keep going like this, i love the way you teach!
Thanks a lot. I've been doing a research for several days, where to start. I chose your two videos for several reasons. - Explaining problems brilliantly - Got the same nickname as me :) - Counting on more materials:) Have a nice day!
Thanks for this great tutorial! If you want to permantly face your character in the correct direction, you can do this: if Input.is_action_pressed("left"): sprite_2d.flip_h = true if Input.is_action_pressed("right"): sprite_2d.flip_h = false
Such a neat and tidy, short and educational intro to Godot! I've just come from making a farming simulator using only PyGame for my A-Level school project and now need some more programming to feed my addiction. Thanks for making this sub 1hr intro video it has really helped!
For some reason the sprite_2d.flip_h = isLeft is saying unexpected identifier in class body? I held control and dragged the Sprite2D into the script editor. Not entirely sure the bug here. Otherwise, as a brand new learner, your tutorial is phenomenal.
Hi, had the same issue and the user @litt1epenguin552 gave a solution that worked from me under an another comment, i'll copy paste his response below (all credits to him) Ahoy friend, I had the same problem but I just figured it out. delete the codes on the bottom that he tells you to do (var isLeft = velocity.x < 0, sprite_2d.flip_h = isLeft) hover over "move_and_slide()" click the end of the code then click enter twice. what should happen is should get two spots that should has this " >I " in the beginning of the spots i think clicking tab should also get the ">I " symbol in front of the spots as well ( I hope this helps)
I am having an issue, hoping anyone can help. When I am using 'flip_h' to flip my character, it only flips the image and NOT the collision object. This leads to issues obviously when trying to interact with collectables, enemies, and environment. Can anyone offer advice?
Thank you. This is the first tutorial I've watched and it was very satisfying. I'm new to Godot and game development. I just started to do research on how to learn game development and this video was spot on. (side note: in 16:16 on Mac the "control" key is "command" when dragging the Sprite2D before release the mouse button) As I'm new I wonder where to go next? (waiting for part 2) 😀 I have started preparing for my dream game. The written part is under way, while starting to learn the tools to make it possible. Thank you once again, I subscribed and look forward to learning more from you Coco Code!
Thank you so much, I’ve tried unreal and unity before but unity wouldn’t work and my pc was too bad for unreal so I checked out your video, and now I have my first game, thank you for taking the time to make a quality tutorial for new godot devs
Thank you for this tutorial. When I start new projects, keep trying to run before I can walk, and end up getting lost in the options. So then I have to step back and learn the basics. This video is easy to follow, and makes sense.
When trying to have the character flip following the code @16:57 I am getting the following error and the game won't run with it "Error at (33, 1) : Unexpected "Identifier" in class body." Line 33 corresponds to the 'sprite_2d.flip_h = isLeft' line of code. I also made show to hold ctrl etc when importing the sprite body into the script as instructed so my code mirrors that seen here in the tutorial (I tried with and without holding 'ctrl' to see what difference it made to script/game). Any help appreciated here as I'm sure I'm doing something really stupid somewhere.
Wow! I switched from the Unity game engine to Godot after working with Unity for more than 5 years. After installing Godot it's my first tutorial and it feels super simple and easy to work with Godot compared to Unity. The animation and Input system are super simple.
it seems like i fixed it by doing this: var isleft = velocity.x < 0 if isleft: sprite_2d.flip_h = true else: sprite_2d.flip_h = false Remember to put in the indent blocks (TAB) in the same way as the code above hope it helps :)
If your still having this issue I just figured out how to fix it for my self open the png so you can see what it looks like and drag the image in to the place he dose
I had the same issue but users @RaDaedo and @ChBrahm have pointed out the potential fix. Check to the left of "Var IsLeft" and "Script_2d" sections to see if there is a little arrow like the rest of the lines of code. If there is not, go to the left and hit "Tab". That might fix it.
why is this channel so underrated!!!. the videos are top notch, one of the greatest and valuable, he is consistant , has its own style, and yyet he has at the moment under 50 k subs, thats unacceptable. love your videos
After about *checks notes* 4 hours watching this single video and wrapping my head around mistakes I made changing little things my own way that fucked up the script for 30 minutes, and it was all SO DAMN REWARDING, I forgot how fun learning new things was, I'm looking forward to what will come out from watching this tutorial
I must say... great job man. From all tutorials,your tutorial was best. Easy to follow and explain everything. I like this style like in school, do one part ,and then let kids do other, that style is perfect. Great job again!
*📣Everyone*
*PART 2* IS NOW LIVE: ruclips.net/video/zL__a0Ei6Vs/видео.html ⬅⬅⬅
I was just about to finish this video and realised I needed to learn collectables! Thanks for the tutorials they are really helpful :)
Will there also be a part 3 r will this be the last one?
If part 2 will go well (many people will be interested), why not!
I would like to see how to create the characters and other assets you downloaded from scratch if possible. I am a character designer and have some ideas.@@CocoCode
I have a problem at 16:56 I can't tipe "sprite_2d.flip_h" i don't know why, can you help?
Your motion design skills makes everything very easy to understand,this is by far one of the best tutorial chanel out there
Thank you! I'm doing my best to provide the best quality for this and my other videos 💪
Hey, you can learn more about that in my other video:
ruclips.net/video/RHcHMRUGDHU/видео.htmlsi=m12eEBp3K5WZWB3T&t=694
(timestamp 11:34)
I know!!
I totally agree, animation on video makes learning so much easier
The fact we get rewards for completing each step is amazing, feels like your actually learning and not just a bunch of information thrown at you. this is by far one of, if not the best tutorial i have seen to date.
me who sat here and did nothing:
@@TheDevBugReal same🥲
I've gotta say, after several years of watching game engine development tutorials, this is probably the best one I've ever seen. Seriously. And I'm talking out of hundreds. Excellent job, and thank you for providing this.
To anyone who is getting the unexpected identifier error, you have to add an indent where the code is written so it is in the physics delta class body.
took me a minute to figure it out but thanks a lot man
I ran into that mistake too. No joke … I’m using a Mac so I thought it was a software issue… (new to this so…) I ended up deleting all the code and retyped it to a T using the video as reference to make sure there wasn’t any fault on my part. Finally got it working after half an hour … then i found this comment. At least it’s coding practice lol.
i didnt understand so can you tell it in another way please (i just starded making games)
Please use indentation (using TAB key on your keyboard - above caps lock) to make code appear the same as on the video. GDScript is a language that works only if the code is properly written and organized
@@CocoCode i did it but there is a new error now
Hi! I just wanted to let you know that I'm thrilled to see such amazing Godot community response under this video, thank you! 🔥
I would like to confirm that *I STARTED WORKING ON PART 2* of this video. I'm planning to release it in the next 2 weeks. *Subscribe to not miss out ❗*
i cant put images in godot web editor
Still working on it? Really enjoyed this video and I'm looking forward to the next one.
@@ChainPenguin Yes, I'm planning to release it in the next 2 weeks
God bless you for this video. Its a huge help
When it is coming my friend
17:00 *_To fix the character automatically switching back to its original not_flipped position:_*
if Input.is_action_just_pressed('ui_left'):
sprite_2d.flip_h = true
if Input.is_action_just_pressed('ui_right'):
sprite_2d.flip_h = false
tysm
@@GodSahil im sorry, but im not good, i just started and i have to learn. But thanks for the propose!
@@MarMonooo actually i'm a beginner too just started yesterday
Where in the code does this go, or what does it replace?
@@myshrinkingviolet2 in the physics loop at the bottom with proper identation
THIS VIDEO IS TOO UNDERRATED. I tried to use that 1 hour "Godot Crash Course for Beginners" tutorial video and it was NOWHERE as considerate and well-edited as this video and I took 4 hours to digest not even a third of it and learned only how to move a tiny character, on a bleak, gray screen. It took me 4 hours to digest this video, and it was much, MUCH more fulfilling and concise. thank you, from the bottom of my heart
Agree!
I was deciding between these two videos right tf now, literally have the other open in the another tab. Thanks for the comparison I'm going with this one.
@@exoZelia youre welcome! im now 3 more months into developing with godot now, and this video was exactly the thing that got me out of the "confused beginner" phase. i wish you luck on your journey!
Agreed. This is the ideal tutorial video. That crash course video is torture.
Godot 4.2.1 will break your tut @ 4:37, after choosing "new tileset" in the Inspector, Godot won't go to the "Tileset" options at the bottom part of the screen. For first-timers like me, it's odd that the tab's names are not above the content, but in the bottom ruler in UI ( alongside "Output").
Thanks for pointing that out!
Tysm this was helpful
I'm confused what am I supposed to do
@@lstudios3237 at the bottom of the screen there are a lot of options and if you keep looking you'll find tileset
I was looking for this specific comment, for 4.2.1 thank you
When I was able to get my character to walk with my controller, I got very emotional. Thanks for this amazing video! A hug from Brazil! (waiting for part 2)
mano, brasileiro tem em tudo quanto é canto kkkkkkkk tbm fiquei emocinado quando meu personagem andou
@@slice_of_void Sim kkkk, os videos desse mano são muito bons.
this is actually the tutorial every beginners need. I've been learning godot for almost 2 weeks and watched every beginners tutorial, but most of them are just " do this and do that " and it feels like I don't learn anything, I just followed it and imitate everything from start to finish, coding is not an issue, godot UI itself is giving me a hard time to learn, but this is different, your explanation and process is very neat and simple,it's like reading a book with a large font size in broad daylight 😂. Hoping and waiting for you part 2 sir, thanks for this tutorial.
I'm someone who's wanting to get into game development, and really thought about Godot as it can export to Android.
A lot of other tutorials for Godot are either fast paced, giving too much information for someone new, or not enough information.
This tutorial really was at the perfect pace, and the right amount of information for someone new.
I loved the idea of mental badges you've given us while you complete a lesson, as we followed along.
I've been looking for a good 2D Godot game tutorial and this is the best one I've seen. You made it so clear to understand and it was in only 20 minutes! Thank you man.
Real good kickstart tutorial!
For anyone wondering why their animation only plays a single frame, remember to click the auto-play on load button in the top left of the sprite-frames window. You can see it at 14:10. Missed it the first watch, hope that saves a few minutes of bugfixing
Thanks! In my case i used the .play() and it also worked for me
Thank you so much I was stuck for a while and finally found this divine comment.
Thank you! How do you get all of the animations to play every frame when they're called, for example, if I copy the video for the jumping animation, it only plays the first frame for my jumping animation ( my jump animation consists of 6 frames)
You saved my life
Answering some common issues I've seen in the comments so far:
at 4:30 when selecting a tileset if you are unable to drag and drop the tileset, at the bottom of the screen towards the left you should see a list of menus, make sure you are on TileSet and not TileMap and you will be able to drag and drop the file in.
At 16:30 when writing the code to change the character direction if you are getting an error unexpected identifier in class body it is because you have written the code in the wrong place. You need to place the code directly underneath the "move_and_slide" written on line 29/30, make sure that you can see little > symbols when you hit enter linking them to that section of your code. If you paste it outside of that area your code will give you an error and will not work.
Thank you for this. Should get a pin
I’ve been looking through the comments and it seems like I’m the only person to have this error. I followed everything in the section where he adds the animations, and they still won’t show up in game. I have no idea why.
thank you so much
Thank you so much!!!
The first one didn't work and I'm not seeing anyone's comments about it. Was there another way they fixed it?
An alternate code to the flip_h argument to keep it facing the direction pressed is;
if velocity.x < 0:
sprite_2d.flip_h = true
if velocity.x > 0:
sprite_2d.flip_h = false
This will make it so that if the left key is pressed, that the flip_h is turned on, flipping your direction and keeping it, and only flipping it back to right when the right key is pressed.
ty
Thank you 😊
That's how I did it too.
Edit: I also tried this, which seems to work (substitute animated_sprite_2d for sprite_2d if that's what you have). I have "move left" and "move right" mapped in the Project Settings Input Map.
I think this might be better if you want to control your character's direction independent of their velocity, enabling you to have your character bounce left and right off surfaces and keep its original direction until you actually provide an input.
if Input.is_action_just_pressed("move left"):
animated_sprite_2d.flip_h = true
if Input.is_action_just_pressed("move right"):
animated_sprite_2d.flip_h = false
tysm
These videos are very well edited and I cant wait for more! I tried learning godot a year ago but it failed due to problems I couldnt understand but now I’m back and ready to pursue godot once more. Thanks for the basics and dont push yourself ❤❤
This tutorial is the first to ever make me feel so good and accomplished. It made me feel like a real game dev. Thank you
Very clear, easy to follow, packed with a lot of info in a short, well paced tutorial. Thank you!
Thank you! Hope you learned something and watched the 2nd part as well ;)
This is one of the best and most didactic Godot videos on RUclips. Congratulations for your amazing work.
This tutorial was the best one I've found on YT! Your teaching process is amazing, and I love the badges. Please consider making a top down tutorial!!
This is the best intro to Godot tutorial I've seen, the organization by chapters makes it very easy to follow. I'm a relatively experienced programmer with some familiarity in unity and I felt the pacing was perfect
I really appreciate the feedback! 💙 Also, if you enjoyed this one, the second part is now live on my channel
Bro you are a talented your way of clarifying and simplifying things is comforting and satisfying ,I actually enjoyed while learning from your tutorials
Your editing and style make everything very easy to follow. For someone like me with adhd, its a blessing that keeps me engaged.
yeah i agree. Alot of tutorials for coding or anything are very similiar. They're instructional. They're not made by someone who clearly has an eye for editing. :)
This is literally *THE* best Godot tutorial I have ever found. Thanks!
This video was very helpful and really motivated me to start my game dev journey! Don’t know if I’ll make it far enough to make anything good, but thanks so much!
Thank you! 🔥
Good luck with your projects 🤞
So glad I found this tonight. Been wanting to try my hand at making something for years. Last time I made a game it was in machine code on a ZX Spectrum. This tutorial was very easy to follow for someone like me who had never even opened up Godot before. Thank you
this is rediculously high quality, thanks a ton for the video!!
A comment for the people who find themselves unable to load the tileset like it's shown in 4:38 :
Do as the tutorial says until the point where you have to drag and drop the terrain png. You probably can't because the menu on the bottom looks different. On the bottom of that bottom window thingie you have those different options: Output, Debugger, Audio, Animation, Shader Editor, TileMap. Click on the TileMap. You should be able to continue and drag the terrain png there now.
Thanks!
Thank you.
Finally finished. Was having an issue with tabbing and indentation. Didn't know that was important. Thank you for the video! Can't wait for the next one.
This tutorial was gold when I was seeking silver on RUclips, thank you a lot, and hope you will keep guiding us!!! Also, I love the achievement part of your video, it really motivates
What a fantastic teacher you are. Amazing video format, easily digestible chapters, pats on the back style rewards to keep the student engaged and clear, concise directions... Absolutely loved it
16:00
This video and part 2 are fantastic. So well explained. I really like how you break up new features into a few steps. Keep up the great work!
I can’t even get the green background into the project
Ive tried a few different beginner tutorials now. This is the first one that didnt leave something minor out and cause me to hit a road block wondering what I did wrong. Awesome tutorial, keep them coming! Look forward to trying part 2 now :D
You made a whole game with minimal scripts good job 👍
This was the first tutorial I could follow start to finish and actually understand what I just did. I loved the badge method!
Great video. Feels like a breath of fresh air getting these very in-depth descriptions on every item.
Awaiting for pt 2 😁
OMG Finally Someone who knows How to teach Godot. I Tried for decades to Learn! Ty SO MUCH!!!
How is he dragging tile set to tile map. Iam unable to do that
i cant imagine how much time and efort this video took it was amaizing keep up the good work and i hope to see a part 2 for this
man your your way of teaching is million time better than others.tanks man.
I am an aspiring software engineer, not a huge gamer but wanted to dip my toes into gameDev. After reading the comments about Unities latest actions I decided to go with Godot. This is so far the best tutorial I’ve found, please make more of these tutorials for Godot. Would like an enemy tutorial for the 2D platformer pls 🙏Thank you
This is awesome to hear! "Software Engineer" Can be a pretty broad term. In fact in parts of Canada recently you cant even use this title without a license!! That aside I am just going to assume python or JavaScript! I am an app/web developer I would defo recommend maybe learning a language before you delve into godot. Maybe someone could weigh in :) But Godot uses its own language (or C# which if you use ignore my whole theory) which is so easy to pickup if you already know a language like javascript or python BUT I would worry for a beginner it would be confusing the other way around! That being said at least you would learn variables, functions, conditionals and loops.
I actually have been learning Python the past year, went back to college in August and learning Java/C++ in school as well. I really like Godots language, it’s very intuitive
Thank you so much, I really had no idea where to start with Godot and your video is exactly what I needed. Also the attention to detail and overall quality of the video is amazing.
The badges are a nice idea. I think you could expand that idea into a larger tutorial website that tracks profile badges. Would love to watch similar video editing style for 2.5D & 3D in Godot -- though I'm usually watching while using Unreal, Godot has a certain charm.
The badges idea is crazy original...
this really helped! I'm a game designer, for 5 years, but I've always been using scratch, and I feel it's been holding me back. I've always wanted to try Godot. Scratch leveled up my logic skills for games, and I already know pixel art... i present... PENGUIN DASH! my first game on Godot, that your tutorial really helped :) thank you
The juiciest videos and thumbnails in the game.
This is THE BEST godot and game dev tutorial ive ever watched.. EVER.
I've done hobby game dev for years.. every possible language, every engine tried; few simple games made in pygame or love2d.
If you want to save yourself years of headache or pain wanting to learn game dev... (even just to make that simple game project you want) PLEASE for pete sakes follow this video and his content..
This is the fastest way to learn game dev and the simplest trust me..
Truly hope Coco Code will receive game dev rewards in the future for his content.. even as someone with a strong understanding of programming; game engines make life SO much easier..
Just in case anyone for some reason is having the same problem that I was having, if at 16:50 you could not get sprite_2d to pop up as a variable and keep getting the error that an unexpected identifier is in that line, that may be because the because the indentation of the line is missing. Notice the arrow with a line on the left, make sure yours are on the same lines as his. If they are not, just hit tab to indent those lines and sprite_2d should show up as a variable when you type it.
Thank you!
THANK U VERY MUCH
Thank you!
What blew my mind is when I tested my controller inputs, the analog stick automatically had analog movement. The frog moved slowly if I just slightly tilted it. I didn't add any special scripting or anything, I just added the stick inputs to the input map and it just did that by itself.
This video was edited fantastically, good job!!! And thank you for the tutorial, I saw a comment recommending a Part 2 for enemies and that would be fantastic, as I've tried getting my enemy character to follow my main character (like a game of tag) and failed pretty miserably!
the BTD6 pf pic ? Sooooo good
@@pronatea1453 Haha thank you, I'm a BTD6 RUclipsr.
This is hands down the cleanest, quickets 'build your first game 'tutorial' I've seen. Great work.
I must say this tutorial is very good for:
* Beginners
*Kids
And
* ADHD/Autism people like myself
Because the badges want me to keep going to collect them all. And what's good is he actually explains what settings to use in the beginning, he compare things symbolic with pictures like the root of the tree etc he uses good visual explaining with camera angles and visual effects like when he explains what the scene window is etc.
how da fuh do i fix the unexpected identifier thing
i have same problem@@garythepigeon8600
As someone with ADHD - can't relate. This feels awful. Pacing is too slow, there are zero explanations as to what's actualyl happening / what you are doing. It's pure monkey see, monkey do like any other youtueb tutorial. I really dislike humans at this point. You see a shiny badge and are all "woah woah me good". Monkey brains much?
all i can say is that this video explains every single component in making a game in which is very helpful for someone who wants to try making a game
one of the best tutorial and god-like editing skills
notch quality video as always
wtf mr trupen is a game dev as well
jumpscare
I now have ptsd from Factorio Thanks
Love the pacing of your tutorials. So much more informative in such a short amount of time. Longer isn't always better and your vids are the perfect balance.
In the new version, you're not directly on the right tab, so you need to go to "tile set" to add the terrain.
This is the best Tutorial I have ever seen! Not just for Godot, for ANYTHING EVER. Thank you so much for this absolute perfect introduction to Godot
Thank you! Be sure to check out part 2 on my channel ;)
Would love to see a tutorial for transitioning between levels
Hi, Im with my sons, 5 years old, and 9 years old, we enjoy a lot, and this afternoon we are going to make our firsts steps thanks of your video. Thanks!!!
That’s amazing 💙 Have fun!
the code isn't working when i type in sprite_2d.flip_h = isleft and my game screen is just black
same
yes, just says unepected "identifier" in class body in red under the script
I had the same issue but users @RaDaedo and @ChBrahm have pointed out the potential fix.
Check to the left of "Var IsLeft" and "Script_2d" to see if there is a little arrow like the rest of the lines of code. If there is not, go to the left and hit "Tab". That might fix it.
@@Hyperdisk thank you
So glad I found this tonight. Been wanting to try my hand at making something for years. Last time I made a game it was in machine code on a ZX Spectrum. This tutorial was very easy to follow for someone like me who had never even opened up Godot before. Thank you
17:42 *If your animations don't work as intended try this*
if Input.is_action_just_pressed("ui_right"):
sprite_2d.animation = "running"
if Input.is_action_just_pressed("ui_left"):
sprite_2d.animation = "running"
if Input.is_action_just_released("ui_right"):
sprite_2d.animation = "default"
if Input.is_action_just_released("ui_left"):
sprite_2d.animation = "default"
Noice, I want more videos like this 😍, Keep it up
I am a senior software developer, Trying to get into game development for the first time, Glad there is C# capabilities!! just wanted to say i was thinking while watching this "why cant all tutorials be this clean" compliments to you sir, ive watched thousands of hours of boring tutorials, your content is fantastic! simple, dense.
receiving an "Error" at the point that I'm adding the final line "sprite_2d.flip_h = isLeft". double checked that all steps leading up to this point have been followed and I'm not sure why I'm getting the error message...
same
Same
I had the same issue but users @RaDaedo and @ChBrahm have pointed out the potential fix.
Check to the left of "Var IsLeft" and "Script_2d" to see if there is a little arrow like the rest of the lines of code. If there is not, go to the left and hit "Tab". That might fix it.
Thank you so much! Awesome tutorial 🎉
Best tutorial ive seen on anything. Not kidding. This is great
This is really the best Tutorial for Godot on YT right now! Thank you so much, I learned many cool things.
man now the tile set one is not working
the editing on this is insane literally the best video to learn
Quick tip -
If you're on mac, at 16:18 instead of control, hold down command!
Thanks for covering Godot. there are a large number of new Godot users, myself included... who needed more tutorials 😍
Best Godot tutorial I have found yet. One of the best beginner tutorials for game dev in general in fact. First time I feel like I actually understand what is happening.
I'm having troubles with the collision of the tilesets 11:11 can someone help me please? I did what Coco said, but when i run the code the character keeps falling haha, thanks.
pd: I love this tutorials, keep going like this, i love the way you teach!
Thanks a lot.
I've been doing a research for several days, where to start. I chose your two videos for several reasons.
- Explaining problems brilliantly
- Got the same nickname as me :)
- Counting on more materials:)
Have a nice day!
Thanks for this great tutorial!
If you want to permantly face your character in the correct direction, you can do this:
if Input.is_action_pressed("left"):
sprite_2d.flip_h = true
if Input.is_action_pressed("right"):
sprite_2d.flip_h = false
Hi, hope you are well! Where should I insert this line of code?
Such a neat and tidy, short and educational intro to Godot!
I've just come from making a farming simulator using only PyGame for my A-Level school project and now need some more programming to feed my addiction. Thanks for making this sub 1hr intro video it has really helped!
For some reason the sprite_2d.flip_h = isLeft is saying unexpected identifier in class body? I held control and dragged the Sprite2D into the script editor. Not entirely sure the bug here. Otherwise, as a brand new learner, your tutorial is phenomenal.
Hi, had the same issue and the user @litt1epenguin552 gave a solution that worked from me under an another comment, i'll copy paste his response below (all credits to him)
Ahoy friend, I had the same problem but I just figured it out. delete the codes on the bottom that he tells you to do (var isLeft = velocity.x < 0, sprite_2d.flip_h = isLeft) hover over "move_and_slide()" click the end of the code then click enter twice. what should happen is should get two spots that should has this " >I " in the beginning of the spots
i think clicking tab should also get the ">I " symbol in front of the spots as well
( I hope this helps)
For those surfing comments looking for the answer: make sure those 2 lines are inside of _physics_process(delta)
just in case anyone else do the same as i did : don't forget to reference the object like it is said at 16:10, otherwise the code won't work
I've watched tons of godot videos but i felt like i actually learnt something with this one! thank you Coco
I am having an issue, hoping anyone can help. When I am using 'flip_h' to flip my character, it only flips the image and NOT the collision object. This leads to issues obviously when trying to interact with collectables, enemies, and environment. Can anyone offer advice?
Thank you. This is the first tutorial I've watched and it was very satisfying. I'm new to Godot and game development. I just started to do research on how to learn game development and this video was spot on. (side note: in 16:16 on Mac the "control" key is "command" when dragging the Sprite2D before release the mouse button)
As I'm new I wonder where to go next? (waiting for part 2) 😀
I have started preparing for my dream game. The written part is under way, while starting to learn the tools to make it possible.
Thank you once again, I subscribed and look forward to learning more from you Coco Code!
2:39 how do i put my background image in??
IDK I CANT DO IT
Yeah me too
Facts idk why he dident show us
Just open the image in your normal file explorer and the drag it into Godot
@@harikrishnanks9366 I tried to but it shows a cross symbol
Thank you so much, I’ve tried unreal and unity before but unity wouldn’t work and my pc was too bad for unreal so I checked out your video, and now I have my first game, thank you for taking the time to make a quality tutorial for new godot devs
Thank you for this tutorial. When I start new projects, keep trying to run before I can walk, and end up getting lost in the options. So then I have to step back and learn the basics. This video is easy to follow, and makes sense.
When trying to have the character flip following the code @16:57 I am getting the following error and the game won't run with it "Error at (33, 1) : Unexpected "Identifier" in class body." Line 33 corresponds to the 'sprite_2d.flip_h = isLeft' line of code. I also made show to hold ctrl etc when importing the sprite body into the script as instructed so my code mirrors that seen here in the tutorial (I tried with and without holding 'ctrl' to see what difference it made to script/game). Any help appreciated here as I'm sure I'm doing something really stupid somewhere.
I'm getting the exact same error. Did you figure it out?
me to@@CT2507
i pressed tab before the last line of code he writes and it worked@@CT2507
Me too. I can´t seem to find what the problem is
Figured it out. need to press tab to add an indent (little arrow at the left of your line)
Wow! I switched from the Unity game engine to Godot after working with Unity for more than 5 years. After installing Godot it's my first tutorial and it feels super simple and easy to work with Godot compared to Unity. The animation and Input system are super simple.
Is this outdated the “sprite_2d.flip_h = is left” it’s saying it’s an error
yeah i get the same problem
it seems like i fixed it by doing this:
var isleft = velocity.x < 0
if isleft:
sprite_2d.flip_h = true
else:
sprite_2d.flip_h = false
Remember to put in the indent blocks (TAB) in the same way as the code above
hope it helps :)
@@Banansko.23 thanks ill try it!
just in case anyone else do the same as i did : don't forget to reference the object like it is said at 16:10, otherwise the code won't work
This video gave me more confidence than the HOURS spent on other learning platforms. Thank you!
i cant add background :(
Me too
If your still having this issue I just figured out how to fix it for my self open the png so you can see what it looks like and drag the image in to the place he dose
I love this tutorial, i think that the badges thing is very cool
This tutorial is pretty outdated, needed to find workarounds becuse of GoDot updates, the scripting section was especially frustrating.
Man this is great! I will be keeping an eye out on all future godot videos you post this was top notch with out a doubt.
at 16:58 im stuck as it keeps saying unexpected "identifier" what do i do to fix this
me too!
@@HunyBread_ Same
@@marius3020 same
@@adantesarcade same
I had the same issue but users @RaDaedo and @ChBrahm have pointed out the potential fix.
Check to the left of "Var IsLeft" and "Script_2d" sections to see if there is a little arrow like the rest of the lines of code. If there is not, go to the left and hit "Tab". That might fix it.
This is the best tutorial I seen for making your first game. I eagerly await more guides!
why is this channel so underrated!!!. the videos are top notch, one of the greatest and valuable, he is consistant , has its own style, and yyet he has at the moment under 50 k subs, thats unacceptable.
love your videos
You anemaitoin skills helped me a lot especially for my Godot combat game.
After about *checks notes* 4 hours watching this single video and wrapping my head around mistakes I made changing little things my own way that fucked up the script for 30 minutes, and it was all SO DAMN REWARDING, I forgot how fun learning new things was, I'm looking forward to what will come out from watching this tutorial
I must say... great job man. From all tutorials,your tutorial was best. Easy to follow and explain everything. I like this style like in school, do one part ,and then let kids do other, that style is perfect. Great job again!
I think you are the best tutorial youthuber I have ever watched plus this video is a masterpiece
Visualizing the process with animations is considered a quality content in my book.
*subscribed*