My character has an arrow that I want to allow the player to hit space bar and fire. But if he is turned around I want the arrow to fire in the opposite direction and be mirrored. I added the bullet functionality to the arrow but when I check to see if my character is mirrored I set the arrow angle of motion to 180. But my problem is that the arrows already on the screen turn and go in the wrong direction. How can I fix this?
Develop games in your browser. Powerful, performant & highly capable.
If you set the arrows angle directly underneath where the arrow is created, that should cause it to only affect that arrow.