mirror of
https://github.com/wassname/phaser.git
synced 2026-07-29 11:24:31 +08:00
Adjusted delta timer cap and fixed some typos and more examples.
This commit is contained in:
+4
-4
@@ -237,10 +237,10 @@ Phaser.Time.prototype = {
|
||||
this.physicsElapsed = 1.0 * (this.elapsed / 1000);
|
||||
|
||||
// Clamp the delta
|
||||
// if (this.physicsElapsed > 1)
|
||||
// {
|
||||
// this.physicsElapsed = 1;
|
||||
// }
|
||||
if (this.physicsElapsed > 0.05)
|
||||
{
|
||||
this.physicsElapsed = 0.05;
|
||||
}
|
||||
|
||||
// Paused?
|
||||
if (this.game.paused)
|
||||
|
||||
Reference in New Issue
Block a user