• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Check for players screen resolution/aspect ratio

Status
Not open for further replies.
Level 3
Joined
Nov 12, 2018
Messages
43
Is it possible to get the screen resolution or aspect ratio of a player via GUI or jass? I want to assign different cameras to players, based on their screen resolution/aspect ratio. Some video settings cut off vital parts of the screen, if all player are using the same camera.

Or is there another, easy way to fix this problem? :confused:

I don't want to create a dialoge window for each player, asking for their video settings.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,192
I do not think there is a way to do this currently without requiring some form of user input. Even StarCraft II suffered this problem.

I would suggest defaulting to 16:9 and then putting a tip at the start of game that users might have to change their camera by specifying their aspect ratio or resolution.
 
Status
Not open for further replies.
Top