Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Postmodern Adventures on Tue 25/05/2021 13:04:14

Title: Strange issue with fx sounds
Post by: Postmodern Adventures on Tue 25/05/2021 13:04:14
Occasionally, some sounds that i put in a simple code like this:

Code (ags) Select

Hhotspot5_Interact()
{
Asound.Play();
}


Doesn't sound anything the first time I click on the hotspot, but it sounds the following times.

I'm using AGS 3.4.3.1 and I never experienced something like this. The only factor that changed since this happened is that I changed my computer.  ???

EDIT: I noticed that only happens when I skip a cutscene.
Title: Re: Strange issue with fx sounds
Post by: Crimson Wizard on Wed 26/05/2021 01:26:01
Quote from: Postmodern Adventures on Tue 25/05/2021 13:04:14
EDIT: I noticed that only happens when I skip a cutscene.

Could you elaborate this? Do you mean that sound does not play while skipping a cutscene and you expect it to, or that sound does not play after skipping a cutscene?
Title: Re: Strange issue with fx sounds
Post by: Postmodern Adventures on Wed 26/05/2021 12:59:18
After skipping the cutscene. Only happens when i do that. And that sound isn't inside the cutscene. It's part of the code of the hotspot (ring a bell, knocking a door...)