Hi,
I am trying to use Phaser 3 inside a Cordova App.
My code is really simple. I just present a image on the screen.
class playGame extends Phaser.Scene{
constructor() {
super("PlayGame");
}
create(){
this.add.image(0, 0, "emptytile");
}
}
I have remembered to pre-load the image too:
this.load.image("emptytile", "assets/sprites/emptytile.png");
When I run: cordova run browser
everything works fine and the correct image is diplayed.
However in the ios version…when I run: cordova run ios
The image is not displayed and instead I see a placeholder for the image.
What is the reason for this and how to fix this???