Skip to main content

Projectile doesnt spawn and stops main playable character from moving Javascript

When I click the right green button it stops the middle circle's movement and doesn't visually show a bullet.

I set the the x-axis the same for the green player and for the bullet but it only stops it's movement. I wanted for it to spawn a rectangle no matter where I am on the x-axis.

Via Active questions tagged javascript - Stack Overflow https://ift.tt/5z1NAW2

Comments