Hello, I am trying to make the characters sound when typed, similar to the example published at https://demo.narrat.dev/.
I have saved the sound files letter-1.wav, letter-2.wav, … in public/audio
The audio.yaml configuration file has content similar to the example:
files:
letter-a:
src: audio/letter-1.wav
letter-b:
src: audio/letter-2.wav
letter-c:
src: audio/letter-3.wav
...
options:
volume: 0.5
musicFadeInTime: 0.5
musicFadeInDelay: 0.5
musicFadeOutTime: 0.5
audioTriggers: {}
dialogAudio:
defaultAudio:
soundPerLetter:
prefix: letter-
characterAudio:
boss:
soundPerLetter:
prefix: letter-
player:
soundPerLetter:
prefix: letter-
“boss” is a character in my program.
If in game.narrat I put
play sound letter-a
a beep sounds. But when the texts are written, nothing.
In the common.yaml file inside dialogPanel is animateText: true
I have searched and tried a lot, but I have not found anything. I have not found the configuration files for the example either. Some help?.