title: Javascript bullet function / projectile, 2D Game
body: <p>I'm currently trying to modify this piece of code so that my player is able to shoot. I'm stuck where it is at the moment where the player doesn't actually shoot anything (no image is created on space click, though no error outlined), The missiles only need to travel upwards on my canvas. I would prefer if any answers to this question also give some form of learning as I'm interested in actually understanding how to implement this properly as to just needing some kind of quick fix.</p>