hello to all
In my game, i have a sprite who is moving from left to right with the keyboard touch left-right from the directional pad (platform game)
HOW to tell to my game, when i push "space" and moving to right the sprite shoot to the right side, if im moving to the left and push "space" i need also the same but for the left.
thanks