C
Capptianm
Guest
With my next game, I want the player to be able to resize the game window. One thing I want is a HUD that moves as the window resizes, stuff like the health bar and points moving to the outside of the room as the window gets wider.
The problem is that as the window gets taller and wider, the room scales to fit the window. is there any way to measure the distance between the edge of the room and the edge of the window? if there isn't, is there any way to achieve what I want a different way?
The problem is that as the window gets taller and wider, the room scales to fit the window. is there any way to measure the distance between the edge of the room and the edge of the window? if there isn't, is there any way to achieve what I want a different way?