charlie_says Posted May 1, 2014 Share Posted May 1, 2014 I've got a little test which works fine in FF & Chrome, but fails in Safari. Further testing showed, the error appears to be related to Phaser, rather than the test (I think). [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (phaser.map, line 0) [hosted][Error] Failed to load resource: The requested URL was not found on this server. (phaser.map, line 0) [local] Any ideas what may cause that? And, how to fix? Link to comment Share on other sites More sharing options...
Pedro Alpera Posted May 1, 2014 Share Posted May 1, 2014 Read this articles: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/http://code.tutsplus.com/tutorials/source-maps-101--net-29173 This file it is use for debugging, there is no need to fix it, it's not a "real" error You can find this file here: https://github.com/photonstorm/phaser/tree/master/build Link to comment Share on other sites More sharing options...
charlie_says Posted May 1, 2014 Author Share Posted May 1, 2014 Ah, ok.But, I guess the main point is that the test also fails in Safari.Basically, bitmapData.getPIxel32 returns undefined. (A cursory check shows that bitmapData.getPIxel works).(I'm not sure if I'm mixing up 2 separate things here.) Link to comment Share on other sites More sharing options...
rich Posted May 1, 2014 Share Posted May 1, 2014 These are unrelated issues. When doing anything with BitmapData you NEED to update the bmd before running a getPixel on it (BitmapData.update() and then getPixel32). Link to comment Share on other sites More sharing options...
Recommended Posts