How do I make a directional compass arrow?

Get help using Construct 2

Post » Fri Jan 16, 2015 8:33 am

Hello! Months ago I posted a similar question but never got a response, was hoping someone could help me this time especially because I have a CapX to go with it.

i'm trying to make an arrow that always points toward a desired object, as a compass. I've gotten close using the lerp expression but still can't get it right. Please if you have time check out the capx and let me know if you can help. The red box is the desired object, and the pink arrow is our compass. Thank you :P
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 27
Reputation: 254

Post » Fri Jan 16, 2015 9:00 am

You can create an arrow with main image point in its center. Move arrow's angle as you wish.
Image
B
16
S
7
Posts: 126
Reputation: 1,920

Post » Fri Jan 16, 2015 1:19 pm

I'm guessing you want the compass to point the direction relative to your character, right?

Check this and let me know if it is what you were looking for.

directionalcompass.capx
You do not have the required permissions to view the files attached to this post.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
19
S
5
G
2
Posts: 535
Reputation: 3,237


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, FabianB, Gumbo, Yahoo [Bot] and 48 guests