Jump to content

My image will not load


akwa6950
 Share

Recommended Posts

Hello guys,

I'm trying to get an image in my game, but it simply will not load. There's nothing wrong with my assets.
this is the error i'm getting : Uncaught DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at file:///C:/Users/Gebruiker/Documents/school/jaar%202/kwartiel%201/project%20creative%20technology/phaser/assets/images/background.jpg may not be loaded.
    at PIXI.WebGLRenderer.updateTexture.  Could it be the size of the image? 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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