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
35
S
8
G
7
Posts: 512
Reputation: 7,813

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
363
S
216
G
75
Posts: 23,120
Reputation: 180,534

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
35
S
8
G
7
Posts: 512
Reputation: 7,813

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
363
S
216
G
75
Posts: 23,120
Reputation: 180,534

Post » Fri Jan 13, 2012 5:17 pm

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

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
253
S
87
G
42
Posts: 7,039
Reputation: 59,293


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests