Ananth Posted November 29, 2018 Share Posted November 29, 2018 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 More sharing options...
samme Posted November 29, 2018 Share Posted November 29, 2018 What is the page address in your browser? Remove this: 11 hours ago, Ananth said: game.load.baseURL = 'url'; Ananth 1 Link to comment Share on other sites More sharing options...
Recommended Posts