How to change 60fps?
by frontakk · in Torque X 2D · 12/28/2009 (11:20 am) · 4 replies
I want to use the Fixed Time Step(60fps)
I changed torqueSettings.xml this line.
<UseFixedTimeStep>true</UseFixedTimeStep>
I succeeded Fixed Time Step, but this is 30fps...
How to change 60fps?
I changed torqueSettings.xml this line.
<UseFixedTimeStep>true</UseFixedTimeStep>
I succeeded Fixed Time Step, but this is 30fps...
How to change 60fps?
About the author
#2
01/02/2010 (5:05 am)
Would that not change the tick interval to 60ms, or 16.67 frames per second? To get 60fps, TickMS would need to be 17, right?
#3
I try this way.
I tried another way 2 days ago.
TargetElapsedTime = new TimeSpan(0, 0, 0, 0, 17);
01/02/2010 (8:10 am)
Thanks comment Jhon and Phillip.I try this way.
I tried another way 2 days ago.
TargetElapsedTime = new TimeSpan(0, 0, 0, 0, 17);
#4
I placed it in the Game.cs, public Game() constructor, but it didn't seem to change anything (I assume it's being overridden), so for know I just used SyncWithVerticalRetrace.
02/18/2010 (2:23 pm)
Out of interest, where did you put the above?I placed it in the Game.cs, public Game() constructor, but it didn't seem to change anything (I assume it's being overridden), so for know I just used SyncWithVerticalRetrace.
Associate John Kanalakis
EnvyGames
<TickMS>60</TickMS>
John K.