Implementing Dead Zones and NPC Dialogue in Godot | Learning game dev with godot - Episode 32
In this video, I continue developing our platformer game in Godot, focusing on refining gameplay mechanics and exploring new features. The main topics covered include organizing enemy and player elements for improved structure, implementing functionality for dead zones, and brainstorming enhancements for player interactions with game objects and NPCs.
We start by addressing issues with persistent player and enemy behaviors. I delve into reorganizing the project structure to make scenes and scripts more intuitive, specifically refining how enemy and player entities are managed. To enhance gameplay mechanics, I focus on developing the 'dead zone' feature—areas that either damage or eliminate the player upon interaction—and explore making it versatile through damage type enumerations.
While troubleshooting enemy behaviors, I work on collision layer settings and improve how enemies interact with terrain and players, ensuring proper reactions to in-game environments. After resolving these issues, I shift focus to creating a new NPC interaction system. I walk through adding a simple idle NPC to our game and explore incorporating dialogue mechanics. I also investigate available dialogue manager tools, such as Dialogic 2, to build a branching dialogue system where players can interact with NPCs for items or story progression. The groundwork is laid for integrating inventory slots and dialog-triggered actions.
This episode reflects the importance of iteration and discovery within game development, showcasing the problem-solving and creative aspects of building a cohesive experience using Godot.
🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs