Start Your Game Creation Journey Today! (Godot beginner tutorial)

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

Комментарии • 1,5 тыс.

  • @CocoCode
    @CocoCode  11 месяцев назад +126

    *📣Everyone*
    *PART 2* IS NOW LIVE: ruclips.net/video/zL__a0Ei6Vs/видео.html ⬅⬅⬅

    • @GX_Ethernal
      @GX_Ethernal 11 месяцев назад +4

      I was just about to finish this video and realised I needed to learn collectables! Thanks for the tutorials they are really helpful :)

    • @Lama_Home
      @Lama_Home 11 месяцев назад +1

      Will there also be a part 3 r will this be the last one?

    • @CocoCode
      @CocoCode  11 месяцев назад +9

      If part 2 will go well (many people will be interested), why not!

    • @blerdstatic8187
      @blerdstatic8187 10 месяцев назад

      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

    • @dragofight9802
      @dragofight9802 10 месяцев назад +5

      I have a problem at 16:56 I can't tipe "sprite_2d.flip_h" i don't know why, can you help?

  • @ruandavi2536
    @ruandavi2536 Год назад +565

    Your motion design skills makes everything very easy to understand,this is by far one of the best tutorial chanel out there

    • @CocoCode
      @CocoCode  Год назад +27

      Thank you! I'm doing my best to provide the best quality for this and my other videos 💪

    • @CocoCode
      @CocoCode  Год назад +11

      Hey, you can learn more about that in my other video:
      ruclips.net/video/RHcHMRUGDHU/видео.htmlsi=m12eEBp3K5WZWB3T&t=694
      (timestamp 11:34)

    • @TraxilGames
      @TraxilGames 11 месяцев назад +2

      I know!!

    • @cyberninja80
      @cyberninja80 9 месяцев назад +1

      I totally agree, animation on video makes learning so much easier

  • @fenikzart
    @fenikzart 10 месяцев назад +239

    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.

    • @TheDevBugReal
      @TheDevBugReal 8 месяцев назад +13

      me who sat here and did nothing:

    • @KT24-c6f
      @KT24-c6f 4 месяца назад

      @@TheDevBugReal same🥲

  • @nickcomposer
    @nickcomposer 11 месяцев назад +52

    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.

  • @WeeGerGai
    @WeeGerGai 11 месяцев назад +475

    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.

    • @TChat_
      @TChat_ 11 месяцев назад +16

      took me a minute to figure it out but thanks a lot man

    • @deathcountgaming8584
      @deathcountgaming8584 11 месяцев назад +17

      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.

    • @jibakushounenhanakokun0
      @jibakushounenhanakokun0 11 месяцев назад +12

      i didnt understand so can you tell it in another way please (i just starded making games)

    • @CocoCode
      @CocoCode  11 месяцев назад +79

      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

    • @jibakushounenhanakokun0
      @jibakushounenhanakokun0 11 месяцев назад +11

      @@CocoCode i did it but there is a new error now

  • @CocoCode
    @CocoCode  Год назад +167

    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 ❗*

    • @TinTin_games
      @TinTin_games Год назад +1

      i cant put images in godot web editor

    • @ChainPenguin
      @ChainPenguin Год назад +1

      Still working on it? Really enjoyed this video and I'm looking forward to the next one.

    • @CocoCode
      @CocoCode  Год назад +7

      @@ChainPenguin Yes, I'm planning to release it in the next 2 weeks

    • @TryShock
      @TryShock Год назад +3

      God bless you for this video. Its a huge help

    • @oguzhan44377
      @oguzhan44377 11 месяцев назад

      When it is coming my friend

  • @GodSahil
    @GodSahil 10 месяцев назад +244

    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

    • @MarMonooo
      @MarMonooo 10 месяцев назад +4

      tysm

    • @MarMonooo
      @MarMonooo 10 месяцев назад +9

      @@GodSahil im sorry, but im not good, i just started and i have to learn. But thanks for the propose!

    • @GodSahil
      @GodSahil 10 месяцев назад +3

      @@MarMonooo actually i'm a beginner too just started yesterday

    • @myshrinkingviolet2
      @myshrinkingviolet2 10 месяцев назад +3

      Where in the code does this go, or what does it replace?

    • @GodSahil
      @GodSahil 10 месяцев назад +3

      @@myshrinkingviolet2 in the physics loop at the bottom with proper identation

  • @daveroll6463
    @daveroll6463 Год назад +99

    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

    • @alan112223
      @alan112223 9 месяцев назад +1

      Agree!

    • @exoZelia
      @exoZelia 9 месяцев назад

      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.

    • @daveroll6463
      @daveroll6463 9 месяцев назад +1

      @@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!

    • @ailives
      @ailives 8 месяцев назад

      Agreed. This is the ideal tutorial video. That crash course video is torture.

  • @cesarsfalcao
    @cesarsfalcao 10 месяцев назад +68

    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").

    • @CocoCode
      @CocoCode  10 месяцев назад +9

      Thanks for pointing that out!

    • @GamingWalter
      @GamingWalter 10 месяцев назад +4

      Tysm this was helpful

    • @lstudios3237
      @lstudios3237 9 месяцев назад +4

      I'm confused what am I supposed to do

    • @GamingWalter
      @GamingWalter 9 месяцев назад

      @@lstudios3237 at the bottom of the screen there are a lot of options and if you keep looking you'll find tileset

    • @Yamikani
      @Yamikani 8 месяцев назад +2

      I was looking for this specific comment, for 4.2.1 thank you

  • @Tetony_yz
    @Tetony_yz Год назад +41

    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)

    • @slice_of_void
      @slice_of_void 6 месяцев назад

      mano, brasileiro tem em tudo quanto é canto kkkkkkkk tbm fiquei emocinado quando meu personagem andou

    • @Tetony_yz
      @Tetony_yz 6 месяцев назад +1

      @@slice_of_void Sim kkkk, os videos desse mano são muito bons.

  • @Arkelo_CG
    @Arkelo_CG Год назад +18

    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.

  • @gregoryam
    @gregoryam 11 месяцев назад +18

    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.

  • @geotheonic
    @geotheonic Год назад +16

    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.

  • @lesliecrooks38
    @lesliecrooks38 10 месяцев назад +12

    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

    • @miguelpinto5018
      @miguelpinto5018 9 месяцев назад

      Thanks! In my case i used the .play() and it also worked for me

    • @henryxXfun_timesXx
      @henryxXfun_timesXx 8 месяцев назад +1

      Thank you so much I was stuck for a while and finally found this divine comment.

    • @saayammehmood9299
      @saayammehmood9299 7 месяцев назад

      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)

    • @ElectricBlueElectrum
      @ElectricBlueElectrum 2 месяца назад

      You saved my life

  • @Ketsuegg
    @Ketsuegg 6 месяцев назад +33

    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.

    • @kidboy33
      @kidboy33 5 месяцев назад +1

      Thank you for this. Should get a pin

    • @Pyronic_
      @Pyronic_ 3 месяца назад

      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.

    • @wwemoments7281
      @wwemoments7281 2 месяца назад

      thank you so much

    • @oobbbear
      @oobbbear 2 месяца назад

      Thank you so much!!!

    • @Lilly.C2001
      @Lilly.C2001 Месяц назад +1

      The first one didn't work and I'm not seeing anyone's comments about it. Was there another way they fixed it?

  • @TheAnonymousLemur
    @TheAnonymousLemur 9 месяцев назад +30

    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.

    • @orang3819
      @orang3819 9 месяцев назад

      ty

    • @outtapocketcriminal
      @outtapocketcriminal 7 месяцев назад

      Thank you 😊

    • @bosneb
      @bosneb 2 месяца назад

      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

    • @Iettuce1
      @Iettuce1 7 дней назад

      tysm

  • @RaulCreede
    @RaulCreede Год назад +14

    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 ❤❤

  • @rxrgamez
    @rxrgamez 8 месяцев назад +6

    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

  • @aBigWhiteBear
    @aBigWhiteBear 9 месяцев назад +4

    Very clear, easy to follow, packed with a lot of info in a short, well paced tutorial. Thank you!

    • @CocoCode
      @CocoCode  8 месяцев назад

      Thank you! Hope you learned something and watched the 2nd part as well ;)

  • @guilhermebiolchi1179
    @guilhermebiolchi1179 Год назад +8

    This is one of the best and most didactic Godot videos on RUclips. Congratulations for your amazing work.

  • @tonymorris3935
    @tonymorris3935 Год назад +12

    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!!

  • @Xorked
    @Xorked 11 месяцев назад +3

    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

    • @CocoCode
      @CocoCode  11 месяцев назад +1

      I really appreciate the feedback! 💙 Also, if you enjoyed this one, the second part is now live on my channel

  • @aliczar4028
    @aliczar4028 9 месяцев назад +2

    Bro you are a talented your way of clarifying and simplifying things is comforting and satisfying ,I actually enjoyed while learning from your tutorials

  • @Zeresrail
    @Zeresrail 11 месяцев назад +5

    Your editing and style make everything very easy to follow. For someone like me with adhd, its a blessing that keeps me engaged.

    • @OB.x
      @OB.x 11 месяцев назад

      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. :)

  • @ObamaBinLaden525
    @ObamaBinLaden525 10 месяцев назад +5

    This is literally *THE* best Godot tutorial I have ever found. Thanks!

  • @blyndeaf8503
    @blyndeaf8503 7 месяцев назад +7

    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!

    • @CocoCode
      @CocoCode  7 месяцев назад +1

      Thank you! 🔥
      Good luck with your projects 🤞

  • @ReadyPlayerPoet
    @ReadyPlayerPoet 11 месяцев назад +5

    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

  • @lucidvoid2528
    @lucidvoid2528 10 месяцев назад +3

    this is rediculously high quality, thanks a ton for the video!!

  • @varflock9777
    @varflock9777 2 месяца назад +6

    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.

  • @ripdoxyyy
    @ripdoxyyy 11 месяцев назад +3

    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.

  • @hohlnd
    @hohlnd Год назад +4

    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

  • @NewtonPlays
    @NewtonPlays Год назад +7

    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

  • @spilth
    @spilth 9 месяцев назад +2

    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!

  • @Somali_Salamander
    @Somali_Salamander 3 месяца назад +13

    I can’t even get the green background into the project

  • @Voltaictv
    @Voltaictv 10 месяцев назад +2

    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

  • @10minuteartist87
    @10minuteartist87 Год назад +6

    You made a whole game with minimal scripts good job 👍

  • @vryxiaz
    @vryxiaz 11 месяцев назад +1

    This was the first tutorial I could follow start to finish and actually understand what I just did. I loved the badge method!

  • @BurnerClipacc
    @BurnerClipacc 11 месяцев назад +5

    Great video. Feels like a breath of fresh air getting these very in-depth descriptions on every item.
    Awaiting for pt 2 😁

  • @ASYU56
    @ASYU56 11 месяцев назад +2

    OMG Finally Someone who knows How to teach Godot. I Tried for decades to Learn! Ty SO MUCH!!!

    • @Anakin.xx1
      @Anakin.xx1 8 месяцев назад

      How is he dragging tile set to tile map. Iam unable to do that

  • @woff5
    @woff5 Год назад +6

    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

  • @tanjibulanimations5653
    @tanjibulanimations5653 11 месяцев назад +2

    man your your way of teaching is million time better than others.tanks man.

  • @victorpalacios8379
    @victorpalacios8379 Год назад +23

    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

    • @ExiledDelver
      @ExiledDelver Год назад +1

      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.

    • @victorpalacios8379
      @victorpalacios8379 Год назад +2

      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

  • @albo4936
    @albo4936 10 месяцев назад +2

    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.

  • @dweezo2175
    @dweezo2175 11 месяцев назад +30

    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.

    • @tommovchan9783
      @tommovchan9783 11 месяцев назад

      The badges idea is crazy original...

  • @Dev_6320
    @Dev_6320 16 дней назад

    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

  • @Tarodev
    @Tarodev Год назад +4

    The juiciest videos and thumbnails in the game.

  • @Abacoot
    @Abacoot 3 месяца назад

    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..

  • @RaDaedo
    @RaDaedo 6 месяцев назад +9

    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.

    • @DecayB.
      @DecayB. 4 месяца назад +1

      Thank you!

    • @Wow-bz8ys
      @Wow-bz8ys 2 месяца назад

      THANK U VERY MUCH

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

      Thank you!

  • @gregorymirabella1423
    @gregorymirabella1423 7 месяцев назад +2

    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.

  • @MarquisTD6
    @MarquisTD6 Год назад +4

    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!

    • @pronatea1453
      @pronatea1453 4 месяца назад

      the BTD6 pf pic ? Sooooo good

    • @MarquisTD6
      @MarquisTD6 4 месяца назад

      @@pronatea1453 Haha thank you, I'm a BTD6 RUclipsr.

  • @thomasjamesyyz
    @thomasjamesyyz 5 месяцев назад

    This is hands down the cleanest, quickets 'build your first game 'tutorial' I've seen. Great work.

  • @Shadowthevampire
    @Shadowthevampire 10 месяцев назад +41

    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.

    • @garythepigeon8600
      @garythepigeon8600 10 месяцев назад +2

      how da fuh do i fix the unexpected identifier thing

    • @copper_fox7415
      @copper_fox7415 9 месяцев назад

      i have same problem@@garythepigeon8600

    • @lukasz96
      @lukasz96 7 месяцев назад

      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?

  • @chidorimayu2089
    @chidorimayu2089 11 месяцев назад +1

    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

  • @Trupen
    @Trupen Год назад +3

    notch quality video as always

  • @ZyncInteractive
    @ZyncInteractive 3 месяца назад

    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.

  • @tyuioppoiuyt9998
    @tyuioppoiuyt9998 6 месяцев назад +3

    In the new version, you're not directly on the right tab, so you need to go to "tile set" to add the terrain.

  • @MatteoIstNichtDa
    @MatteoIstNichtDa 11 месяцев назад +1

    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

    • @CocoCode
      @CocoCode  11 месяцев назад

      Thank you! Be sure to check out part 2 on my channel ;)

  • @degariuslozak2169
    @degariuslozak2169 Год назад +5

    Would love to see a tutorial for transitioning between levels

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

    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!!!

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

      That’s amazing 💙 Have fun!

  • @RogelioGonzalezcruz-mv4cg
    @RogelioGonzalezcruz-mv4cg 9 месяцев назад +7

    the code isn't working when i type in sprite_2d.flip_h = isleft and my game screen is just black

    • @AirspaceSlayers
      @AirspaceSlayers 9 месяцев назад

      same

    • @SergioapjChannel
      @SergioapjChannel 5 месяцев назад

      yes, just says unepected "identifier" in class body in red under the script

    • @Hyperdisk
      @Hyperdisk 2 месяца назад +1

      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.

    • @RogelioGonzalezcruz-mv4cg
      @RogelioGonzalezcruz-mv4cg 2 месяца назад

      @@Hyperdisk thank you

  • @AaliyahMorris-ly8uw
    @AaliyahMorris-ly8uw 9 месяцев назад

    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

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

    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"

  • @HDMentor
    @HDMentor Год назад +5

    Noice, I want more videos like this 😍, Keep it up

  • @osknyo
    @osknyo 9 месяцев назад

    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.

  • @kenshinhimura6366
    @kenshinhimura6366 8 месяцев назад +5

    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...

    • @OlisUnBolis
      @OlisUnBolis 8 месяцев назад

      same

    • @BLOODYT558
      @BLOODYT558 4 месяца назад

      Same

    • @Hyperdisk
      @Hyperdisk 2 месяца назад

      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.

  • @GoofyBoothGames
    @GoofyBoothGames 7 дней назад +1

    Thank you so much! Awesome tutorial 🎉

  • @CoolStop
    @CoolStop 11 месяцев назад +5

    Best tutorial ive seen on anything. Not kidding. This is great

  • @monsieurpotato
    @monsieurpotato Год назад +1

    This is really the best Tutorial for Godot on YT right now! Thank you so much, I learned many cool things.

  • @pratapgorde400
    @pratapgorde400 2 месяца назад +5

    man now the tile set one is not working

  • @middlepyke
    @middlepyke 9 месяцев назад +1

    the editing on this is insane literally the best video to learn

  • @ughCraze
    @ughCraze 8 месяцев назад +9

    Quick tip -
    If you're on mac, at 16:18 instead of control, hold down command!

  • @Marandal
    @Marandal Год назад +1

    Thanks for covering Godot. there are a large number of new Godot users, myself included... who needed more tutorials 😍

  • @PanzerSparrow
    @PanzerSparrow Год назад

    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.

  • @Skycito23
    @Skycito23 2 месяца назад +4

    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!

  • @czesc_xyz
    @czesc_xyz 8 месяцев назад

    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!

  • @Buzz-Entertainment
    @Buzz-Entertainment 11 месяцев назад +8

    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

    • @itstiagopereira
      @itstiagopereira 11 месяцев назад

      Hi, hope you are well! Where should I insert this line of code?

  • @thetrappyteapot5278
    @thetrappyteapot5278 9 месяцев назад

    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!

  • @Stroon92
    @Stroon92 Год назад +5

    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.

    • @A-I-mage
      @A-I-mage 11 месяцев назад

      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)

    • @chumpenator
      @chumpenator 8 месяцев назад

      For those surfing comments looking for the answer: make sure those 2 lines are inside of _physics_process(delta)

    • @Badbufon
      @Badbufon 7 месяцев назад

      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

  • @LowwwZ
    @LowwwZ 9 месяцев назад

    I've watched tons of godot videos but i felt like i actually learnt something with this one! thank you Coco

  • @antattackBAM
    @antattackBAM 9 месяцев назад +4

    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?

  • @itstiagopereira
    @itstiagopereira 11 месяцев назад +1

    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!

  • @Da_Orange_Man
    @Da_Orange_Man 6 месяцев назад +8

    2:39 how do i put my background image in??

    • @funneldude524
      @funneldude524 4 месяца назад

      IDK I CANT DO IT

    • @DonnicoWilliams-br3dr
      @DonnicoWilliams-br3dr 2 месяца назад

      Yeah me too

    • @Stikerboy1
      @Stikerboy1 2 месяца назад +1

      Facts idk why he dident show us

    • @harikrishnanks9366
      @harikrishnanks9366 2 месяца назад +2

      Just open the image in your normal file explorer and the drag it into Godot

    • @Da_Orange_Man
      @Da_Orange_Man 2 месяца назад

      @@harikrishnanks9366 I tried to but it shows a cross symbol

  • @zackayala1655
    @zackayala1655 7 месяцев назад

    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

  • @JadeyCatgirl99
    @JadeyCatgirl99 3 месяца назад

    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.

  • @YummiestOrphan
    @YummiestOrphan 9 месяцев назад +4

    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.

    • @CT2507
      @CT2507 9 месяцев назад

      I'm getting the exact same error. Did you figure it out?

    • @AirspaceSlayers
      @AirspaceSlayers 9 месяцев назад

      me to@@CT2507

    • @Reddevil-vg3ty
      @Reddevil-vg3ty 8 месяцев назад

      i pressed tab before the last line of code he writes and it worked@@CT2507

    • @ChBrahm
      @ChBrahm 8 месяцев назад

      Me too. I can´t seem to find what the problem is

    • @ChBrahm
      @ChBrahm 8 месяцев назад +5

      Figured it out. need to press tab to add an indent (little arrow at the left of your line)

  • @superpositionGames
    @superpositionGames 2 месяца назад

    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.

  • @Jokermanz_
    @Jokermanz_ 11 месяцев назад +3

    Is this outdated the “sprite_2d.flip_h = is left” it’s saying it’s an error

    • @Banansko.23
      @Banansko.23 10 месяцев назад

      yeah i get the same problem

    • @Banansko.23
      @Banansko.23 10 месяцев назад +1

      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 :)

    • @Jokermanz_
      @Jokermanz_ 10 месяцев назад

      @@Banansko.23 thanks ill try it!

    • @Badbufon
      @Badbufon 7 месяцев назад

      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

  • @FeralGinger
    @FeralGinger 10 месяцев назад

    This video gave me more confidence than the HOURS spent on other learning platforms. Thank you!

  • @CROMAKOPIA_FAN
    @CROMAKOPIA_FAN 8 месяцев назад +7

    i cant add background :(

    • @funneldude524
      @funneldude524 4 месяца назад

      Me too

    • @Theundeaddead
      @Theundeaddead 3 месяца назад

      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

  • @Help-Rubikscubemaster029
    @Help-Rubikscubemaster029 7 месяцев назад +1

    I love this tutorial, i think that the badges thing is very cool

  • @RedshirtAfficionado
    @RedshirtAfficionado 3 месяца назад +3

    This tutorial is pretty outdated, needed to find workarounds becuse of GoDot updates, the scripting section was especially frustrating.

  • @Loganjf
    @Loganjf Год назад +1

    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.

  • @brknpromise2016
    @brknpromise2016 Год назад +6

    at 16:58 im stuck as it keeps saying unexpected "identifier" what do i do to fix this

    • @HunyBread_
      @HunyBread_ 11 месяцев назад +1

      me too!

    • @marius3020
      @marius3020 6 месяцев назад

      @@HunyBread_ Same

    • @adantesarcade
      @adantesarcade 6 месяцев назад

      @@marius3020 same

    • @Mia_6999
      @Mia_6999 4 месяца назад

      @@adantesarcade same

    • @Hyperdisk
      @Hyperdisk 2 месяца назад

      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.

  • @hannesh1860
    @hannesh1860 Год назад +2

    This is the best tutorial I seen for making your first game. I eagerly await more guides!

  • @Packet7626
    @Packet7626 6 месяцев назад

    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

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

    You anemaitoin skills helped me a lot especially for my Godot combat game.

  • @Pepeutra
    @Pepeutra 8 месяцев назад

    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

  • @AlphaTrek
    @AlphaTrek 9 месяцев назад

    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!

  • @Gergo_kecske
    @Gergo_kecske 4 месяца назад +1

    I think you are the best tutorial youthuber I have ever watched plus this video is a masterpiece

  • @Quick_Noise
    @Quick_Noise 4 месяца назад

    Visualizing the process with animations is considered a quality content in my book.
    *subscribed*