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
6
G
3
Posts: 194
Reputation: 5,960

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
31
G
24
Posts: 3,191
Reputation: 32,699

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
6
G
3
Posts: 194
Reputation: 5,960

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
399
S
236
G
89
Posts: 24,530
Reputation: 195,402

Post » Sat Mar 31, 2012 7:38 am

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

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
25
S
6
G
4
Posts: 39
Reputation: 4,833

Post » Sat Mar 31, 2012 11:08 am

@Fuged the link you have added doesn't work o.o
B
52
S
16
G
7
Posts: 795
Reputation: 12,830

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
25
S
6
G
4
Posts: 39
Reputation: 4,833

Post » Sat Mar 31, 2012 7:12 pm

thanks
B
52
S
16
G
7
Posts: 795
Reputation: 12,830


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests