How do I play sound on touch

Get help using Construct 2

Post » Thu Oct 16, 2014 1:40 am

Hello,

I want to play an audio file on touching an object but I think there's something wrong with it.
It works perfectly when I'm testing ( when you press F5 and it loads the app in your browser ) but once I export it to my android phone It won't work ( I'm using PhoneGap export )
Here's the event that I added, please tell me what's wrong with it.

Image
B
3
Posts: 2
Reputation: 179

Post » Thu Oct 16, 2014 8:21 am

maybe you didn't use preload,,
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
2
Posts: 292
Reputation: 6,678

Post » Thu Oct 16, 2014 1:18 pm

Still not working, can you please walk me through this?
Here's what I did hoping that's what you meant,

Image
B
3
Posts: 2
Reputation: 179

Post » Fri Oct 31, 2014 5:26 pm

Same here.
I exported official Space Blaster to Phonegap Build,(C2 r185)
the android apk played no sound.

Samsung Galaxy S2
Android 4.1.2

I searched the whole forum and knew some developers can make sound work on phonegap apk.
please tell me how to do and the testing device.
B
121
S
32
G
8
Posts: 214
Reputation: 13,410

Post » Sun Jul 26, 2015 11:25 am

The same problem. No sound on Samsung (tested on Galaxy S 4 and on note 3)
https://drive.google.com/file/d/0ByR2TXt1oVtHWURIX0tTQzZpSG8/view?usp=sharing

Construct r208
B
10
S
2
Posts: 71
Reputation: 696


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests