Hi everybody! , first of all sorry for my bad english and for this "noob" question. But i have a problem doing my first game.
My problem is...
When my player is looking to the right and I touch a key of the keyboard ( in this case the "S" ) my player does the animation of firing a arm , and fires a bullet that goes straight forward ( to the right of the screen). But when im looking to the left and i press the "S", the bullet keeps going to the right and not to the left.
¿How do i do the bullet go to the direction that my character is looking?
Thanks for the help!