MarsDK

Hello ..

I'm just started, so if you could have some patience I'd be glad ..

I've made my own snakegame and it's alright, but I can't find out how to resize the gamewindow ..

All I see when i search on the net is something about clientbounds, but I cant find anything about changing these ..

If this is a very stupid question I am so sorry, but I've grown tired of googling "resizing" all day, so now I'm asking here ..

How do I change the size/dimensionon the gamewindow, so it's not the standard, but ex. 300x400

Thanks in advance

Mikkel



Re: Game Technologies: Graphics Resizing the gamewindow

Jim Perry

You didn't state what you were using - DirectX, XNA, C++, C#, etc.




Re: Game Technologies: Graphics Resizing the gamewindow

MarsDK

Good point, I'm sorry .. Forgot that ..

I'm using the XNA Game Express Studion tool ..





Re: Game Technologies: Graphics Resizing the gamewindow

Jim Perry

Set the PreferredBackbufferWidth/Height of the GraphicsDeviceManager in the game object's constructor.




Re: Game Technologies: Graphics Resizing the gamewindow

MarsDK

Thank you .. Was very helpful ..