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,855

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
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

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,855

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Sat Mar 31, 2012 7:38 am

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

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
23
S
5
G
4
Posts: 38
Reputation: 4,641

Post » Sat Mar 31, 2012 11:08 am

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

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
23
S
5
G
4
Posts: 38
Reputation: 4,641

Post » Sat Mar 31, 2012 7:12 pm

thanks
B
48
S
15
G
6
Posts: 795
Reputation: 12,035


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot], Zebbi and 22 guests