- Joined
- Aug 1, 2009
- Messages
- 963
Okay, so I was thinking about making a custom UI that would span all the way from the bottom left corner to the bottom right. However, this is problematic because all UI objects (ie dialogs) are measured in pixels and different monitors have different resolutions.
I can't seem to find a function that can return the width/height of a player's screen in pixels, which means that right now I have to resort to a player manually entering their screen resolution, which is a rather annoying workaround. Not to mention the fact that if say, someone doesn't know their screen resolution they are kinda screwed over.
Has anyone found a way to work around this?
Thanks.
I can't seem to find a function that can return the width/height of a player's screen in pixels, which means that right now I have to resort to a player manually entering their screen resolution, which is a rather annoying workaround. Not to mention the fact that if say, someone doesn't know their screen resolution they are kinda screwed over.
Has anyone found a way to work around this?
Thanks.