1 decade ago by TommyBs
Hi,
I've searched the forum and found a few errors like this, but couldn't find a solution to my issue. My game currently won't load due to an "Uncaught Failed to load resource:" error. Looking at the code in loader, it appears the log should spit out the resource it failed to load. However this is empty. All I initially did was try to create a start screen as in the Introducing HTML5 game development book using the same image as they use. This worked fine until I tried to update the image to one of my own. That's when I started to receive the error. Removing the code now still fails to load correctly, as does using the original image. What's weird is there is no path in the error and I can browse to the correct images directly. I'm running this on localhost, but the issue occurs in Chrome and Firefox.
Any ideas would be appreciated
I've searched the forum and found a few errors like this, but couldn't find a solution to my issue. My game currently won't load due to an "Uncaught Failed to load resource:" error. Looking at the code in loader, it appears the log should spit out the resource it failed to load. However this is empty. All I initially did was try to create a start screen as in the Introducing HTML5 game development book using the same image as they use. This worked fine until I tried to update the image to one of my own. That's when I started to receive the error. Removing the code now still fails to load correctly, as does using the original image. What's weird is there is no path in the error and I can browse to the correct images directly. I'm running this on localhost, but the issue occurs in Chrome and Firefox.
Any ideas would be appreciated