piedrahitac Posted February 12, 2015 Share Posted February 12, 2015 Hello, I developed a simple hangman game for a client and it works fine except when accessed through a proxy. When I try to access the game through my client's proxy server the resources that are loaded with the method load.image('key', 'path/to/image') fail to load and return a 403 Forbidden HTTP response. However the resources that are loaded with load.spritesheet('key', 'path/to/image', 32, 32) work without any problem. As I said, when I access the game from my home, office, mobile device or any other place that doesn't use a proxy the game works flawlessly, but in my client's offices, the above mentioned behavior happens. Does anyone have a clue why this could be happening? Link to comment Share on other sites More sharing options...
Abderrahmane TJ Posted February 15, 2015 Share Posted February 15, 2015 there must be something with the url you are passing to load.image. looking at the code, I see no difference between the two methods of Loader :spritesheet : http://docs.phaser.io/Loader.js.html#sunlight-1-line-590image : http://docs.phaser.io/Loader.js.html#sunlight-1-line-441 Link to comment Share on other sites More sharing options...
piedrahitac Posted February 27, 2015 Author Share Posted February 27, 2015 there must be something with the url you are passing to load.image. looking at the code, I see no difference between the two methods of Loader :spritesheet : http://docs.phaser.io/Loader.js.html#sunlight-1-line-590image : http://docs.phaser.io/Loader.js.html#sunlight-1-line-441 Hhmmm, that's weird, I'm using the same url for both methods... I'll keep looking into it, any suggestions are always welcome... Link to comment Share on other sites More sharing options...
Recommended Posts