Load AVIF, WebP, or JPEG image (Phaser CE)

This is a new feature that lets you load one image from several alternative formats, according to browser support.

this.load.image('flower', [
    'flower.avif',
    'flower.webp',
    'flower.png'
]);

Does this still work on phaser 3?

No, it’s not in Phaser 3.