Audio Fix and Dialog System by Kasey Russell
this week i fix a little bug that we had with the audio where it sometimes would play sound and sometimes it wouldn't. I tweaked the volume multiplier in the volume mixer for each audio class. After fixing the audio i went through the game and added background music to each level and sound effects to different actions in the game. My focus for this build was getting dialog setup for our game. I was struggling on how to approach the problem as the main gameplay was going to be click based movement. the player would need to be able to interact with the npcs at a given time to have the dialog pop up. there would also be a hub area where the player would have free movement to interact with npcs. so i began with making a third person controller to setup movement rotation and interaction.
next i made a basic npc that would have a sphere collider and a dialog component so that the player can interact with the npc through dialog. once that was done i stared testing the interact key. it would get all over lapping actors and check for the dialog component. i was having problems getting the dialog so i would print out debugging messages to check the logic in my if checks. once i found out that the dialog component was not being added the the npc properly it was able to get the component from the npc. i tested the functionality to get the dialog lines the npc had and display them. once that was working i made a widget to give the player a proper dialog box.
Get Project Banner
Project Banner
Status | In development |
Author | lazydevstudios |
Genre | Strategy, Adventure |
Tags | Strategy RPG, Turn-based Strategy |
More posts
- Structuring Code in Multi-Interactive Systems by Diogo Vieira Avila3 days ago
- AI please wait - By Daniel Bumbarger3 days ago
- Dialog Relationship and Minimap by Kasey Russell3 days ago
- Main Menu and Combat UI by David Mereles3 days ago
- Controlling the Narrative: Scalable Spawner by Diogo Vieira Avila9 days ago
- Path Finding Situation - By Daniel Bumbarger9 days ago
- Audio System by Kasey Russell15 days ago
- Griding Up An Environment: Bones of a Strategy Game by Diogo Vieira Avila16 days ago
- Animation Synchronization - By Daniel Bumbarger16 days ago
Leave a comment
Log in with itch.io to leave a comment.