dimanche 20 juin 2021

I have a Phaser project but when I try to load an image appear this error

enter image description here

Hello, I have a Phaser project but when I try to load an image, the console show me this error, I try to reinstall Phaser but I don`t have results

My code

function preload() {
    this.load.image("pajaro", "./assets/bird.png");
    console.log('cargando');}
function create() {
    this.add.image(50, 100, "pajaro")
    console.log('cargado');}



Aucun commentaire:

Enregistrer un commentaire