*sound doesn't work

It works on youtube, but not on dashingdon

That’s really strange. Try opening the page in incognito mode (ctrl+shift+n). That may help if an extension or browser cache is at fault.

Even in incognito mode audio is still not playing.

I’m out of ideas then here with this mystery. I will say that if other browsers play the sound at that page, it’s definitely something to do with chrome.

Happy cakeday, btw!

2 Likes

Again: where is the command in relation to the last choice/page_break?

Also: honest question: is sound needed?

Sound is needed because it adds to the atmosphere and currently the command is near the top of the label:

*sound /music/Decay.mp3
*label tea_ceremony

As you enter the corridor that seems to loom before you, you had to duck because of all of the foliage and random brown ivy vines that seem to be decorating```

Plus another scene where the *sound is a factor:

```*label misako_visit
*sound /music/Thats_life.mp3
You are in a nicely furnished room, which was mauve and black. Jazz music starts blaring out of nowhere as you ${sound} back at the noise…```

Where it is in relation to the last *choice or *page_break, not *label?

Label doesnt mean much.
Does the code even come across it? As you have it now (above the label where I assume it’s ought to play) it might be that the code doesn’t trigger

1 Like

I don’t think that’d be the problem, though.
Not even my example can be played on her end.

1 Like

If I’m not mistaken dashingdon stores all media files (images and sound) in default mygame folder. You don’t need the “/music/” part.

if the code e.g. looks like this

*choice
   #thing with sound
      *goto label1
   #thing without sound
      *goto label2

*sound decay
*label1
stuff

the code won’t get the command to play sound.

Then what is the correct code?

I’d say

*label thing1
*sound decay (or decay.mp3)
Text.

If you want the sound to play further into the scene it should be

*label thing1
Text
Text about something happening
*page_break
*sound stuff
Text that something just happened