How do I rotate using touch controls for top down game

Get help using Construct 2

Post » Sun Dec 07, 2014 3:07 am

I can figure out touch controls for side scrollers rather easy, however I'm doing a top down shooter game, and it's proving to be really difficult.

You can obviously go up, down, left, and right but I want you to be able to rotate and face that direction that you're traveling in, so you can shoot that way also.

So far "rotate clockwise/counter-clockwise" has lead to iffy results. Any ideas?

thanks!
B
4
Posts: 78
Reputation: 606

Post » Mon Dec 08, 2014 3:53 am

Have you tried Rotate towards Touch.x/Touch.y ?

Or have a sprite move to Touch.x,Touch.Y, and then rotate towards sprite (obviously the sprite is invisible)
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,699


Return to How do I....?

Who is online

Users browsing this forum: dop2000, namaewayukidesu, Yahoo [Bot] and 9 guests