Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-22-2006, 03:10 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
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.
Reply With Quote
  #2  
Old 05-22-2006, 08:53 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
screenwidth and screenheight tell you the size of the Graal window.
__________________
Skyld
Reply With Quote
  #3  
Old 05-22-2006, 04:26 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
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
Reply With Quote
  #4  
Old 05-24-2006, 12:50 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
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.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:03 AM.


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