What is the best way to make aiming?

so im trying to make a rogue dungeon shooter to test some ideas but i cant find a good way to make aiming. i though of a couple of things, like auto-locking onto nearest enemies or just shooting in the way the player is facing but im not sure if there is better ways. if anyone knows any good ways to do this or any ideas, im open to suggestions! thanks!

You can use the sprite utils extension (fjwunderl/arcade-sprite-util) or angle based code, which works well using the left and right arrows to rotate the aim, like I did in this:

although I made it a bit moe complicated.

1 Like

thanks! ill try making it so you press A to shoot and B to move the aimed direction. the way you made it in your game works really well!

1 Like