phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
34 lines (33 loc) • 2.87 kB
JavaScript
/**
* {object} Phaser.Types.Physics.Arcade.PhysicsGroupConfig
* Phaser.Types.GameObjects.Group.GroupConfig
* 3.0.0
*
* {boolean} [collideWorldBounds=false] - Sets { Phaser.Physics.Arcade.Body#collideWorldBounds}.
* {Phaser.Geom.Rectangle} [customBoundsRectangle=null] - Sets { Phaser.Physics.Arcade.Body#setBoundsRectangle setBoundsRectangle}.
* {number} [accelerationX=0] - Sets { Phaser.Physics.Arcade.Body#acceleration acceleration.x}.
* {number} [accelerationY=0] - Sets { Phaser.Physics.Arcade.Body#acceleration acceleration.y}.
* {boolean} [allowDrag=true] - Sets { Phaser.Physics.Arcade.Body#allowDrag}.
* {boolean} [allowGravity=true] - Sets { Phaser.Physics.Arcade.Body#allowGravity}.
* {boolean} [allowRotation=true] - Sets { Phaser.Physics.Arcade.Body#allowRotation}.
* {boolean} [useDamping=false] - Sets { Phaser.Physics.Arcade.Body#useDamping useDamping}.
* {number} [bounceX=0] - Sets { Phaser.Physics.Arcade.Body#bounce bounce.x}.
* {number} [bounceY=0] - Sets { Phaser.Physics.Arcade.Body#bounce bounce.y}.
* {number} [dragX=0] - Sets { Phaser.Physics.Arcade.Body#drag drag.x}.
* {number} [dragY=0] - Sets { Phaser.Physics.Arcade.Body#drag drag.y}.
* {boolean} [enable=true] - Sets { Phaser.Physics.Arcade.Body#enable enable}.
* {number} [gravityX=0] - Sets { Phaser.Physics.Arcade.Body#gravity gravity.x}.
* {number} [gravityY=0] - Sets { Phaser.Physics.Arcade.Body#gravity gravity.y}.
* {number} [frictionX=0] - Sets { Phaser.Physics.Arcade.Body#friction friction.x}.
* {number} [frictionY=0] - Sets { Phaser.Physics.Arcade.Body#friction friction.y}.
* {number} [maxSpeed=-1] - Sets { Phaser.Physics.Arcade.Body#maxSpeed maxSpeed}.
* {number} [maxVelocityX=10000] - Sets { Phaser.Physics.Arcade.Body#maxVelocity maxVelocity.x}.
* {number} [maxVelocityY=10000] - Sets { Phaser.Physics.Arcade.Body#maxVelocity maxVelocity.y}.
* {number} [velocityX=0] - Sets { Phaser.Physics.Arcade.Body#velocity velocity.x}.
* {number} [velocityY=0] - Sets { Phaser.Physics.Arcade.Body#velocity velocity.y}.
* {number} [angularVelocity=0] - Sets { Phaser.Physics.Arcade.Body#angularVelocity}.
* {number} [angularAcceleration=0] - Sets { Phaser.Physics.Arcade.Body#angularAcceleration}.
* {number} [angularDrag=0] - Sets { Phaser.Physics.Arcade.Body#angularDrag}.
* {number} [mass=0] - Sets { Phaser.Physics.Arcade.Body#mass}.
* {boolean} [immovable=false] - Sets { Phaser.Physics.Arcade.Body#immovable}.
*/