Need a 2d sidescroller shooting mechanic

right here is my game

i have been able to get the arms rotate to the mouse location but i am finding it difficult to get a working shooting mechanic that can also shoot towards the mouse

not sure m8

this would help me if i was doing a 3d side scroller but i am creating a paper 2d side scroller :confused:


I was having the same problem to my side scroller game, until I found this tutorial:

It is perfect! Hope it helps you, Good Luck!

Hmm, and isn´t possible to adapt it? Sorry if not helping you. Good luck!

i am going to look into adapting it. thanks for the assistance