How do I object vibrate to the music

Get help using Construct 2

Post » Wed Jul 15, 2015 6:10 pm

I hate to resurrect posts, but ...
actually there is no way to make an object vibrate to the music for mobile with the construct?
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Wed Jul 15, 2015 8:53 pm

Create a Browser object, it has the action " vibrate "
B
6
S
1
Posts: 29
Reputation: 465

Post » Thu Jul 16, 2015 12:07 am

what?
B
25
S
4
G
2
Posts: 99
Reputation: 2,498

Post » Thu Jul 16, 2015 8:32 am

It's not easy by any stretch and would probably involve javascript because you'd have to analyse the frequency of the music.

If the music has a very strong repetitive beat, you may be able to use that as the basis for your vibration - if it is all over the place, you are looking at solutions like analysing the music externally and creating a data item which has the song rythym.
My tutorial through development blog is at http://myconstruct2dev.blogspot.co.uk/
B
12
S
3
Posts: 221
Reputation: 1,328


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests