Basically, I'm making a 2d platformer game and I'm trying to get a sound play at a tv sprite somewhere in the map. I'd like it to be so that you can't hear the sound until you're near the tv, and it gets louder the closer you get to it. I've tried using the 'play sound at object' action, but it doesn't work. If someone could help me with this, it would be great! (Also, sorry if this posts twice, my computer is glitching out)
Hi.
This setup handles sound based on distance and is optimized.
However, I’ve never worked with sound positioning myself, perhaps someone else can offer some advice.
Hi. This setup handles sound based on distance and is optimized. However, I’ve never worked with sound positioning myself, perhaps someone else can offer some advice.
Thanks for replying! I'll give that a try and see if it works. Thanks again!
Construct has a pretty robust Audio Listener action that is part of the Audio Plugin. Esentially you can create a target object and play audio at that object. You can adjust the direction and how loud or quiet the sound gets.
Check out the Audio panning/positioning actions in the audio plugin section of the manual.
construct.net/en/make-games/manuals/construct-3/plugin-reference/audio
Develop games in your browser. Powerful, performant & highly capable.
Construct has a pretty robust Audio Listener action that is part of the Audio Plugin. Esentially you can create a target object and play audio at that object. You can adjust the direction and how loud or quiet the sound gets. Check out the Audio panning/positioning actions in the audio plugin section of the manual. https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/audio
https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/audio
Thanks! I'll check that out.