Beware of using very short sound samples!

iantommo
09 Oct 2021, 14:40

I discovered that if you play a very short sound sample (under 1 second) in your game as part of a series of scripts, at best,...it won't play.
At worst, it crashes/freezes your game!
If you have a text, then a very short sound (with a wait to finish sound selected option), then a text, then a longer sound. GAME FREEZES.


mrangel
09 Oct 2021, 15:27

Is this on the desktop player or browser? In the latter case, it should be fixable with some JS magic.


Pykrete
18 Oct 2021, 01:30

As a workaround, would adding a second or two of emptiness to the end of the sound file prevent this?


iantommo
19 Oct 2021, 12:18

mrangel
"Is this on the desktop player or browser? In the latter case, it should be fixable with some JS magic."

REPLY: It is the online version of Quest I am using.

Pykrete
"As a workaround, would adding a second or two of emptiness to the end of the sound file prevent this?"

REPLY: Yes, I had to do that for some sounds and then it worked.