Phaser API Documentation

  Version: 
addPixelate([amount])

Description:

Adds a Pixelate effect.

The pixelate effect is a visual technique that deliberately reduces the resolution or detail of an image, creating a blocky or mosaic appearance composed of large, visible pixels. This effect can be used for stylistic purposes, as a homage to retro gaming, or as a means to obscure certain elements within the game, such as during a transition or to censor specific content.

Parameters:

name type arguments Default description
amount number <optional> 1

The amount of pixelation to apply.

Returns:
Description:

The Pixelate FX Controller.

Since: 3.60.0