How can I create top down mouse-driven aiming? (Crosshair follows cursor, fires projectiles at cursor location)

darkpivot
Mon, 31 Mar 2014 22:56:57 +0000
UI

So I have my top-down character mechanics in place. How would I go about having a 2D crosshair follow the mouse, so that I could fire projectiles in the direction the crosshair is. It’s in a top-down perspective, so it’s basically a twin-stick shooter mechanic.

42 posts - 1 participant