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
36
S
8
G
7
Posts: 538
Reputation: 7,923

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
373
S
218
G
84
Posts: 23,446
Reputation: 186,082

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
36
S
8
G
7
Posts: 538
Reputation: 7,923

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
373
S
218
G
84
Posts: 23,446
Reputation: 186,082

Post » Fri Jan 13, 2012 5:17 pm

xanxion
i dont wanna be a noob but
what are PCM wavs?
B
36
S
16
G
16
Posts: 2,223
Reputation: 16,646

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
262
S
93
G
55
Posts: 7,150
Reputation: 67,069


Return to Construct 2 General

Who is online

Users browsing this forum: GOObGONE and 6 guests