How do I distance the sound effect?

Get help using Construct 2

Post » Wed Jan 11, 2017 2:29 pm

Burvey wrote:The listener object is usually the player sprite. You place the positioned audio on the object where you want the sound to come from. For example, if you have an explosion, you can place the sound to the explosion. Then the closer the listener object (player) is to the explosion, the louder it will be. Of course it's not just the volume, if the explosion is to the right of the player, it will be heard in the right speaker etc.

Edit: By the way, there's an example capx that comes with construct 2 in the example files. If you haven't already, you might want to take a look at it.


Oh i see, thanks for that - But, i just want the sound to be louder or lesser depending if ur close or not. For example rain-sound to be louder if ur closer to the window, and lesser if u walk away from it, but the listener doesnt seem to do anything.

Also its not about right or left speaker, its just about the how loud it plays when ur closer. No matter what i do or how i follow the tutorial, the sound/music plays at same height.
B
12
S
3
Posts: 164
Reputation: 1,530

Post » Wed Jan 11, 2017 3:38 pm

You can post your capx if you want and someone can take a look at it for you.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Wed Jan 11, 2017 3:55 pm

If you search in the examples folder, in c2, I think you should find there what you need.
B
38
S
10
G
9
Posts: 212
Reputation: 6,995

Previous

Return to How do I....?

Who is online

Users browsing this forum: Blendi1223 and 42 guests