Hey, basically i'm experimenting with making a continuous running platformer game where incoming amounts of enemies spawn. The problem I am having is with the bullets. I want it so that the player can only face forwards so what i did was make it so that the players arm cannot go backwards when the mouse (which is used to aim) is behind the player. I have been able to make it so the arm doesn't go backwards however the issue i'm having is that the bullets will still fire behind the player if the mouse is between a radius of 90 to 180 degrees from the player. My method seems to work when the mouse is between 180 to 270 degrees however. If someone could look at my capx and explain what the problem is, i'd be very grateful :)
Im still very new to the program and experimenting but hopefully you can understand what im trying to do :P Event 11 and 12 is what im trying to use to force the direction of the bullet to directly down and up.