I poked around the Lime API but I couldn’t find anything in there, so I’m asking here: in Windows builds is there a way to detect if the player has multiple monitors hooked up?
Yes I think so. This was able to provide me display details on my system:
var displays:Array<Display> = [];
for(i in 0...99)
{
try {
var display:Display = System.getDisplay(i);
trace(display.id, display.name, display.currentMode.height, display.currentMode.width);
displays.push(display);
} catch (e) {
break;
}
}
Packages:
lime.system.System
lime.system.Display
2 Likes
Ah! Thank you, this is what I needed!
1 Like