How do I ... create metronome movement?

Get help using Construct 2

Post » Fri Nov 14, 2014 1:01 am

Hello all,

Any ideas on how I would make an object (a steering wheel) move like a metronome on touch? In other words, if a user touches the image of the steering wheel, it moves back and forth for a short time.

Thanks!
B
15
S
2
Posts: 229
Reputation: 1,353

Post » Fri Nov 14, 2014 6:22 am

Hi there,

don't know excactly what you're trying to achieve, but wouldn't the sine behaviour be a solution?
Image
B
54
S
24
G
12
Posts: 96
Reputation: 10,316

Post » Fri Nov 14, 2014 12:25 pm

JLH1964 this is simple animation but you can work it out and learn from it
You do not have the required permissions to view the files attached to this post.
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623

Post » Fri Nov 14, 2014 4:16 pm

Hi, JLH1964.

Here is an example. It uses only the sine behavior (as Rjan said). All you have to change is the main origin point (which is set by default in the middle of each sprite). Then, set the sine behavior on Forward/Backward movement, and TACHAAAN! :)
You do not have the required permissions to view the files attached to this post.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Fri Nov 14, 2014 6:08 pm

Thank you all so much. The file kindly supplied by 'thegodo' is exactly what Im looking for.

THANKS TO ALL.
B
15
S
2
Posts: 229
Reputation: 1,353


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, unicornspitfire and 32 guests