Compass/Pointer

Get help using Construct 2

Post » Thu Sep 12, 2013 6:10 pm

This is a good reference to see what I'm looking for.


I'm looking to make my arrow constantly point towards a certain object (always the same one no matter the layout.) Kind of like a waypoint arrow.

Anyway I've tried several combos but please share your ideas as to how to get my pointer to point!

My best combo has been:

Every tick --> (compass) Set angle toward (End.X, End.Y)

This doesn't quite do it.

Thanks
B
20
S
7
G
4
Posts: 322
Reputation: 4,531

Post » Thu Sep 12, 2013 10:35 pm

Why do you think "Every tick --> (compass) Set angle toward (End.X, End.Y)" doesn't do it? What are you looking for?
B
84
S
22
G
15
Posts: 1,039
Reputation: 15,249

Post » Thu Sep 12, 2013 10:44 pm

If you mean that the arrow is at some place other than the player, but should point to the right direction from the player's point of view, then just copy Mipey's tip from your link. And make sure the texture of the arrow faces right when creating it.

Compass | Set Angle to angle(Player.X, Player.Y, End.X, End.Y)
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests