Projectile Facing with angles

Im making a game where the player shoots arrows at enemy’s trying to invade your fortress.
When the arrow is shot, it should face the direction in which its moving. Yes the arrow should face in diagonals too. Here is the link https://arcade.makecode.com/S73993-77323-63977-14074 and hold A to aim then let go to shoot.

2 Likes

I know how to make your game better. Make a variable called right. When pressing right, set right to 1, when pressing left, set right to 0. If right = 1 set projectile to 100 x 0 y if right = 0 set projectile to -100 x 0 y. This will let the character shoot in both directions. You’re welcome!

I like the player art!