Posted 14 May 2011 - 03:55 PM
Easiest way? A second view, on top, in which you draw your hud. Some problems arise, such as your second view re-drawing everything, such as the backgrounds. You have to do a view_current check in your draw event to see wether to draw the Stuff or the HUD.
Alternative? Use the rotation scripts such as draw_text_ext, to counteract rotation. You also need to counteract the positional rotational, so instead of drawing text at 5, 5, you'd have to "rotate" 5, 5, around 320, 240, which is:
x_hud = x + x * cos( -view_angle ) - y * sin( -view_angle )
y_hud = y + x * sin( -view_angle ) + y * cos( -view_angle )
x, y are where you WANT to draw. x_hud, y_hud are where they appear on the hud. You also have to account for the view position..