MASTER 2D Movement in Godot - Everything You Need To Know

preview_player
Показать описание
In this tutorial, you’ll learn everything you need to know about basic character movement in Godot 4.3 using CharacterBody2D. This video covers essential techniques to make your characters move smoothly and responsively.

📌 What You’ll Learn:

*8-Way Movement: Master multi-directional movement to give your characters the freedom to explore.
*Mouse & Keyboard Control: Discover how to move and rotate your character using mouse and keyboard inputs.
*Click & Move: Implement intuitive click-to-move mechanics for point-and-click style games.

By the end of this tutorial, you’ll have the skills to create dynamic and engaging character controls for your Godot 4.3 projects. Perfect for game developers of all levels!

#gamedev #godot #godotengine #gamedevelopment
Рекомендации по теме
Комментарии
Автор

A ton of knowledge + decent editing, good job man.

sirpandaz
Автор

Great tutorial! I just started godot and I needed the rotate movement, and this was helpful, thanks.

WigiLuigi
Автор

A ton to go through is just 5 minutes. Great video!

AlexSmusiak
Автор

thank you! I have been working on my very first platformer game and this video is going to be helpful after I decide to make another one.

KeetoIsCultured
Автор

This was really nice and concise. I'm still hoping to find a good Godoto 4.x video on twin-stick shooter movement+aim. It's proving to be a little trickier than just modifying move-towards-mouse example in your video.

tigwykplaysgames
Автор

a classic but important to always relearn.

martinithechobit
Автор

Please do 3d next! Lack of tutorial for 3d movements, especially first person and thanks for the upload!

saeedserwan
Автор

Great video. Short and to the point. Any chance you can make a quick video about grid based movement? From chess to JRPG style games to puzzle/casual games (2048, match 3 style games) grid movement pops up a lot. Just wondering the best way to implement movement (eg WASD) but within the confines of a game grid.

RodJSmith
Автор

I'm trying to make a movement bases in Hyper light Drifter, but since there's no tutorials I'm kinda lost.
At least this movement worked for me (using Godot 4 for Android) but now I want to add animation to the sprite based on the direction you move, I'll see how it goes

sugarette_burn
Автор

this is the second tutorial I've watched and I still cant get the player to move, the code is exactly as is whats on screen and I added the inputs, I have no idea where its going wrong

xxnekonekox
Автор

Good but I have one question, why do you get the input in a separate function? I tested it at least in the first example (That's the one I needed) and it worked just as well with the get_input function code in the process function.

The process and physics process functions are called every frame so by creating a separate function that you call in these process functions you're making the computer jump through extra hoops. Are these extra steps increasing stability or something like that?

johnnygoode
Автор

Thank you for this tutorial. I'm using Godot 4.3 and I've input everything exactly but my character won't move... I've actually tried a few different variations of the movement script and nothing works. It's getting really frustrating.

thevibeott
Автор

pls tell me how to make the 2d physics ( when you jump you fall down)

ihevdabestgaminchair
Автор

great stuff....How about a easy surface water really need a water node for 2D and 3D

hermandarr
Автор

what is the asset pack at the start? did you make them?

skibbl_dev
Автор

can you do tilemaplayer? how to make the maps and stuff

MustaphaRashiduddin-zxrn
Автор

and there a no "move_and_slide" version?

cernos