Fullscreen?
by GRAV · in Torque X 2D · 03/31/2008 (7:59 am) · 3 replies
Anybody know how to get txb game running in fullscreen mode?
#2
true but I may be wrong as I haven't messed w/ that in a while.
04/29/2008 (1:56 pm)
I'm not in front of the code, so don't have an exact answer for you, but you can do it in code, as well as set a flag in the torquesettings.xml file to accomplish full screen support. I believe the flag in xml is
#3
put this code
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<TorqueEngineSettings>
<SimulateFences>true</SimulateFences>
<UseFixedTimeStep>true</UseFixedTimeStep>
<EnableAudio>false</EnableAudio>
<GraphicsClearSettings>
<ClearColor valueOf="Microsoft.Xna.Framework.Graphics.Color.Black"/>
</GraphicsClearSettings>
<WindowsGraphicsManagerSettings>
<!-- game in FullScreen -->
<IsFullScreen>true</IsFullScreen>
<PreferMultiSampling>false</PreferMultiSampling>
<PreferredBackBufferHeight>768</PreferredBackBufferHeight>
<PreferredBackBufferWidth>1024</PreferredBackBufferWidth>
</WindowsGraphicsManagerSettings>
<XboxGraphicsManagerSettings>
<PreferMultiSampling>false</PreferMultiSampling>
<UseDisplaySizeForBackbuffer>true</UseDisplaySizeForBackbuffer>
</XboxGraphicsManagerSettings>
</TorqueEngineSettings>
05/17/2009 (10:40 am)
in the file torqueSettings.xml put this code
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<TorqueEngineSettings>
<SimulateFences>true</SimulateFences>
<UseFixedTimeStep>true</UseFixedTimeStep>
<EnableAudio>false</EnableAudio>
<GraphicsClearSettings>
<ClearColor valueOf="Microsoft.Xna.Framework.Graphics.Color.Black"/>
</GraphicsClearSettings>
<WindowsGraphicsManagerSettings>
<!-- game in FullScreen -->
<IsFullScreen>true</IsFullScreen>
<PreferMultiSampling>false</PreferMultiSampling>
<PreferredBackBufferHeight>768</PreferredBackBufferHeight>
<PreferredBackBufferWidth>1024</PreferredBackBufferWidth>
</WindowsGraphicsManagerSettings>
<XboxGraphicsManagerSettings>
<PreferMultiSampling>false</PreferMultiSampling>
<UseDisplaySizeForBackbuffer>true</UseDisplaySizeForBackbuffer>
</XboxGraphicsManagerSettings>
</TorqueEngineSettings>
Torque Owner Lanny