Godot 4 Beginner Tutorial — Top-Down Player Movement (GDScript)

Learn how to set up top-down 2D player movement in Godot 4 using GDScript. We cover creating a player scene, importing sprite sheets, setting up collisions, configuring camera zoom, and scripting movement with WASD controls. Perfect for beginners building a pixel art game or survivors-like!

This is one of the video videos for my upcoming Survivor-Like Godot course in gdscript. Stay tuned for release.

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
https://patreon.com/christutorials
https://chris-tutorials.itch.io/


Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops

Art Credits
https://pastebin.com/a1iDC5Tr

00:00 - Intro & Removing Unused Demo Folder
01:12 - Creating the Player Scene
02:30 - Setting Up CharacterBody2D & CollisionShape2D
04:00 - Importing and Adding Sprite to Player
05:45 - Setting Pixel Art Rendering to Nearest
07:00 - Adjusting Sprite and Collision Offsets
08:20 - Saving the Scene and Creating the World
09:30 - Adding Player to World Scene
10:20 - Setting Up Camera2D and Zoom
12:10 - Increasing Project Window Size for Pixel Art
13:45 - Creating and Attaching Player Script
15:20 - Understanding Extends and ClassName in GDScript
17:00 - Adding Export Variable for Player Speed
18:30 - Writing Movement Code with Input.get_vector
20:50 - Setting Up Input Actions (WASD)
22:30 - Handling Movement and Stopping with Velocity
24:10 - Explaining move_and_slide Function
25:30 - Adding Display Name Property to Player
27:00 - Conclusion & What's Next Receive SMS online on sms24.me

TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.

Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.

Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.

TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.

Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.

@YouTubeReaderBot allows you to subscribe to Youtube channels.

By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.

Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.

Look for new videos or channels and share them with your friends.

You can start using our bot from this video, subscribe now to Godot 4 Beginner Tutorial — Top-Down Player Movement (GDScript)

What is YouTube?

YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.