Acceleration and audio do not work together

Get help using Construct 2

Post » Sat Feb 18, 2017 9:27 am

I want to play sound effects when Acceleration works.

However, I tried it with a smartphone but it did not work.

I tried the way to turn off the sprite when I moved the smartphone, but it succeeded.

Of course, it worked on on clicked.

Image
B
5
S
1
Posts: 8
Reputation: 339

Post » Sun Feb 19, 2017 4:08 am

When you click a button it's easy for the event to be true. On clicked, play audio. Your second event might never be true, set something else other than audio like 'destroy object' to check it is even being triggered with the touch. My guess is the touch event never works? Is acceleration ever > 10 ?
B
47
S
18
G
84
Posts: 2,273
Reputation: 49,800

Post » Mon Feb 20, 2017 12:16 am

thank you reply.

・Is acceleration ever > 10 ?
yes

I can not play sound with acceleration.

Image
B
5
S
1
Posts: 8
Reputation: 339

Post » Mon Feb 20, 2017 2:09 am

hi plinkie.

I was able to work the accelerator.

android →with gravity.

thank you plinkie
B
5
S
1
Posts: 8
Reputation: 339


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 30 guests