Hi there, does anyone know how to create/have examples of a 2D platform shooter that utilizes mouse aiming?
I don't know of any off hand, but a way you could go about it is have two sprites for the player. One of the legs and on for the torso. Put the hotspot of both sprites at the waist and give the legs the platform behavior.
Then use an event like this:
---torso: set position to legs
---torso: set angle toward position (mousex, mousey)
Develop games in your browser. Powerful, performant & highly capable.
Thanks for replying, that really helped!
Edit: Since I've already made a post, can I also ask how to add music and sound effects?