WBHarry / introduce-me

MIT License
3 stars 3 forks source link

[FeatureSuggestion] Play sound on intro #11

Closed Doresain closed 2 years ago

Doresain commented 2 years ago

So, I will prefix this with: 1) Killer module man, very stylish, great idea, thank you! 2) I will understand if you have no interest in mucking with the sound APIs, I don't either! :)

That said, it would be cool if, when the intro is triggered, a sound effect was also played. This introduces a bunch of potential complexity though:

WBHarry commented 2 years ago

I have actually been thinking about this, and I'm definately going to have a look at it. 🎵😁

The duration of the banner is semi-configurable in the current version actually. The animation time is static, but the time it stays afterwards can be set as a module setting, with a default of 2. I'm also going to add an option to make the banner stay indefinately instead of fading out - with only the dm getting a visible close button to remove it at will.

WBHarry commented 2 years ago

I just released version 0.9.4. You can now add audio to dispositions, templates and individual actors. Simple sounds, themseongs or what-have-you. 🥳 https://github.com/WBHarry/introduce-me/releases/tag/0.9.4