Jump to content

Loading image from URL


Recommended Posts


I'm try load an image from url for my game.it shows cross origin error.

I try like this,(sample code)

game.load.baseURL = 'url';
game.load.crossOrigin = 'anonymous';
game.load.image('image', 'assets/images');

If anyone know solution to load image from url please help me.

Thanks in advance.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...