Skip to main content
Version: Phaser v4.1.0

Phaser.Types.Core

Scope: static

Source: src/core/typedefs/index.js#L7

Static functions​

AudioConfig​

AudioConfig​

Description:

Config object containing various sound settings.

Source: src/core/typedefs/AudioConfig.js#L1
Since: 3.0.0


BannerConfig​

BannerConfig​

Source: src/core/typedefs/BannerConfig.js#L1
Since: 3.0.0


BootCallback​

BootCallback​

Parameters:

nametypeoptionaldescription
gamePhaser.GameNoThe game.

Source: src/core/typedefs/BootCallback.js#L1
Since: 3.0.0


CallbacksConfig​

CallbacksConfig​

Source: src/core/typedefs/CallbacksConfig.js#L1
Since: 3.0.0


DOMContainerConfig​

DOMContainerConfig​

Source: src/core/typedefs/DOMContainerConfig.js#L1
Since: 3.12.0


FPSConfig​

FPSConfig​

Source: src/core/typedefs/FPSConfig.js#L1
Since: 3.0.0


GameConfig​

GameConfig​

Source: src/core/typedefs/GameConfig.js#L1
Since: 3.0.0


GamepadInputConfig​

GamepadInputConfig​

Source: src/core/typedefs/GamepadInputConfig.js#L1
Since: 3.0.0


ImagesConfig​

ImagesConfig​

Source: src/core/typedefs/ImagesConfig.js#L1
Since: 3.0.0


InputConfig​

InputConfig​

Source: src/core/typedefs/InputConfig.js#L1
Since: 3.0.0


KeyboardInputConfig​

KeyboardInputConfig​

Source: src/core/typedefs/KeyboardInputConfig.js#L1
Since: 3.0.0


LoaderConfig​

LoaderConfig​

Source: src/core/typedefs/LoaderConfig.js#L1
Since: 3.0.0


MouseInputConfig​

MouseInputConfig​

Source: src/core/typedefs/MouseInputConfig.js#L1
Since: 3.0.0


NOOP​

NOOP​

Description:

This callback type is completely empty, a no-operation.

Source: src/core/typedefs/NOOP.js#L1
Since: 3.0.0


PhysicsConfig​

PhysicsConfig​

Source: src/core/typedefs/PhysicsConfig.js#L1
Since: 3.0.0


PluginObject​

PluginObject​

Source: src/core/typedefs/PluginObject.js#L1
Since: 3.8.0


PluginObjectItem​

PluginObjectItem​

Source: src/core/typedefs/PluginObjectItem.js#L1
Since: 3.8.0


RenderConfig​

RenderConfig​

Source: src/core/typedefs/RenderConfig.js#L1
Since: 3.0.0


RenderNodesConfig​

RenderNodesConfig​

Source: src/core/typedefs/RenderNodesConfig.js#L1
Since: 4.0.0


ScaleConfig​

ScaleConfig​

Source: src/core/typedefs/ScaleConfig.js#L1
Since: 3.16.0


TimeStepCallback​

TimeStepCallback​

Parameters:

nametypeoptionaldescription
timenumberNoThe current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout.
averagenumberNoThe Delta average.

Source: src/core/typedefs/TimeStepCallback.js#L1
Since: 3.0.0


TouchInputConfig​

TouchInputConfig​

Source: src/core/typedefs/TouchInputConfig.js#L1
Since: 3.0.0


WidthHeight​

WidthHeight​

Source: src/core/typedefs/WidthHeight.js#L1
Since: 3.16.0