ID:2219540
Mar 1 2017, 1:12 pm
|
|
I need to take a large object screen object, and have it stretch to fill the game window regardless of the client's current view (because they can change it) or scaling mode. southwest to northeast didn't quite work how it wanted it to work. anybody know of any tricks to get byond to do this for me automagically or would I have to fuck around with transforms and individual screen objects for each client. |
In response to Nadrew
|
|
Nadrew wrote:
I'd imagine SOUTHWEST to NORTHEAST didn't work because it creates multiple objects to cover the screen? I thought this was changed in an update, upgrading it to use only a single object with transform() done on it? |
If you want one object to stretch across the screen when the screen varies in size you'd definitely have to use a single screen object for each client, transformed to cover it, like you assumed.
My lighting example actually does this for the darkness plane, it's really just a single square block scaled to client.view*2 (just to be safe).