Positional Sound, struggling to get it to work right.

Just started using Construct 2? Post your questions here

Post » Wed Apr 13, 2016 3:25 pm

Message: Grymligast can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi all,

I'm having some issues with Positional Sound.

Little bit of info; I'm doing a game in portrait 1080x1920. The top(ish) part of the screen will be a zone map; so showing things like trees, streams, fires etc, so fairly zoomed out.

As it's more of a zoomed out view, I only want the directional sound of the object played in when the player sprite is almost on top of it (so play when overlapping isn't an option as it will be too late when the sprites overlap), and fading to silent when moving a little bit away from. Hearing the fire from the other side of the "map" sounds stupid, but for the love of me I can't work out the settings to what I'm trying to do.

Is anyone able to just give me a nudge in the right direction? It's very likely i'm not understanding the parameters of play at object. I've read the manual and can't see anything in there, i've also looked at the position audio capx, copied sound at object settings too and it's just not working as i'd like.

Thanks for at least reading my rambling!


[updated] https://www.dropbox.com/s/djqkat95phbg8 ... .capx?dl=0
Last edited by Grymligast on Thu Apr 14, 2016 4:06 pm, edited 1 time in total.
B
12
S
4
G
1
Posts: 44
Reputation: 1,496

Post » Thu Apr 14, 2016 4:36 am

I'll try to give it a look tomorrow, but for now, have you set the listener object to the player?
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Thu Apr 14, 2016 7:54 am

C-7 wrote:I'll try to give it a look tomorrow, but for now, have you set the listener object to the player?


Thanks, and that's first thing on the event sheet :)
In development: Avalon Isle
B
12
S
4
G
1
Posts: 44
Reputation: 1,496

Post » Thu Apr 14, 2016 4:06 pm

I've updated the capx to give more of a visual clue as to what i'm trying to achieve. I'm almost certain i'm getting the variables wrong.

So anything outside the red circle shouldn't be heard at all.
Once you pass the red circle to in-between the red and green you should now start to hear the fire.
Once you pass the green circle the fire should be playing at normal sound

https://www.dropbox.com/s/djqkat95phbg8 ... .capx?dl=0
In development: Avalon Isle
B
12
S
4
G
1
Posts: 44
Reputation: 1,496


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest