Execution:Game changing size?

Apr 5, 2011 at 6:34 AM

Is it possible?

I need to change width and height of the Execution:Game window in order to fit the sizeble area by adjusting size in code.

But if i change the width and height properties it would change only background of the game but not an visible area of the game itself (game size stays same as xaml)

Maybe there are some reload methods which i missed?

Apr 11, 2011 at 7:30 AM

I've found the interesting thing. Game size can be adjusted only in page constructor (Example MainPage() - after InitializeComponet();). After page loading all size changing will be only for game window and not for game itself. So for me the simple way is to make 2 projects: first for game with parameterized constructor in which i could adjust game size, and the second project for rising content constructor method of the first project in preloaded area.

Coordinator
Apr 11, 2011 at 7:32 AM

Hi,

sorry about the late answer here. 

There is no support for changing the size after initialization now. This is something that is on the list of things to do though. Can't promise anything for when it will be handled though.