mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 14:10:42 +00:00
Merge pull request #5285 from samme/feature/arcade-config-fixedstep
Add ArcadeWorldConfig.fixedStep
This commit is contained in:
commit
4af38a4836
2 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,7 @@ var World = new Class({
|
|||
* @default true
|
||||
* @since 3.23.0
|
||||
*/
|
||||
this.fixedStep = true;
|
||||
this.fixedStep = GetValue(config, 'fixedStep', true);
|
||||
|
||||
/**
|
||||
* The amount of elapsed ms since the last frame.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @property {number} [fps=60] - Sets {@link Phaser.Physics.Arcade.World#fps}.
|
||||
* @property {boolean} [fixedStep=true] - Sets {@link Phaser.Physics.Arcade.World#fixedStep}.
|
||||
* @property {number} [timeScale=1] - Sets {@link Phaser.Physics.Arcade.World#timeScale}.
|
||||
* @property {Phaser.Types.Math.Vector2Like} [gravity] - Sets {@link Phaser.Physics.Arcade.World#gravity}.
|
||||
* @property {number} [x=0] - Sets {@link Phaser.Physics.Arcade.World#bounds bounds.x}.
|
||||
|
|
Loading…
Reference in a new issue