Scale to Full screen

Apr 17, 2011 at 11:47 AM

Is there any way to have the Game window change size so that it occupies the entire plug-in space?

It looks like Height and Width are required on the Game object at runtime (otherwise a validation error is raised). And if I try to change the Height and Width at runtime (after initialization), it seems to ignore the change.

My scenario is to have a game that always takes up the full available plug-in space, even after a browser resize.

Thanks!
-Andy

Apr 19, 2011 at 3:47 AM

http://balder.codeplex.com/discussions/252528

Hi, maybe it would be helpfull.

Coordinator
Apr 19, 2011 at 6:37 AM

Because of the software rendering in SL3/4 - this limitation was enforced. Moving forward with further SL5 development, this limitation can go away and also full-screen support should be added. 

But, for backwards compatibility for now - I could add support for resize, which would be possible on SL3/4 rendering as well - if that is helpful. 

Apr 19, 2011 at 11:22 AM

Thanks, I think it would be great to have support for resize! (Mitrich, thanks for the link but it looks like that is a one-time resize - I would like to resize the Game canvas whenever the browser changes size).