The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

So i made a scene in it there's this room that has two giant doors open but before that a spotlight will appear if the player get to close to the door (im using an area node to detect the player) and plays a sound effect
So i gave it a test and the audio works although more quite than the editor after that i dragged the scene containing the doors and the spotlight and its sfx to the level i needed it to be in when i get close to the door the spotlight turns on the doors open but i can't hear the sfx, i did some debugging to check if the audio actually plays and it does i simply don't hear it i don't know why please help
Additional information: the format of the sfx is WAV
and as i said in the editor the sound is loud and clear but in the scene it's more quiet
Im using a audioplayer3d node

Godot version 3.4.4
in Engine by (57 points)

try with
AudioStreamPlayer (but not 3D)

1 Answer

+1 vote
Best answer

One thing you could do is make a scene with just the Area2D, the spot light and the music.
Then you just put this scene as child of the main scene (the level where you will use it).

To "debug" it would be easier since there is less nodes in that scene and the scene itself would have full "responsability" for how the sound would play.

by (232 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.