@@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
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💪👍
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!
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
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!
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.
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!
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.
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!
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
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!
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".
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
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.
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.
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.
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
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?
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.
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
@@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
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
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.
tip for smoother x movement:
instead of doing
velocity.x = 300*direction
do
velocity.x += 70*direction
velocity.x *= 0.7
or just use move_toward which is provided for this purpose
Can you please explain why this works? I just want to understand
@@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
This was the first godot tutorial where I could actually follow through
OMG someone actually said my mind
@@mr.almonic9565 my mind
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💪👍
I really enjoy your way of explaining things! It's just simple but super accurate and understandable!
Keep the great work!
Thank you, glad you liked it
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!
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
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!
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.
Awesome man, glad the lessons were helpful!
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!
Thank you Justin for the kind words! I'm glad you enjoyed the tutorials
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.
to be honest, this is the best tutorial I've ever seen!
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!
I wish I could give this video more then 1 thumbs up. Straight to the point and clear and consise. Great video!
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.
I spent all night looking for your video. This is perfect
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 👍
You made that look easy and gave me some motivation to try this out myself.
Thats awesome, glad to hear that
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
Really good and easy to follow for someone who is not used to Godot. Thanks for sharing
thank you for teaching me! but ow to make those spiky object which kill you?
Definitely wasn't expecting you to explain everything so well. This is great as a second tutorial after I learnt the basics. Thank you!
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!
Man this was really good, and better yet crystal clear. Thank you so much. Good stuff on this channel.
This video is gold. I was having issues with understanding some of the changes with Godot 4.2 and this helped a ton!
yo how would I get the movement controls in project settings
it says 'error at (9, 28): expected ":" after "if" condition' when i did the code at 8:04
I love you xD Literally the only thing i wanted from this tutorial was explanations to writing physics and its just that.
Nice It's Good explanation Bro , Don't Give Up
Very cool, thanks for making it short
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
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!
You're welcome, glad you liked it
Wow, a godot tutorial where it actually lets me do something, great tutorial
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".
Great tutorial man but how do we put the movement controls in the project settings??
PLSSSSSS help
thank you for the tutorial man, this was great and easy to understand
It was fast but thorough. I used this to make a little don’t touch the floor game!
you explained it amazingly and I'm really glad i encountered your video! wish you the best
thank you for being the best godot 4 tutorial ive found
Great vid, thanks a lot!
Is there a reason why you didnt put:
velocity.y += gravity
velocity.y = clamp(velocity.y, 0, 500)?
Clamping it would be easier, no?
Thank you! This tutorial showed me that Godot is surprisingly easy! (the nodes discouraged me for a bit)
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
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.
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.
I got a template going so it set all that stuff automatically for me, although I am willing to change it at any point.
this was amazing to get me started. thank you for this vid!!!!!
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
Bir saattir farketmeden izliyorum kanal adına baktım Türk çıktın ufak bir sürpriz oldu.
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.
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
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.
Man it took me 2hrs to figure out I had an extra indentation not a good start, but I learned a lot !!!
Can we put the player directly in the main game scene or do we have to create a separate scene?
Is it possible to make the player move either left or right and 0 isn't possible?
Sick thumbnail bro!
Thanks bro!
Amazing, now I could finally start using godot.
This help a lot It was my first game
also I can't move my character
cool! I really did make the thing described, though not in 10 minutes, with all the pausing and rewinding and stuff, but cool!
this is the best tutorial in the world
nice concise, can understand the reasoning behing logic
when i land on the platform the player will not move
Why didn't you use vector2? Or did the delta handle that? I'm new lol.
Fantastic tutorial. Thank you!
I echo what others said! So much simpler than other places. Thank you so much!
THANK YOU
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
I copied the code 1 to 1. The left right works, but the jump doesn't
change the max slope angle
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?
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.
can you type the last line of code you wrote in the end in the comments or description. It was really blurry
I followed the video (at the point where you add jump) but when I run it nothing works anymore, did I mess something up?
how did he save the scene
awesome and simple tutorial
How would you give a limitation of double jump?
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
Niceee, Waiting for enemys :D
Cannot hit the like hard enough. Thank you so much for this.
bro podrias seguir con estos videos sobre los plataformeros 2d? muchas gracias crack!!
i was confused when i got to adding movement cuz godot already gave me code so i have no idea what to do
That’s in the newer version it’s just a tutorial delete it all and do what this guy does
I can jump while in midair but as soon as I land I cant jump anymore. Help and thanks!
my coding was wrong haha 😅
why the ':' at 7:00 ?
if !is_on_floor():
Does the circle shape also slip from edges?
It does but you can use a rectangle instead
why you dont use the delta? This will break the speed in different FPSs.
no it won't, move_and_slide applies delta
@@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
May I request a tutorial for 'how to make a mobile 2d game in Godot 4' ?
I have a full udemy course about that actually
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?
Yeah, mine had it too
Definitely a new feature
oh yeah,cool!
Mine doesn't move automatically after putting it in 3:10 can someone help?
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
@@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
can you please make a 3D gd game tutorial?
Im thinking about making one
youre like the griffpatch of godot...
thank you
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
? What do you mean by that, the camera moves with the player so it makes everything but the player move. Do you mean that?
Thanks Gamer, this got me unstuck today.
bro make some 3d game course
Thanks! Great video.
Damn that keeb sounds nice ass hell
code does not work
great tutorial ngl, realy helped me get a starting point to go from in future (also 100th comment)
you can continue with the tutorials of a game like hollow knight in godot GDScripts new sub ❤
amazing tutorial!
great work!
Wait a second, is this Python?
I mean modified Python. I know that Python uses def to define functions, not func.
GDscript is based on python
Nice video. Thank you so much.
this was so damn useful