Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Loading image from URL


Ananth
 Share

Recommended Posts

hi,

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

 Share

  • Recently Browsing   0 members

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