Building a Player Character in Godot | Learning Game Dev with Godot - Episode 37
In this video, I work on building a controllable 2D player character in Godot while learning the ins and outs of character design and animation. Starting with the basics, I add a CharacterBody2D to make sure it can interact with the world, along with collision shapes to avoid obstacles. Then, I dive into creating walking animations and idle states for all four directions using sprite sheets. I also explore how to set up proper movement mechanics that allow smooth navigation in the game world.
I encounter some challenges along the way, like accidentally deleting nodes and redoing work, but it's all part of the learning process. Additionally, I experiment with functionality like setting up camera follow behavior and refining player movement so that animations respond appropriately to directional input. Throughout the stream, I share my thought process, troubleshoot errors, and try to improve as I learn.
Towards the end, I discuss potential next steps, including adding terrain collision, preventing players from walking out of bounds, and integrating the new map into the game. I also explore animation blending options and scripting methods to enhance gameplay further.
If you're curious about the process of learning Godot or want to see how a game is built step-by-step, this is a great peek into the journey.
🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs