How do I make a DIRECTIONAL ARROW?

  • 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.')

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi hope this helps.

  • You probably need to use the LayerToCanvas and CanvasToLayer expressions to convert the object coords to HUD coords before you set the angle.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)