How do I make a DIRECTIONAL ARROW?

Get help using Construct 2

Post » Sun Aug 31, 2014 9:36 pm

Hey guys, somewhat beginner here.

I've spent some time trying to figure this out as well as googling, but i'm still having trouble: I want to make a directional arrow that will point at other objects depending on the current objective (a la Grand theft Auto or Crazy Taxi.) Anybody know how to do this?

I've gotten the Arrow up on my HUD just fine, but I'm not sure which action(s) will actually rotate the arrow towards a specific position on the layout. I used the "set angle towards position" action & input the Object.X, Object.Y, but the arrow remained fixed no matter where I went on the Layout. Also, it wasn't even pointing at the position I input (I assume this is because I don't know which 'angle' on the Arrow object is the one that is 'set towards position.')
B
4
Posts: 27
Reputation: 254

Post » Sun Aug 31, 2014 10:26 pm

Hi hope this helps.
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sun Aug 31, 2014 10:40 pm

You probably need to use the LayerToCanvas and CanvasToLayer expressions to convert the object coords to HUD coords before you set the angle.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski and 13 guests