How do I rotate from gesture?

Get help using Construct 2

Post » Tue Nov 18, 2014 9:04 pm

Hello,
sorry about this topic title, I know it's not clear, but I have no better idea to say that : I would like to use the touch input to make the player rotate a wheel (kind of like in Ouendan ) : the player make a circle movement on the screen, and the sprite rotate accordingly

here is an example from Ouendan https://www.youtube.com/watch?v=S9A8xcbIeTs&feature=player_detailpage#t=79.

Anyone got an idea?
http://www.schizokoa.com we are a small game jam group, visit us!
B
25
S
6
G
1
Posts: 51
Reputation: 1,934

Post » Wed Nov 19, 2014 4:21 am

If anyone need to do this, I succeeded via basic trigonometry ( atan(X/Y) )
http://www.schizokoa.com we are a small game jam group, visit us!
B
25
S
6
G
1
Posts: 51
Reputation: 1,934


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests