Hi, I tried to use avif images with a fallback but the fallback is not working.
The avif image in the demo is visible on Chrome and isn’t visible on Edge
It should fall back to a jpg image on Edge.
Phaser version: 3.60.0
Hi, I tried to use avif images with a fallback but the fallback is not working.
The avif image in the demo is visible on Chrome and isn’t visible on Edge
load.image() doesn’t have any fallback. If you give 2 URLs then the second one is used as a normal map, for lighting effects.
Is this post wrong then: Load AVIF, WebP, or JPEG image (Phaser CE)
Is there a way to have fallbacks?
For Phaser 3 you would have to write your own File class.