Hey great game! I'm a bit new to p5js and confused a little on how you got the bullets to shoot in a certain direction. Is there a way you can help me understand? Thanks
Hello! Sorry for seeing your comment late, i created a little project to help you understand the basic idea.
https://editor.p5js.org/kaganatalay/sketches/6X-5nc2Yx
my explanation skills are not so great, so if you have any further questions i would love to answer!