Make A 2D Platformer In 10 MINUTES (Godot 4)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

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

  • @Ostnizdasht206
    @Ostnizdasht206 10 หลายเดือนก่อน +37

    I really like the no filler and bs style of this tutorial. Just quick and right to the point. It really helps beginners not get so confused.

  • @rasati
    @rasati 11 หลายเดือนก่อน +25

    tip for smoother x movement:
    instead of doing
    velocity.x = 300*direction
    do
    velocity.x += 70*direction
    velocity.x *= 0.7

    • @gnack420
      @gnack420 7 หลายเดือนก่อน +5

      or just use move_toward which is provided for this purpose

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

      Can you please explain why this works? I just want to understand

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

      ​@@ashhellwig Multiplying by 0.7 is basically dividing. You'll get a smaller number out of it so velocity will slowly decrease over time even when in the air.
      It's basically adding some basic friction

  • @xenon9717
    @xenon9717 ปีที่แล้ว +75

    This was the first godot tutorial where I could actually follow through

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

      OMG someone actually said my mind

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

      @@mr.almonic9565 my mind

  • @xshadowfishx900
    @xshadowfishx900 ปีที่แล้ว +8

    Bro you‘re just amazing… It‘s so hard as a beginner to find a tutorial that doesn‘t just tell you what to do, but explains WHY you do that. I love how you can explain things slow and understandable, so that I can follow the tutorial easily:)Keep up the good work💪👍

  • @_Dontno_
    @_Dontno_ ปีที่แล้ว +24

    I really enjoy your way of explaining things! It's just simple but super accurate and understandable!
    Keep the great work!

  • @lazybackup1
    @lazybackup1 ปีที่แล้ว +7

    This is really cool. Putting the jump force, gravity, and speed in the viewport was nice! I was not sure that could be done until I saw you do it. Thank you!

  • @Thatguy1234_
    @Thatguy1234_ 10 หลายเดือนก่อน +1

    this just earned you a new subscriber, first tutorial that I can actually understand, I always find tutorials really boring, but this was short and taught me everything i wanted to know

  • @danielgrezda3339
    @danielgrezda3339 ปีที่แล้ว +6

    I watched a video similar to this and was confused to tears. I thought I was just dumb, but once I watched your video I understood all the concepts in the same amount of time. Great job!

  • @Aerionix1
    @Aerionix1 ปีที่แล้ว +4

    I'll take a look at this later for sure. I'm taking your udemy godot4 course but took a break after the first 2 sections. For the best of reasons tho. For the first time since getting interested in game dev, I joined a game jam and after 4 days of effort, my game is actually almost done. Just doing the sound and then whatever polish I have time for.
    Going back and looking at your lessons was a big help. So thanks man.

    • @KaanAlparGameDev
      @KaanAlparGameDev  ปีที่แล้ว

      Awesome man, glad the lessons were helpful!

  • @justinbenjamins3828
    @justinbenjamins3828 ปีที่แล้ว +15

    Kaan, thanks so much for all your effort! I have enjoyed every tutorial you have posted. I have a Unity C# background, but I must admit that GD script is a way lot easier and faster to learn. This probably because you explain everthing so clearly. Not only verbally but also visually. I think everyone would agree with me😄Wishing your channel a great success!

    • @KaanAlparGameDev
      @KaanAlparGameDev  ปีที่แล้ว +2

      Thank you Justin for the kind words! I'm glad you enjoyed the tutorials

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

    This is extremely concise and helpful. It basically gave me an epiphany about how Godot actually works, enabling me to start actually making the games I've been trying to make for years.

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

    to be honest, this is the best tutorial I've ever seen!

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

    Wow bro!! Im completely new to Godot (came from rpg maker as it got my foot into the door and got me exicited about games but its too restrictive so wanted to branch out) and man your so percise and on point with the video!!
    I watched countless videos before this one and they kept doing stuff without explaining it using shortcuts ect and i got lost and scapped the project each time. But with yours i actually got it working and running exactly the same as you! Thank you for boosting my confidence with this engine! I liked and subscribed my friend!

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

    I wish I could give this video more then 1 thumbs up. Straight to the point and clear and consise. Great video!

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

    Greatest tutorial for simple platformers! This video really now helped me to choose the game engine to make a project for the end of college studying.

  • @shypixes9860
    @shypixes9860 ปีที่แล้ว +1

    I spent all night looking for your video. This is perfect

  • @venommortal23
    @venommortal23 ปีที่แล้ว +1

    Thank u man I've searched this godot tutorial in internet and found many but not like this as simple appreciate for your work man 👍

  • @zucankidev
    @zucankidev ปีที่แล้ว +6

    You made that look easy and gave me some motivation to try this out myself.

  • @jhuanaraujo2849
    @jhuanaraujo2849 ปีที่แล้ว +2

    Congrats on the video! I like how it goes straight to the point and it's very well explained, I'll keep an eye on the chanel and see what else I can learn

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

    Really good and easy to follow for someone who is not used to Godot. Thanks for sharing

  • @ReysTimeRTA
    @ReysTimeRTA ปีที่แล้ว +1

    thank you for teaching me! but ow to make those spiky object which kill you?

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

    Definitely wasn't expecting you to explain everything so well. This is great as a second tutorial after I learnt the basics. Thank you!

  • @Just_Kovi
    @Just_Kovi ปีที่แล้ว

    Thank the best godot tutorial I've ever seen! Thats not a "just do as I do on a screen", I actualy understood how all this working!

  • @jonathanbernardi4306
    @jonathanbernardi4306 ปีที่แล้ว +2

    Man this was really good, and better yet crystal clear. Thank you so much. Good stuff on this channel.

  • @the_averagekyle
    @the_averagekyle ปีที่แล้ว

    This video is gold. I was having issues with understanding some of the changes with Godot 4.2 and this helped a ton!

  • @MoisloudMJM
    @MoisloudMJM 3 หลายเดือนก่อน +1

    yo how would I get the movement controls in project settings

  • @duketired
    @duketired ปีที่แล้ว

    it says 'error at (9, 28): expected ":" after "if" condition' when i did the code at 8:04

  • @SynfulStudio
    @SynfulStudio ปีที่แล้ว

    I love you xD Literally the only thing i wanted from this tutorial was explanations to writing physics and its just that.

  • @kinggoku4516
    @kinggoku4516 ปีที่แล้ว +1

    Nice It's Good explanation Bro , Don't Give Up

  • @loopydooples
    @loopydooples 7 หลายเดือนก่อน +1

    Very cool, thanks for making it short

  • @Ind1e.Dev.L1fe
    @Ind1e.Dev.L1fe 6 หลายเดือนก่อน

    this is the only video i fully watch and what made me really start to understand the godot engine and eventually would lead me to work on a steam game

  • @esmeyraldaceliandre
    @esmeyraldaceliandre ปีที่แล้ว

    Thank you so much for your work!
    Every other tuto I found were pixel art and already existing asset's pack centric; I had a hard time finding informations that would suit my project well. Then I found you! It's really well explained, thanks again!

  • @T-Pose420
    @T-Pose420 7 หลายเดือนก่อน

    Wow, a godot tutorial where it actually lets me do something, great tutorial

  • @WrittenBJ
    @WrittenBJ 10 หลายเดือนก่อน +1

    question, did you know that when selecting a sprite2d node on a 2d scene, there's a sprite2d button in the tools that give you the option to generate a collisionpollygon2d as a sibling that fits the shape of the sprite.
    if you're aware, then why did you insist on using collisionshape2d as the sibling instead? i find trying to shape the collision box to fit the sprite a bit time consuming due to needing to make it "perfect".

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

    Great tutorial man but how do we put the movement controls in the project settings??
    PLSSSSSS help

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

    thank you for the tutorial man, this was great and easy to understand

  • @weslr1
    @weslr1 ปีที่แล้ว

    It was fast but thorough. I used this to make a little don’t touch the floor game!

  • @zoewilson5728
    @zoewilson5728 ปีที่แล้ว

    you explained it amazingly and I'm really glad i encountered your video! wish you the best

  • @NoahTheRobinson
    @NoahTheRobinson ปีที่แล้ว

    thank you for being the best godot 4 tutorial ive found

  • @jasonpm213
    @jasonpm213 7 หลายเดือนก่อน +1

    Great vid, thanks a lot!

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

    Is there a reason why you didnt put:
    velocity.y += gravity
    velocity.y = clamp(velocity.y, 0, 500)?
    Clamping it would be easier, no?

  • @360master
    @360master ปีที่แล้ว

    Thank you! This tutorial showed me that Godot is surprisingly easy! (the nodes discouraged me for a bit)

  • @King_Kaid_
    @King_Kaid_ ปีที่แล้ว +1

    i have no idea what keybinds you are pressing when you open up those menues in the beginning, i know you want to make the video fast, but ive been watching the first minute over and over trying to figure out what menu you go into.. you dont click a whole lot, and we cant see keybinds

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

    Good video. Never even opened godot before. Was able to follow and make this example in 20 minutes or so. Prefer this to slow paced tedium.

  • @alexandersinclair5719
    @alexandersinclair5719 ปีที่แล้ว

    I followed along with this tutorial but for some reason when I press space it doesn't jump and I don't know why. Loved your way of explaining things and picked up some new tips as well.

  • @Barakon
    @Barakon ปีที่แล้ว +1

    I got a template going so it set all that stuff automatically for me, although I am willing to change it at any point.

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

    this was amazing to get me started. thank you for this vid!!!!!

  • @PhoebeBeebee-_-
    @PhoebeBeebee-_- ปีที่แล้ว

    when I try to move my player the collision rectangle and the icon aren't linked and it only moves the icon. Please help T-T

  • @craftyblaze
    @craftyblaze ปีที่แล้ว

    Bir saattir farketmeden izliyorum kanal adına baktım Türk çıktın ufak bir sürpriz oldu.

  • @lunyxappocalypse7071
    @lunyxappocalypse7071 ปีที่แล้ว

    Since I have essentially two player characters; (The Explorer/Molder and their commandeered Mold nanites via imputed commands and arrow keys.) at the moment it tends to add the two values together whenever the two bodies are off the floor. I have encountered this problem before when drawing Turtle graphics.

  • @m4rt_
    @m4rt_ ปีที่แล้ว

    remember to multiply the horizontal speed, jump force, gravity, etc by delta so that you don't go faster with higher fps, and slower with lower fps

    • @KaanAlparGameDev
      @KaanAlparGameDev  ปีที่แล้ว +1

      No don't do that, from Godot documentation: move_and_slide() automatically includes the timestep in its calculation, so you should not multiply the velocity vector by delta.

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

    Man it took me 2hrs to figure out I had an extra indentation not a good start, but I learned a lot !!!

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

    Can we put the player directly in the main game scene or do we have to create a separate scene?

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

    Is it possible to make the player move either left or right and 0 isn't possible?

  • @ahmedcortright8742
    @ahmedcortright8742 ปีที่แล้ว +3

    Sick thumbnail bro!

  • @DJKijetesantakalu
    @DJKijetesantakalu ปีที่แล้ว

    Amazing, now I could finally start using godot.

  • @Fuzzbucket1613
    @Fuzzbucket1613 ปีที่แล้ว +1

    This help a lot It was my first game

    • @Fuzzbucket1613
      @Fuzzbucket1613 ปีที่แล้ว +1

      also I can't move my character

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

    cool! I really did make the thing described, though not in 10 minutes, with all the pausing and rewinding and stuff, but cool!

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

    this is the best tutorial in the world

  • @Aebel.
    @Aebel. ปีที่แล้ว

    nice concise, can understand the reasoning behing logic

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

    when i land on the platform the player will not move

  • @lazybackup1
    @lazybackup1 ปีที่แล้ว +1

    Why didn't you use vector2? Or did the delta handle that? I'm new lol.

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

    Fantastic tutorial. Thank you!

  • @dave_kel
    @dave_kel ปีที่แล้ว

    I echo what others said! So much simpler than other places. Thank you so much!

  • @lozinsmile
    @lozinsmile 7 หลายเดือนก่อน +1

    THANK YOU

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

    when i do this my character breaks the laws of physics and goes at a speed of 2.3 time the speed of light through every collision i set and then my gravity reaches inf altho i do have it capped

  • @kio9906
    @kio9906 ปีที่แล้ว +1

    I copied the code 1 to 1. The left right works, but the jump doesn't

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

      change the max slope angle

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

    I want to know how you can put a limit on the jumping?
    I know there's the code for only jumping when you're on the floor but I'm trying to see how I can make my character double jump?

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

      If you did not get your answer, you can create a variable called 'has_double_jumped'. Use it as a check when the player tries to jump, if the player is not on the floor and has_double_jumped is False, then you can jump again, after that set it to True and only allow turn it back to false once the player touches the ground.

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

    can you type the last line of code you wrote in the end in the comments or description. It was really blurry

  • @chorusfruit7
    @chorusfruit7 ปีที่แล้ว

    I followed the video (at the point where you add jump) but when I run it nothing works anymore, did I mess something up?

  • @Brody-b8x
    @Brody-b8x 2 หลายเดือนก่อน

    how did he save the scene

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

    awesome and simple tutorial

  • @GamingandDev
    @GamingandDev ปีที่แล้ว +1

    How would you give a limitation of double jump?

    • @KaanAlparGameDev
      @KaanAlparGameDev  ปีที่แล้ว +3

      Create a boolean variable to keep track of double jump. Put an if statement and check if double jump is used while player is in air. Reset that state when player touches ground

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

    Niceee, Waiting for enemys :D

  • @plaguemouse-b9m
    @plaguemouse-b9m 10 หลายเดือนก่อน

    Cannot hit the like hard enough. Thank you so much for this.

  • @jackspectorink2001
    @jackspectorink2001 ปีที่แล้ว +1

    bro podrias seguir con estos videos sobre los plataformeros 2d? muchas gracias crack!!

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

    i was confused when i got to adding movement cuz godot already gave me code so i have no idea what to do

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

      That’s in the newer version it’s just a tutorial delete it all and do what this guy does

  • @FeedTheWolves90
    @FeedTheWolves90 ปีที่แล้ว

    I can jump while in midair but as soon as I land I cant jump anymore. Help and thanks!

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

    why the ':' at 7:00 ?
    if !is_on_floor():

  • @Barakon
    @Barakon ปีที่แล้ว +2

    Does the circle shape also slip from edges?

    • @shypixes9860
      @shypixes9860 ปีที่แล้ว

      It does but you can use a rectangle instead

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

    why you dont use the delta? This will break the speed in different FPSs.

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

      no it won't, move_and_slide applies delta

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

      @@KaanAlparGameDev oh ok, I didn't know that the built-in function already had delta, because in some tutorials I saw them doing this velocity.y += gravity * delta together with move_and_slide(), well I found it strange that it was slow even too much multiplying by delta, thanks for the clarification

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

    May I request a tutorial for 'how to make a mobile 2d game in Godot 4' ?

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

      I have a full udemy course about that actually

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

    So when i made the script it already had the platformer logic in it. Idk if this is normal but yeah. Maybe its a new feature?

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

      Yeah, mine had it too
      Definitely a new feature

  • @baonguyen4557
    @baonguyen4557 ปีที่แล้ว +1

    oh yeah,cool!

  • @GwynsFirstBorn
    @GwynsFirstBorn ปีที่แล้ว

    Mine doesn't move automatically after putting it in 3:10 can someone help?

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

      Is there an arrow next to the physics process function?
      If there isn't you're probably not using the same version of godot
      I don't have that arrow and it's not working for me either

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

      @@aierisfrost8447 sorry I deleted that game project a while back 😂 I just went through so many back and forths with chat gpt from what I remember

  • @coding_guy
    @coding_guy ปีที่แล้ว +1

    can you please make a 3D gd game tutorial?

  • @Solstimimi2
    @Solstimimi2 ปีที่แล้ว

    youre like the griffpatch of godot...
    thank you

  • @patrickr9696
    @patrickr9696 ปีที่แล้ว

    I did all he did and the platform is moving with the player, i can go sideways and jump, the platform wont stay in place, i tried everything

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

      ? What do you mean by that, the camera moves with the player so it makes everything but the player move. Do you mean that?

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

    Thanks Gamer, this got me unstuck today.

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

    bro make some 3d game course

  • @ChrisSwafford1
    @ChrisSwafford1 ปีที่แล้ว

    Thanks! Great video.

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

    Damn that keeb sounds nice ass hell

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

    code does not work

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

    great tutorial ngl, realy helped me get a starting point to go from in future (also 100th comment)

  • @Lansamatv
    @Lansamatv ปีที่แล้ว

    you can continue with the tutorials of a game like hollow knight in godot GDScripts new sub ❤

  • @davidtodoran4910
    @davidtodoran4910 ปีที่แล้ว

    amazing tutorial!

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

    great work!

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

    Wait a second, is this Python?
    I mean modified Python. I know that Python uses def to define functions, not func.

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

      GDscript is based on python

  • @Aratgurth
    @Aratgurth ปีที่แล้ว

    Nice video. Thank you so much.

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

    this was so damn useful