NPC Interactions and Adding a Sword in Godot | Learning game dev with godot - Episode 34

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=NQa_xmfFJ-M



Duration: 0:00
44 views
2


In this video, I dive into enhancing NPC interaction systems and introducing sword mechanics within our Godot game project. We focus on implementing features that allow the player to interact dynamically with NPCs, including detecting proximity and initiating dialogues whenever certain criteria are met. This approach involves working with raycasting, signals, and scene transitions to ensure a fluid and responsive experience.

Another central focus is introducing sword mechanics to the game. I walk through the process of creating a mechanism for the player to acquire a sword, track its state in their inventory, and use it for interactions, such as attacking enemies. This includes detecting collisions, modulating NPC appearances, and setting up conditions within dialogues to adjust based on the player's inventory state.

We also work on various other improvements like:
Adding UI elements, such as labels, to guide the player visually during interactions.
Refining dialogue triggers and creating conditional dialogues for NPCs.
Experimenting with an animation system for sword attacks and planning how to handle enemy interactions effectively.

By the end of this video, we've laid the groundwork for a compelling interaction system and taken the first steps towards meaningful combat mechanics.

Stay tuned for the next episode, where we continue building on these features and explore tackling some open-ended issues, like refining attack animations and collision detection for different enemy positions.

🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs




Other Videos By saebynVODs


4 days agoExploring 3D Game Development in Godot: Tower Defense & Dynamic Pathfinding - Episode 44
6 days agoGame Persistence and JSON Serialization | Learning game dev with godot - Ep. 43
2025-10-08Streamlining Player Persistence | Learning game dev with godot - Episode 42
2025-10-05Developing a Platformer: Progression, Saving, and Level Transitions in Godot - Day 15
2025-10-03Refactoring Melee Combat in Godot | Game Dev with Godot - Episode 40
2025-10-01Building Scene Transitions and Debugging Cameras in Godot | Game Dev with Godot - Episode 39
2025-09-28Creating a World Map and Adding Interactions in Godot | Game Dev with Godot - Episode 38
2025-09-26Building a Player Character in Godot | Learning Game Dev with Godot - Episode 37
2025-09-24Building Sword Swipe Mechanics and Exploring Terrain in Godot - Episode 36
2025-09-21Fixing Game Mechanics in Godot: Pause Menu & Dialogue Bugs Solved! - Episode 35
2025-09-19NPC Interactions and Adding a Sword in Godot | Learning game dev with godot - Episode 34
2025-09-17Exploring Dialogic 2 and Game Development with Godot | Learning game dev with godot - Episode 33
2025-09-14Implementing Dead Zones and NPC Dialogue in Godot | Learning game dev with godot - Episode 32
2025-09-12Exploring GitHub Copilot and Lighting Effects in Godot | Game Dev Day 11 - Episode 31
2025-09-10Creating Player Animations and Introducing Enemies in Godot | Game Dev Day 11 - Episode 30
2025-09-07Creating a Basic Platformer in Godot | Day 11 of Game Dev Learning
2025-09-05Creating Parallax Backgrounds in Godot | Chill Sunday Morning Coding - Episode 28
2025-09-03Setting Up Reset Mechanics & Camera Plugins - Exploring Godot Game Development - Episode 27
2025-08-31Building a Platformer in Godot – Chill Sunday Morning Coding | Ep. 26
2025-08-29Animating Mines and Adding Sound Effects: Godot Game Dev Progress - Episode 25
2025-08-27Godot Game Dev: Minesweeper Enhancements | Right-Click Feature & Winning Logic - Episode 24