Godot 4 3D Platformer Lesson #4: Coding 101 (Part 1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

ความคิดเห็น • 69

  • @metacob
    @metacob 10 หลายเดือนก่อน +106

    You have a very engaging way of speaking. I was 8 minutes into learning about variables when I remembered that I've been programming for over 20 years.

    • @HurricaneSA
      @HurricaneSA 8 หลายเดือนก่อน +15

      Indeed. I got excited about making a cube named Steve move until I realized I've done it a 100 times before. Although, I admit, they were never named Steve or anything else before. Does "Player" count as a name? I wish my teachers in school were this engaging.

    • @PacdemonStudios1
      @PacdemonStudios1 8 หลายเดือนก่อน +6

      It's actually kind of crazy, I sat through the entire last video and it was all for stuff I already knew how to do, I didn't even realize it until it finished. It's gonna be a slow burn but it makes me excited for when he starts covering complex stuff after laying the foundation

    • @lawdpuliix
      @lawdpuliix 5 หลายเดือนก่อน +3

      i first came here for Blender Tutorials, now i have been making mini game projects in Godot for 2 years🤣

  • @SILVERF0X13
    @SILVERF0X13 6 หลายเดือนก่อน +20

    I'm a full stack developer for my job, and while I knew pretty much everything in this particular episode, I will say that it was enjoyable to see how you explain the fundamentals for people who may not know things like variables/constants/etc. Enjoying the tutorials so far.

    • @BornCG
      @BornCG  6 หลายเดือนก่อน +1

      Thanks! 🙂

  • @commandosamdo
    @commandosamdo 14 วันที่ผ่านมา +2

    This is so much easier than I thought it would be with you teaching. I’m only 13 and somehow I understand. Thank you so much.

    • @BornCG
      @BornCG  14 วันที่ผ่านมา +1

      Awesome! YOU CAN DO IT!!!

  • @ripdoxyyy
    @ripdoxyyy 2 หลายเดือนก่อน +5

    Explained coding to me better than anyone else I have learned from. Thanks so much!

  • @titusmaledetto
    @titusmaledetto 4 วันที่ผ่านมา

    You're a natural tutor. Congrats!

  • @VirtualHimself
    @VirtualHimself 11 หลายเดือนก่อน +13

    LESSGOO!! I just opened Godot to learn new stuff and you uploaded!

  • @StarzyKK
    @StarzyKK 11 หลายเดือนก่อน +16

    These tutorials are great! This is my first step into actually making a game and your tutorials are mondo helpful. Coding looks daunting but every dev has to learn it eventually right? Looking forward to the next ep!

  • @chickensoap
    @chickensoap 8 หลายเดือนก่อน +4

    These tutorials are so awesome. Thank you so much for making it free. I can't find other 3D Godot tutorials like this. I'll make sure to share this.

  • @davidmanzato1987
    @davidmanzato1987 9 หลายเดือนก่อน +8

    Hello, I'd like to thank you for your tutorials. They're simply excellent, very educational, and what's more, we can feel your good humor behind the microphone, a faultless performance, it's a no-brainer ! 👏

    • @BornCG
      @BornCG  9 หลายเดือนก่อน +1

      ☺️

  • @hunterzwer4095
    @hunterzwer4095 11 หลายเดือนก่อน +2

    You are awesome please make your videos more often we really need it!

  • @MijmerMopper
    @MijmerMopper 11 หลายเดือนก่อน +4

    I think Godot coding is going to be a bit more intuitive to me then what I tried previously (unity). Loving these vids.

  • @Harbiter
    @Harbiter 11 หลายเดือนก่อน +2

    Love your tutorials! You really explain things well and make it easy to understand.

  • @xmesaj2
    @xmesaj2 11 หลายเดือนก่อน +2

    wow nice drop, godot has come long way

  • @rremnar
    @rremnar 11 หลายเดือนก่อน +6

    Unless your variable changes, it is better to use functions in your declaration than in the _process function. That way the computer doesn't have to calculate the function over and over.
    const SPEED = deg_to_rad(2)
    In some coding languages, you may not be allowed to use functions in your constant declarations; therefore, you will need to declare it as a variable. But that is not an issue in GDScript.
    I do wonder, what difference does it make wether your variable is a constant or not? What if I had a 1000 variables and some of them I had no intention on changing their value. Does it really make any difference? Sure I can fathom it helps to prevent from making a mistake; but I wonder if there is something else going on under the hood that requires this? Maybe in the old days of programming.

    • @Tobsson
      @Tobsson 2 หลายเดือนก่อน

      The difference isn't really there. It's just a "flag" if you're allowed to mutate that value or not. The biggest reason to be a little nit picky about this is readability. You might write a script and used a bad name for a variable a year back. Now you're back in that script to do something and you might end up changing the wrong thing as you weren't clear from the beginning what's allowed to change.

  • @elliottfraziertube
    @elliottfraziertube 11 หลายเดือนก่อน +1

    Great stuff! Looking forward to the next lesson!

  • @cascadaderesonancia
    @cascadaderesonancia 11 วันที่ผ่านมา +1

    Thank you!!! 😁

  • @EggsToMe
    @EggsToMe 11 หลายเดือนก่อน +1

    Just wanted to say, you are the best :D

  • @jasonwilliams8730
    @jasonwilliams8730 11 หลายเดือนก่อน +3

    Thank you

  • @ShawnLanphear
    @ShawnLanphear 3 หลายเดือนก่อน

    4 out of 11 done haha. Again these are very good and comprehensive tutorials.

  • @gigantetelles6409
    @gigantetelles6409 4 หลายเดือนก่อน

    Muito bom cara vc explica muito bem, o vídeo é de fácil compreensão até para quem fala outra língua

  • @Zero0189
    @Zero0189 8 หลายเดือนก่อน +3

    If GD script is Deleting code when you type before a character, try hitting the insert key (its above the delete key)

  • @FabioCamargoMoretti
    @FabioCamargoMoretti 4 หลายเดือนก่อน

    Dude knows how to teach GameDev, scripting and modeling. Awesome.

  • @christophilous4831
    @christophilous4831 11 หลายเดือนก่อน +2

    thank you for the great tutorials

  • @barborahalova3514
    @barborahalova3514 11 หลายเดือนก่อน +1

    These tutorials are awesome!

  • @BarryManilow-r1k
    @BarryManilow-r1k 8 หลายเดือนก่อน +1

    Great tutorial

  • @krokiet8393
    @krokiet8393 2 หลายเดือนก่อน

    thank you for this video :D

  • @chiewcck
    @chiewcck 7 หลายเดือนก่อน

    Awesome tutorials !

  • @HonsHon
    @HonsHon 6 หลายเดือนก่อน +1

    You can have spaces in your code. You do not have to have tabs. You just have to choose between the two per script (tabs or spaces).
    With spaces, you have to choose the amount of spaces that are expected per indent as well (2 spaces, 4 spaces, etc...).
    Edit: Great tutorial though! This is really helping my girlfriend out as she is jumping into the world of Godot!

  • @LeonderGrunder
    @LeonderGrunder 5 หลายเดือนก่อน +1

    19:15 aaaaahmhmmhmhmhm. Definietly done in all my code...

  • @Amrytmotion
    @Amrytmotion 5 หลายเดือนก่อน

    Love from 🇮🇳

  • @florrymccarthy6746
    @florrymccarthy6746 7 หลายเดือนก่อน

    coming from old school programming I find it hard to resist calling string variables Variable$ lol just the way I learned

  • @BinaryBolias
    @BinaryBolias 11 หลายเดือนก่อน +2

    I've successfully guessed the sort of thing that would be done within the Icon script as an alternative to printing a value every frame, though I myself happened to initially use "rotate(Vector3.UP, 5 * delta)" rather than "rotate_y(0.1)".
    Pi (accessible in GDScript with the "PI" constant) is one half a rotation in radians. Pi can be used to define rotations over time, and without using the "deg_to_rad" function, with (PI * delta) representing half a rotation per second.
    Not using delta, of course, causes the rotation to be dependent on framerate. "rotate_Y(0.1)" produces a rotation of 0.1 radians per frame, or, assuming 60 frames per second, (0.1 / (2 * PI) ) rotations per second, but which varies as the framerate does. Fixed to be framerate-independent, "rotate_y(0.1)" would be "rotate_y( (0.1 / 60) * delta)", with the literal "60" used representing the assumed framerate of the original.
    "deg_to_rad(x)" effectively divides "x" by 180 and then multiplies it by Pi.
    If you understand "PI" as representing half a rotation, then using it directly instead of "deg_to_rad()" can be quite intuitive.

  • @zedernt5338
    @zedernt5338 11 หลายเดือนก่อน

    I ran your finished tutorial game .exe through a github decompiler for godot, so I could see how it worked earlier. It all makes sense except for the files level_1_environment.tres and world-blocks-v1.tres. How did you make those files? I can't figure out how to edit those files in either godot or blender.
    How many more videos until this tutorial series reaches the part where you made those?
    Thanks for these tutorials!

  • @Amrytmotion
    @Amrytmotion 5 หลายเดือนก่อน

    Believe me godot 4 is available on android and i am doing all these in android 🔥

  • @thehonkinggamer2827
    @thehonkinggamer2827 11 หลายเดือนก่อน +1

    Will your part 2 video be next week?

    • @BornCG
      @BornCG  11 หลายเดือนก่อน +1

      It’s up now 😉

  • @LordMonkey.7
    @LordMonkey.7 2 หลายเดือนก่อน

    ._. I just spent an hour trying to figure out why my code for the 3D sprite wasn't working. The next day I realized that the code wasn't even assigned to the object._.
    😢😅

  • @hypermonk33y56
    @hypermonk33y56 8 หลายเดือนก่อน

    i dont get how is it when i type in the same rotate on y axis with the same as the tutorial, mine spins faster than in the video. whats the difference? i didnt change anything or is that the default fps speed?

  • @worldvador7046
    @worldvador7046 8 หลายเดือนก่อน +1

    I don't understand this tutorial. How is there not a single person that doesn't get a specific step?

    • @HonsHon
      @HonsHon 6 หลายเดือนก่อน +1

      Learning programming is sort of like getting up and over a steep hill. You are bound to hit some hiccups when you first start, but there is always a way to get up over those humps.

  • @ainzooalgown119
    @ainzooalgown119 7 หลายเดือนก่อน

    I love how you explain, everything is very clear. I have a question, how did you lock your scene/level/project to 60 fps? When I run the same script you are using, my sprite spins much faster, likely because I'm on a 240hz display. Is there a way to change this?

    • @bigmoneybusiness34
      @bigmoneybusiness34 7 หลายเดือนก่อน

      i think you times it by delta

    • @killerz1o1
      @killerz1o1 6 หลายเดือนก่อน +2

      Go into project settings, go to "Run" under "Application", turn on the "Advanced Settings" switch at the top right, then change the "Max FPS" setting to 60.

    • @ainzooalgown119
      @ainzooalgown119 6 หลายเดือนก่อน

      @@killerz1o1 thanks

    • @ainzooalgown119
      @ainzooalgown119 6 หลายเดือนก่อน

      @@bigmoneybusiness34 that might be it, thank you

  • @timothyn4699
    @timothyn4699 2 หลายเดือนก่อน

    well explained, and a nice fun add, 3dsprite and rotation, good value/reward for little effort

  • @murdrer982
    @murdrer982 11 หลายเดือนก่อน +1

    Hi sir you are taking alot of time

    • @VirtualHimself
      @VirtualHimself 11 หลายเดือนก่อน +2

      a tutorial every one week

    • @Wailingllama
      @Wailingllama 11 หลายเดือนก่อน +4

      Let's not rush them, they need time to edit these and id prefer we wait and get them instead of not at all

    • @BornCG
      @BornCG  11 หลายเดือนก่อน +8

      These tutorials take hours and hours to make. Patience, Padawan.

    • @MijmerMopper
      @MijmerMopper 11 หลายเดือนก่อน

      I'd ask for a refund

    • @rremnar
      @rremnar 11 หลายเดือนก่อน

      I am getting impatient as well; but I guess he has to do the voice recording for these. And since he is busy, he doesn't have time to dish em out frequently as we'd like.

  • @Hatifnatek32
    @Hatifnatek32 11 หลายเดือนก่อน +1

    Next the character?

    • @BornCG
      @BornCG  11 หลายเดือนก่อน

      Adding the Robot character comes a ways into the course. Next up is the second half of 'Coding 101'.

  • @ssnakeyboi
    @ssnakeyboi 15 วันที่ผ่านมา

    he sounds different do you have a cold f so hope you got well

  • @thenoobarafinbg8378
    @thenoobarafinbg8378 11 หลายเดือนก่อน +1

    PLS UPLOAD ALL PARTS

    • @BornCG
      @BornCG  11 หลายเดือนก่อน +2

      If only these didn’t take time to edit! 🙃🤷‍♂️

    • @thenoobarafinbg8378
      @thenoobarafinbg8378 11 หลายเดือนก่อน +1

      @@BornCG it takes 1week to edit?

  • @jeffblack5527
    @jeffblack5527 11 หลายเดือนก่อน +1

    😂 'Promo sm'

  • @bonnymich
    @bonnymich 8 วันที่ผ่านมา

    gd script...yet another modification...crying

  • @DivyaDesai-h2e
    @DivyaDesai-h2e หลายเดือนก่อน

    who is watching in 2024