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'
]);
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.