• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

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 64
Joined
Jan 18, 2005
Messages
27,266
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