Skip to content

Commit

Permalink
Moving to variable timestep.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Dec 31, 2012
1 parent 1020ba1 commit 39880d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gf/game.js
Expand Up @@ -66,7 +66,7 @@ gf.Game = function(launchOptions, opt_clock) {
* frames will have some timeAlpha value <= 1.
* @type {boolean}
*/
this.fixedTimestep = true;
this.fixedTimestep = false;

/**
* The duration of each fixed update timestep, in seconds.
Expand Down Expand Up @@ -139,7 +139,7 @@ goog.inherits(gf.Game, gf.Runtime);
* @const
* @type {number}
*/
gf.Game.DEFAULT_FRAME_TIMESTEP_ = 10 / 1000;
gf.Game.DEFAULT_FRAME_TIMESTEP_ = 16.777 / 1000;


/**
Expand Down

0 comments on commit 39880d9

Please sign in to comment.