Volume Control

Get help using Construct 2

Post » Fri Mar 30, 2012 7:49 pm

I don't really get how to use the tag system in construct. Every time i put the name of the sound file i want to change it doesn't respond in game. Can't seem to get the volume control to work.

Does anyone know how to control the volume in construct 2?
B
22
S
5
G
3
Posts: 194
Reputation: 5,885

Post » Fri Mar 30, 2012 8:07 pm

When you play a sound, you get to choose a tag. set this tag to the name of the audio file if you want, then use this tag in the 'set volume' or whatever expression.
B
92
S
30
G
24
Posts: 3,191
Reputation: 32,584

Post » Fri Mar 30, 2012 8:12 pm

Thank you. Do i get rid of the quotations? because i remember putting in the name before and it didn't work.
B
22
S
5
G
3
Posts: 194
Reputation: 5,885

Post » Fri Mar 30, 2012 11:31 pm

Text in Construct 2 expressions must always be in double quotes.

The Audio object is supported to different degrees by different browsers. Try Chrome and see if it works better there.
Scirra Founder
B
378
S
219
G
84
Posts: 23,854
Reputation: 187,881

Post » Sat Mar 31, 2012 7:38 am

Thank you.
B
22
S
5
G
3
Posts: 194
Reputation: 5,885

Post » Sat Mar 31, 2012 9:21 am

@AarongamerX try looking at my sound and music example. I also added a .cpax file for people dig around and understand.

http://www.scirra.com/arcade/addicting-example-games/941/music-and-sound-exampleFuged2012-03-31 18:17:09
B
24
S
6
G
4
Posts: 38
Reputation: 4,786

Post » Sat Mar 31, 2012 11:08 am

@Fuged the link you have added doesn't work o.o
B
52
S
15
G
6
Posts: 795
Reputation: 12,260

Post » Sat Mar 31, 2012 6:18 pm

[QUOTE=zsangerous] @Fuged the link you have added doesn't work o.o [/QUOTE] @zsangerous Updated the link it should work now. Thanks for the comment.
B
24
S
6
G
4
Posts: 38
Reputation: 4,786

Post » Sat Mar 31, 2012 7:12 pm

thanks
B
52
S
15
G
6
Posts: 795
Reputation: 12,260


Return to How do I....?

Who is online

Users browsing this forum: AllanR, bikachu, oosyrag, QuantumMMX, wirelesstkd and 2 guests