Smooth Rotate object on Touch

Get help using Construct 2

Post » Thu May 02, 2013 5:35 pm

Hi there. I'm trying to use touch controls to make my sprite rotate to an angle wait for 2 seconds and then return back to 0.

I'm having two problems with that.

The first one is that the object rotates only while i keep touching the btn. If I release the touch, the rotation stops and I want it to keep rotating. Basically now it works "on touching" and I need it to work on "touched" (if I understand it right).

The second problem is that with the current setup, once it's done rotating in one direction is starts to behave strangely (shaking) before starting to rotate back. Any help?

The .capx is here
https://www.dropbox.com/s/ocnwxjrh73f7vjn/TouchRotate.capx
B
5
Posts: 48
Reputation: 346

Post » Thu May 02, 2013 6:15 pm

Yo!

Is this what you had in mind?

https://dl.dropboxusercontent.com/u/25721687/TouchRotate_CRN.capx
B
10
S
3
G
2
Posts: 7
Reputation: 2,438

Post » Thu May 02, 2013 6:43 pm

That's exactly it! Thank you!
B
5
Posts: 48
Reputation: 346


Return to How do I....?

Who is online

Users browsing this forum: fredriksthlm, marekmk and 1 guest