I'd like to know if there is a way to auto-detect the resolution of the monitor a game is being played on.
This would be incredibly useful because when games are played on monitors with higher or lower resolution than the game is made for, the mouse position is miscalculated.
If auto-detecting isn't possible, is there any way to prevent this error?
Please help!
Auto-Detect Monitor Resolution
Started by Lemoncreme, May 18 2012 02:39 AM
2 replies to this topic
#1
Posted 18 May 2012 - 02:39 AM
#2
Posted 18 May 2012 - 02:57 AM
display_get_width() Returns the width of the display in pixels.
display_get_height() Returns the height of the display in pixels.
display_get_colordepth() Returns the color depth in bits.
display_get_frequency() Returns the refresh frequency of the display.
display_get_height() Returns the height of the display in pixels.
display_get_colordepth() Returns the color depth in bits.
display_get_frequency() Returns the refresh frequency of the display.
I'm not familiar with this. Maybe someone else can help you out with that, but I've never found the mouse coordinates incorrect.the mouse position is miscalculated.
#3
Posted 18 May 2012 - 03:30 AM
display_get_width() Returns the width of the display in pixels.
display_get_height() Returns the height of the display in pixels.
display_get_colordepth() Returns the color depth in bits.
display_get_frequency() Returns the refresh frequency of the display.I'm not familiar with this. Maybe someone else can help you out with that, but I've never found the mouse coordinates incorrect.the mouse position is miscalculated.
Thanks!!!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











