How do I Set angle toward touch postion

Get help using Construct 2

Post » Tue Jul 29, 2014 8:56 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 9:48 am

That's what your event says isn't it..

when in touch set angle, so when not in touch don't set angle..

If you want the player to keep the angle, you should add some event for what to do when not in touch, or in this case it's better to set it at touch end..

on any touch end player set angle to player.angle should work..
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 » Tue Jul 29, 2014 9:56 am

Thanks man I'm going to try it out
B
3
Posts: 6
Reputation: 175

Post » Tue Jul 29, 2014 10:00 am

Thanks or replying to my post LittleStain but it didn't work.

Maybe it didn't work because I'm using chrome emulation.
B
3
Posts: 6
Reputation: 175


Return to How do I....?

Who is online

Users browsing this forum: Lordshiva1948 and 12 guests