I've been building a top-down shooter in Kaboom and had to figure out how to shoot bullets from the main player, here is a quick function to calculate the angle of the mouse in degrees in relation to a player. const player = add([ sprite("lenn...

Markdown supported · ⌘↵ to post
No responses yet.