Sound And Music Files Not Playing Until i Click On The Screen

I am trying to get sound effect to play as text and buttons appear on the screen.

Once the scene is previewed, the sound effects should play as soon as the two pieces of text and button appear on the screen. Then after this a music file should start playing once 1 second is up. When the button is hovered a hover sound effect would play once and when clicked it would play an effect and change it to the next scene.

Instead, the sound effects, music file and hover sound wont play until I click anywhere on the screen and when I do, every sound on the scene would play at the same time.

1 Like

2 possible reasons.

First, if you’re using the web version.

2nd, are you preloading the audio?

See:
https://wiki.gdevelop.io/gdevelop5/all-features/audio/

1 Like

I’ve added a scene before the title screen, so now you have to press C to continue. Now all of the sounds on the scene play when they should do. Thank you so much for sorting this out, much appreciated.

2 Likes