Class: Parameters

Parameters

new Parameters()

List of constants of the FM.js engine.
Author:
  • Simon Chauvin
Source:

Members

<static> AUDIO :String

Identify an audio asset.
Type:
  • String
Source:

<static> COLLIDER_MINIMUM_SIZE :Number

Minimum width and height of a collider, must be equal to the minimum width a tile can have.
Type:
  • Number
Source:

<static> debug :Boolean

Debug mode.
Type:
  • Boolean
Source:

<static> DOWN :String

Identify the down.
Type:
  • String
Source:

<static> DYNAMIC :String

Box2D body type.
Type:
  • String
Source:

<static> FILE :String

Identify a file asset.
Type:
  • String
Source:

<static> FPS :Number

FPS at which the game is running.
Type:
  • Number
Source:

<static> IMAGE :String

Identify an image asset.
Type:
  • String
Source:

<static> KINEMATIC :String

Box2D body type.
Type:
  • String
Source:

<static> LEFT :String

Identify the left.
Type:
  • String
Source:

<static> PIXELS_TO_METERS :Number

Used for Box2D conversion.
Type:
  • Number
Source:
Identify the right.
Type:
  • String
Source:

<static> STATIC :String

Box2D body type.
Type:
  • String
Source:

<static> UP :String

Identify the up.
Type:
  • String
Source: