How to make a platform-shooter type game?

Ok, I’ve got everything, I have my player, he jumps, goes left to right, he stands on a platform, everything.
BUT-I don’t know how I could make it where he could shoot left and right…
Can someone help?