Based on my half assed attempt at understanding how to do this, you should consider the dimensions( x/width/y/height) of your game world within a room, then you want the room to be large enough to simulate rotation of your game world else the corners will get cut.
And then I'm not sure if this is possible or not but using draw_surface_ext you could draw the application surface and rotate it.
That's one idea, if that doesn't work then you could create a sprite from the application surface then draw the sprite and rotate that
But my best guess is using a combination of point_direction and length_dirx/y and vk_left/vk_right to move objects around you like a clock.