Creating Player Animations and Introducing Enemies in Godot | Game Dev Day 11 - Episode 30
In this video, I dive into day 11 of learning game development with Godot! Today, I focus on refining player animations, adjusting physics properties like jump velocity and gravity, and tackling challenges like collision shapes and sliding mechanics on slopes. This session was packed with iteration and troubleshooting to create smooth and responsive gameplay.
I start by correcting the sprite sheet and setting up animations for walking, idling, and jumping. We explore how to flip the sprite based on movement direction and switch seamlessly between animations depending on player actions. Adding polish to the character's collision and ensuring it interacts well with the environment were key areas of focus.
As I adjusted gravity and jump velocity to get the perfect "feel" for the player's movements, I also added a fun sliding mechanic for slopes. This included a custom implementation allowing the player to slide down slopes when holding a specific input key, with room for future enhancements like unique sliding animations.
Toward the end of the video, I introduced a new element to the game: enemies! I set up an animated slime character as the first enemy, detailing how to create its animations and handle collision shapes. While it’s currently stationary, I brainstorm ideas on how to get it moving and interacting with the player.
Thanks for hanging out as I tackled these challenges and made progress on the platformer! Don’t forget to stick around for the next video as we continue developing gameplay mechanics and refining the overall experience.
🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs