This is designed for Pixel Game Maker MV version 220.127.116.11. If you want to learn more about the engine there is a free 30 day demo to try out! You can find tutorials on my YouTube channel and can contact me through Twitter or Discord!
In this project you will find:
- Cross-hair that follows the mouse
- Player object that looks towards mouse in 360 degrees
- Bullets that fire toward the cross-hair
There are 2 examples of player objects in the project. They both handle the same, it just depends on the level of control you want as far as looking towards the cross-hair. Option 1 makes the player more compact (1 parent, 1 child). Option 2 separates the facing cross-hair logic into its own object (1 parent, 1 child, 1 child of child).