generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: ScreenSize

Previous Thread :: Next Thread 
sora9003 is not online. sora9003
Joined: 07 Apr 2009
Total Posts: 87
07 Jul 2012 11:58 AM
Is there anything I can use to detect the size or when the screen size changes?
Report Abuse
Maelstronomer is not online. Maelstronomer
Joined: 07 Jun 2008
Total Posts: 7649
07 Jul 2012 12:05 PM
I suppose the Changed event and the AbsoluteSize property of ScreenGui would work.
Report Abuse
blacksmithgux is not online. blacksmithgux
Joined: 17 Apr 2011
Total Posts: 376
07 Jul 2012 12:13 PM
Set the relative size to be 1 and then check the value of the AbsoluteSize.
Report Abuse
LordBadcc is not online. LordBadcc
Joined: 02 Mar 2011
Total Posts: 22
07 Jul 2012 12:47 PM
If you have a plugin or a tool, get their mouse and use the ViewSizeX and ViewSizeY properties, otherwise use one of the things that the users above posted.
Report Abuse
sora9003 is not online. sora9003
Joined: 07 Apr 2009
Total Posts: 87
07 Jul 2012 06:50 PM
I mean the size of your actual screen not a gui
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
07 Jul 2012 06:54 PM
Of the ROBLOX screen, or the actual screen resolution?

Report Abuse
noobertuber is not online. noobertuber
Joined: 16 Jan 2007
Total Posts: 2321
07 Jul 2012 06:54 PM
The screen size property of the mouse which LordBac mentioned does give the size in pixels of the screen, unless I am much mistaken.

-God Bless-
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
07 Jul 2012 07:41 PM
"or the actual screen resolution?"

In that case, GG. Even from C++ finding out the screen resolution is quite a task.
Report Abuse
thelastbunny is not online. thelastbunny
Joined: 07 Aug 2009
Total Posts: 2879
07 Jul 2012 08:20 PM
os.execute("WMIC DesktopMonitor get ScreenHeight")
os.execute("WMIC DesktopMonitor get ScreenWidth")
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
08 Jul 2012 12:10 PM
@thelastbunny

I should have made that more clear. I mean the actual pixels-per-inch resolution. Getting the width and height in pixels is easy.
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
08 Jul 2012 03:56 PM
How and why would it change?
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
08 Jul 2012 03:59 PM
Pixels per inch would be impossible unless you have a webcam to look at the screen with a ruler on it...
Report Abuse
thelastbunny is not online. thelastbunny
Joined: 07 Aug 2009
Total Posts: 2879
08 Jul 2012 04:09 PM
Wrong. It would be difficult, as Stravant said, because the only conceivable way I can think of would be to have a large index with every consumer monitor ever.
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
08 Jul 2012 04:20 PM
"the only conceivable way I can think of would be to have a large index with every consumer monitor ever."

There are various 3rd party libraries (such as sfml) that you could use. Also, I think you can do it with Visual C++, but VC++ applications will only run on Windows.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
08 Jul 2012 04:49 PM
aHR0cDovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy81OTkxNTQ2L2hvdy10by1nZXQtdGhlLWN1cnJlbnQtZHBpLW9mLWEtc3lzdGVtLWluLW1mYy1hcHBsaWNhdGlvbg==

:/
Report Abuse
sora9003 is not online. sora9003
Joined: 07 Apr 2009
Total Posts: 87
11 Jul 2012 09:04 AM
Actually, all i really need is a way to detect when your screen size changes
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
11 Jul 2012 09:16 AM
http://www.roblox.com/Ultimate-Anti-Exploit-v0-3b-item?id=85332978

Trioxide did it here. This will help you. I took the script and found it incredibly annoying because of the fact that I often go on Roblox's main app while in-game or just on the Internet to listen to music and whenever I tested the script, it thought I was hacking... But this is what you're looking for I believe.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image