On Object Click = Sound?

Discussion and feedback on Construct 2

Post » Thu Jan 12, 2012 9:51 pm

Hi Guys.

Ive been trying to add a click sound, when i click an object.
I tried several audio formats. Pcm wav, that is imported successfully didnt work either.
I have some background music, that plays fine.

But the "on object clicked" = play click sound
Dosnt work.

Any ideas?
Could it be because of the bg music?
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Thu Jan 12, 2012 10:01 pm

Could you share a .capx of what you tried? PCM wavs should import and play just fine.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Thu Jan 12, 2012 10:03 pm

I got it fixed.
It worked when i uploaded the exported project to my web server.

didnt work when i used "Preview File"
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Thu Jan 12, 2012 10:29 pm

It should work in HTTP preview mode if you've got that working - lots of things don't work in File preview mode which is why we want to remove it!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Fri Jan 13, 2012 5:17 pm

xanxion
i dont wanna be a noob but
what are PCM wavs?
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Fri Jan 13, 2012 5:32 pm

@kbdmaster: it is a sound format. WAV - PCM - Use of PCM for Wavs.

Remember that google is always your friend.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests