Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Cues for other events #384

Closed
loansharkmann opened this issue Jul 1, 2021 · 3 comments
Closed

Audio Cues for other events #384

loansharkmann opened this issue Jul 1, 2021 · 3 comments

Comments

@loansharkmann
Copy link

One of the problems I've faced when using Dialogic is the task of having to set up audio events that play once during certain events, like a character portrait introduction/change, or unique sounds for each dialog box. Something like OFF is what I had in mind for this.

@Jowan-Spooner
Copy link
Collaborator

Hey @loansharkmann, I think there is already a dialog sound per character planned, which could help for your idea.

I think it will be very hard to figure out a clean UI for adding sound options to other events. Of course you can just use a Sound Event when a character enters. Also you could listen to the "event_start" signal of the dialog node. You could check the type of event and even it's specifics (like what player entered) and then play a sound or do whatever you want. It requires a bit more understanding of godot, gdscript and dialogic though.

If this is what you were looking for and you need some help, we are available on emilios discord server.

@loansharkmann
Copy link
Author

Well, I was using Audio Events for it, but there were some delays between the portraits showing up and the audio being played, so I wanted to know if a more streamlined way of doing it would be possible. Anyway, thanks!

@coppolaemilio coppolaemilio added this to the Version 2 milestone Jun 19, 2022
@coppolaemilio
Copy link
Collaborator

It would be interesting to make it easier to add sound to events being executed. Events like character join, close dialog, open dialog should all be easy to hookup with sounds. Maybe if we properly emit signals once those events are present we can write a small guide to how to write a global script to handle those sounds. Leaving the issue open to not forget about this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants