How do I change direction of rotation on click

Get help using Construct 2

Post » Tue Oct 06, 2015 2:05 pm

Hi all :)

Is there a way to stop an object from rotating and then change the direction of rotation when the mouse button is clicked. For example, if the rotation starts clockwise, on click it stops for a second or so, then the rotation goes anti-clockwise ect.

Here is the a link to what I have done so far: https://www.dropbox.com/s/u3kjnvv7yy10ivh/lock_pick.capx?dl=0.

Thanks to everyone in advance for any help provided. :)
B
5
S
1
Posts: 36
Reputation: 451

Post » Tue Oct 06, 2015 2:27 pm

You were already very close..
Just added a second boolean "clockwise"

Lock pick improved (R214)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Oct 07, 2015 9:40 pm

Hey fellow constructor person :) Thanks a lot for your help. Works brilliantly :)
B
5
S
1
Posts: 36
Reputation: 451


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests