Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Display
/
Alpha
Phaser 4.1.0
Phaser 4 examples
Alpha
5
examples
Examples
5
Bottom Alpha Gradient
Demonstrates how to apply a transparency gradient to an image by setting individual alpha values for its top and bottom corners.
Single Alpha
Demonstrates how to set the transparency level of a single image game object using the setAlpha method.
Top Alpha
Demonstrates setting per-vertex alpha values to create a vertical transparency gradient on an image.
Top Left Alpha
Demonstrates how to set the alpha transparency value specifically for the top-left corner of an image to create a gradient effect.
Tween Corner Alpha
Demonstrates how to independently animate the alpha transparency of individual image corners to create complex gradient transition effects.