Godot 4 3D Platformer Lesson #3: Player Object + Movement/Jump Script!

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • In this Godot 4 Lesson I cover I cover how to construct a simple (cube) player object that you can control with keyboard arrow keys & make jump with the space bar! We'll create this player CharacterBody3D physics object a reusable scene, add it to the game level, and attach a script file with directional movement & jumping gd script. We'll also organize our scene tree a little better by creating a branch / folder for all the 'rigid body' falling block scene instance nodes.
    Thanks for watching! Here are the video chapter timecode links:
    - 0:00 - Video Intro
    - 0:07 - Lesson Outline (what's in this lesson)
    - 0:41 - Creating a Player Character 'Steve' Scene
    - 5:42 - Adding (an Instance of) Steve into the game level
    - 6:22 - Moving the Falling Blocks into a Folder / Branch
    - 8:18 - Adding Code!: Add a GD Script File (with a movement / jumping template) onto Steve.
    - 11:36 - Playing the Game Level & Controlling Steve!
    - 12:09 - A note about the camera direction & movement direction.
    - 12:57 - Recap / Summary
    - 13:03 - Wrap-Up & Outro
    Don't forget to LIKE & SUBSCRIBE! 🥰 👍
    *note: In this video I used Godot 4.0.3
    #godotengine #gamedev
    Play and Download the Finished 3D Platformer Game Online Now!: borncg.itch.io/3d-platformer-... (use: Chrome/Edge/Firefox to play the web game version)
    *****************
    DONATE to support my channel via PayPal: goo.gl/ThkwyG
    ********************************
    LIKE and FOLLOW me on:
    FACEBOOK: / borncg
    INSTAGRAM: / born.cg
    X / TWITTER: / borncg
    Reddit: / borncg
    **********************************
    Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
    • Godot 4 Beginners: Lea...
    Visit my Let's Learn Blender! Tutorial Series playlist:
    • Let's Learn Blender!
    ****************
    Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
    ****************

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

  • @sammaelmoon6975
    @sammaelmoon6975 8 หลายเดือนก่อน +48

    These tutorials are absolutely perfect for beginners, super helpful for those of us who are new to Godot. Can certainly tell you're a professional instructor. Can't wait for the next video!

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

      I was going to say exactly the same. It's easy to see that the didacticism in the videos is awesome. Thank you so much for such a quality content!

  • @TheMikeMassengale
    @TheMikeMassengale 7 วันที่ผ่านมา +1

    Wow, I can remember spending literal hours the first time I tried to learn how to do movement in a game, it took forever to find it on some github, figure out how it worked and implement it. Literal decades later, and now it's just a check box, that's so rad.

  • @ucha7213
    @ucha7213 8 หลายเดือนก่อน +34

    Best Godot 3D tutorial series I have ever seen!

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

      😊

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

      fr I've been looking for some good tutorial, and after much searching I finally found this channel

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

    One of the best channels I've seen on Godot tutorials. Keep up the good work.

  • @f3b
    @f3b 3 หลายเดือนก่อน +7

    Your beginner tutorial is so good, very very clear.

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

    loving this course sofar, it's a bit slow paced for me but that's mainly because I have started up a whole lot of tutorials in different game building engines I do thing it is a mistake to make the player character a cube, making it a different shape helps distinguising it from other objects.

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

    this tutorial series has been so helpful, thankyou

  • @ericwood1185
    @ericwood1185 8 หลายเดือนก่อน +7

    Been having fun so far im a new Godot User coming from Unity, Cant wait for the next Lesson!

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

      Thanks for joining the Godot community! 🤩

  • @LtsVapor
    @LtsVapor 4 หลายเดือนก่อน +1

    so far im enjoying learning this engine these videos are really good thank you

  • @hypermonk33y56
    @hypermonk33y56 4 หลายเดือนก่อน +1

    if i have a teacher like you in my school and teach, i would always enjoy it because i think you are a great teacher

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

    Thank you for your efforts! you are a bright light

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

    New Subusriber, keep doing the tutorial videos.. you are the best at making the tutorial videos for godot. :D

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

    Amazing tutorials, this has helped me so much.

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

    I love thest tutorials! They are the best for begginners!

  • @Eldritchcrown99
    @Eldritchcrown99 2 หลายเดือนก่อน +1

    This is immensely helpful. Thank you!! :D

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

    Keep it up we need great Gadot tutorial like this one....hope u can make a series for action game tutorial(humanoid character with attacks and weapons)

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

    I though you need to learn 2D games first and that 3D games are way harder, but this is a perfect tutorial. I watched many tutorials before but this is the first one I completely understand! Hopefully i will be able to program my dream game soon.

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

    Amazing Tutorial

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

    Epic tuts! ty:)

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

    Yes, I also had a pet shoe box called Steve as a child. You see, people were much poorer back then and we couldn't afford any proper toys so we had to make our own and learn to use our imagination. Unfortunately, some developed real hang-ups as a result of those hard times.

    • @atch300
      @atch300 7 หลายเดือนก่อน +3

      WILLLSSOOOOOOONNN

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

    Thanks so much!

  • @TheSkypeConverser
    @TheSkypeConverser 8 วันที่ผ่านมา +1

    Thank you! You rock!!

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

      You rock!

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

    ok what? i JUST fnished tutorial 2 and tutorial 3 comes out!

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

    ❤you deserve more subs

  • @medwassimchabchoub
    @medwassimchabchoub 8 หลายเดือนก่อน +2

    Keep Going 💥💥💥💥

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

    Love it

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

    BTW, is there a way I could make the subtitles for you? The auto generated ones tend to be unhelpfull and I always perfer videos with proper subtitles, they really help me focus.

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

    Great tutorials, thank you. I just successfully completed Lesson 9. One confusing point though: at the end of lesson 2, the blocks are cubes, but at the start of this lesson (3), they are more like cuboids. I double-checked and didn't see anywhere where you explained a step to resize the cubes.

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

      at the very end of the previous lesson, after the recap, he resized them to show how you can change multiple objects/scenes by editing the source scene.

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

    You're intelligent 'Me' and I'm intelligent Colin teacher.

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

    Woot!

  • @Mihimal
    @Mihimal 4 หลายเดือนก่อน +1

    Sir, Can you make a tutorial about building a terrain with Noise Generation method? That way we get a random Type of ground each time.

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

    the character code template is very helpful. why reinvent the wheel with every project?

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

    When will the next episode be? Great course.

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

      ASAP 😉

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

    Please explain in one of the next videos how to get Steve to jump and do a 360° flip in the air. Like Super Mario, and how to slide down an angled surface. If it is possible. Thank you.

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

      Thanks for your comment! Please note: all 26 lessons have already been recorded, but in the upcoming videos I do go over lots of code, including how to make something spin with code and keyboard button presses, which should allow you to add that without much problem, even as a beginner.

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

      libsm64-godot is a godot addon that adds in Mario's movement mechanics from SM64 into your godot projects

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

    Nice video, but please for the love of sanity angle the directional light so that your forward and upward facing surfaces aren't the same shade lol

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

      🤣😊😉 noted!

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

    Just curious if your godot 3 tutorial would also apply to godot 4? I know it was a large version upgrade but I don't know how much has changed.

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

      A lot is the same, but a node or two has changed names, some processes will be identical or nearly, but some code and panels are different. If you've never coded before than I'd suggest sticking with following tutorials of the version (3 vs 4) you're working with, though if you're just watching to get a sense of how things work in Godot, either is fine.

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

    @BornCG I'm a beginner. Can you please let me know How to add 'swipe' input method if I were to built it for mobile phone games?
    Possible to have a tutorial for that? Thanks!

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

    I'm having trouble, I'm sure I did something wrong but I can't pinpoint what it is. When I run the game, my character only jumps and doesn't move. EDIT: NEVERMIND I was using WASD lmao

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

    how do i set movement to wasd and enable mouselook?

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

    how made car game in godot use car selection ,level selection?

  • @Slava-Ukraini
    @Slava-Ukraini 2 หลายเดือนก่อน

    +1sub

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

    please respond, when is part four? I WANNA SLAP A CHARACHTER ON MY CUBE!!!!!!!!!!! >:(
    But I don't wanna use unity because it added RUNTIME FEES

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

      Actually, it's going to be quite a ways into the course before we turn the cube character into the robot. Lots of things to do before to work up to that. Next up: Coding 101. 😉😇

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

    1:45, 6:20, 7:00, 8:25, 9:10

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

    Question why the rigid object falls down by default and the CharacterBody3D doesn't?

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

      They’re designed to be that way, to act differently as objects. Characters need to be programmed to move exactly as you want in the game you make with the controls you want, so you can do exactly that. Rigid bodies just act like ‘barrels’ that fall with the gravity in your game, and deflect off other objects as appropriate. Static bodies float, so act like ground blocks.

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

      @@BornCG Honestly it reminds me of my teacher's saying "It's just how it is" haha. Anyway, thanks for the answer and the very good vids. I subscribed.

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

    My "steve" flies of screen when running the scene, not sure why. Following these tutorials are helpful though.

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

      Was able to stop them from flying about by adjusting some things but now my character can only jump. More experimentation is needed.

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

    охуенно

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

    You're God, na?