How do I play sound when enterying the storm?

Get help using Construct 2

Post » Thu May 21, 2015 8:51 am

Hello guys I'm having problem with the rain so basically what I did is a cloud and & particle rain that is pinned to the cloud and the cloud moves left & right. What I'm trying to do is when you enter that particle rain the sound(Rain) play sound from muted to lauder and lauder and when you leave the storm decrease the sound slowly like fade works.

Thank you for your attention!
B
8
S
3
Posts: 120
Reputation: 989

Post » Thu May 21, 2015 3:41 pm

you can use distance between "cloud" and "player" to set volume...

Capx> http://s000.tinyupload.com/index.php?fi ... 3300072295
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Thu May 21, 2015 6:16 pm

On the start of the layout there is like a strange sound(rain) glitch. It makes volume at 0 for 1 sec and then play it at -15dB because I set it soo when you are inside the building the dB is lower then outside. Does anybody know what is the problem?

Thank you!
B
8
S
3
Posts: 120
Reputation: 989

Post » Fri May 22, 2015 3:32 pm

I guess nobody knows then :(...
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 23, 2015 7:11 pm

@korbaach I love your program! It's cute and well illustrates the point. You are so helpful!!
B
13
S
5
G
4
Posts: 139
Reputation: 2,586

Post » Sat May 23, 2015 8:54 pm

Thank you very much @crypticblonde !
I really appreciate your kind words.. :D
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sat May 23, 2015 9:46 pm

@korbaach thank you for your help! Bud you you have any idea why on the start of layout the sound play as 0dB? then changes to -15dB? Thank you!
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 23, 2015 9:49 pm

@Frap1K at the beginning of my or your capx?
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sat May 23, 2015 10:18 pm

@korbaach On mine, I did it so on star of layout the sound play sound which means probably 0dB I'm unsure! But it's launder on the start of layout! My character spawns in the sprite that when the player collides with it or overlapping sound volume -15dB
When outside then sound volume 0dB! Any ideas? Thank you!
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 23, 2015 10:38 pm

..upload some basic capx(player,building.cloud..)..to see what happens...
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests