Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Player's screen resolution (https://forums.graalonline.com/forums/showthread.php?t=66170)

excaliber7388 05-22-2006 03:10 AM

Player's screen resolution
 
Is there anyway to check for the player's screen resolution? Appanently, some things don't work as well with DR's computer if you use a resolution different from 800x600. I'm hoping to make it change it's views depending on what resolution your monitor is using.

Skyld 05-22-2006 08:53 AM

screenwidth and screenheight tell you the size of the Graal window.

excaliber7388 05-22-2006 04:26 PM

Quote:

Originally Posted by Skyld
screenwidth and screenheight tell you the size of the Graal window.

Yeah, I know that, But I was doing stuff like screen height/10+3 to get stuff perfectly lined up, and at different resolutions, that wasn't working. So now I'm making it all screenheight/10.25 to get everything lined up

ZeLpH_MyStiK 05-24-2006 12:50 AM

Quote:

Originally Posted by excaliber7388
Yeah, I know that, But I was doing stuff like screen height/10+3 to get stuff perfectly lined up, and at different resolutions, that wasn't working. So now I'm making it all screenheight/10.25 to get everything lined up

You shouldnt need to know what client computer resolution is, screenwidth and screenheight should be sufficient. I'm guessing you're doing something wrong.


All times are GMT +2. The time now is 05:49 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.