How do I Set angle toward touch postion

Just started using Construct 2? Post your questions here

Post » Tue Jul 29, 2014 9:18 am

Hi i'm Jack,

When I set my player's angle towards a touch position everything goes fine but when I release my finger,
the players angle resets itself to the begin angle.

TouchProblem.PNG


Already thanks for helping me out.
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 6
Reputation: 175

Post » Tue Jul 29, 2014 11:29 am

There is much to your current project than just that event. And I'm afraid the issue lies in those other events.

Post/attach your complete capx for us to see what's going on.

This event alone does what you expect it to do. You're probably setting/resetting the angle in another event.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Tue Jul 29, 2014 11:32 am

Thanks for trying to help me

this is my capx

game.capx
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 6
Reputation: 175

Post » Tue Jul 29, 2014 11:34 am

Yes it worked!!

The problem was that the players angle also was set to the mouse x and y

Thanks for helping me
B
3
Posts: 6
Reputation: 175


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 9 guests