Basically, can I trigger/fire a bullet object at the exact opposite direction of my mouse click / touch point?
What I'm trying to achieve is fire bullet A from the player character at the angle of where the mouse click as well as fire bullet B to the opposite side of the mouse click. If I click in the top right corner of the screen, bullet A will fly towards that point. Then at the same time bullet B will fly towards the opposite direction at the lower left corner of the screen.
My code for the bullet A control is 2 lines of code:
Touch: Is in touch:: Player: Spawn bulletA on layer 0 (image point 0) :: bulletA : Set angle toward (Touch.X, Touch.Y)
I can't figure out properly the code for the bullet B movement. Any help is appreciated, thanks.