Game Development Community

Aspect Ratio

by Zilla · in Torque X 2D · 09/12/2008 (1:57 am) · 3 replies

My game is 16:9 and it runs o.k. in a window on the PC.
However on the XBox, it is strechted to the size of the monitor.
I also have a splash screen and I tell him:

splashStyle.PreserveAspectRatio = true;

and it is looking good.

I tried this on the game GUI:

playStyle.PreserveAspectRatio = true;

but it doesn't work. I also played around with the in torqueSettings.xml, but I did not succeed...

#1
09/12/2008 (7:27 am)
Did you disable 16:9 in the Xbox settings?
#2
09/12/2008 (8:35 am)
I can switch the XBox settings to any screen resolution and widescreen on/off value, my game (except the splash screen) will always be strechted vertically on my monitor (not a tv).
#3
09/12/2008 (8:48 am)
I must have overlooked something. I started over again and in torqueSettings.xml I set:

<PreferredBackBufferHeight>720</PreferredBackBufferHeight>
<PreferredBackBufferWidth>1280</PreferredBackBufferWidth>

Everything is o.k.