• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker View Rotation relative to Mouse Movement

T

Thunder Lion

Guest
I was wondering how could I have the view of a game rotate using the mouse movement e.g. like a 3D game allows the player to rotate the view to look toward the direction they want to look at like in Doom, except looking with the mouse?
In this case, however, I would like to use this in a top-down instance, to allow the game to rotate the view at the player decides to move the mouse to aim/look around.
I use to have a gm8 3d engine, I may still have it but need to look for it, that allowed me to do this but at the time I didn't think much of it, it rendered the game in 3D though so any issues with 3D cameras in 2D worlds may have been relevant.
 
Top