ID:260444
 
It should be made so that if u press the maximize button on the layout editor, it resizes the screen to what max would be in your screen resolution.

Also, with this clicked it starts out so that the program starts maximized regardless of resoulution on every computer, and so that i can make everything resize for other resoulutions.

Does byond also got a thing to see screen resolution of players?
Super Silly Stuart wrote:
It should be made so that if u press the maximize button on the layout editor, it resizes the screen to what max would be in your screen resolution.

not exactly sure what you mean


Also, with this clicked it starts out so that the program starts maximized regardless of resoulution on every computer, and so that i can make everything resize for other resoulutions.

You can already use anchors to make everything resize for other resolutions.

Does byond also got a thing to see screen resolution of players?

Dunno :p
Super Silly Stuart wrote:
Does byond also got a thing to see screen resolution of players?

There's nothing built in, but you can send a short javascript to the client that reports the desktop resolution.
client
verb/test()
var/html = {"<head><title>Resolution Detect.</title></head><BODY onLoad=\
'document.location.href="BYOND://?src=\ref
[src]\
&availHeight="+screen.availHeight+"\
&availWidth="+screen.availWidth;'>\
Reporting your screen resolution to the server.</BODY>"}

src << browse(html, "window=resdetect;size=0x0;can_resize=0")

Topic(href, hlist[])
if(hlist["availHeight"])
src << browse(null, "window=resdetect")
world << "[src] reports [hlist["availHeight"]] pixels available height."
if(hlist["availWidth"])
world << "[src] reports [hlist["availWidth"]] pixels available width."
return ..()

This demo uses availHeight and availWidth, which will exclude the space taken up by the taskbar.
In response to Narmanb
Narmanb wrote:
Super Silly Stuart wrote:
It should be made so that if u press the maximize button on the layout editor, it resizes the screen to what max would be in your screen resolution.

not exactly sure what you mean

He means in the layout editor, if you click the maximize button on the game window you are currently designing, it maximizes THAT window so u can easily arrange its contents to the preferred positions :P
In response to DarkBelthazor
Can there be an option that lets the builder force maximized window behavior by default? Like a.. no-resize + maximized?