How to make enemy projectiles shoot in the direction of the player?

I’m trying to make a top-down dungeon crawler with a boss that shoots projectiles at the player, how do I make the projectiles shoot in the direction of the player? I want it to shoot where the player initially was when the projectile is created instead of following the player.

Also a bit of extra if you could be bothered, I also want them to launch 3 at the same time but in slightly different directions, working a little like a shotgun.

Here’s what I mean:

3 Likes

Use the darts extension to help you, it’s in the default extentsion list when you click +

1 Like

Here is a Demo of what I think you need:

The Demo uses the Sprite Utils extension:

jwunderl/arcade-sprite-util

This was perfect! It’s also amazing how easy it is to customize! I was able to give the boss phases where it shoots more projectiles at once depending on how much health it has, thanks a bunch!