Wolfos Posted December 20, 2014 Share Posted December 20, 2014 I'm trying to load a tilemap, and while the images all load fine, every time I try to load the map.json file it just returns a 404 error. I have no idea how Typescript's testing environment gets it's resources, because it doesn't matter if I set it to 'copy always' or just 'don't copy', it always finds the PNG files, never the json. Using Typescript in the latest Visual Studio 2013. Link to comment Share on other sites More sharing options...
Wolfos Posted January 1, 2015 Author Share Posted January 1, 2015 Yeah, so apparently the builtin webserver doesn't serve JSON files. You can get around this by modifying the web.config file. Pretty stupid, but has nothing to do with Phaser. Link to comment Share on other sites More sharing options...
Massemassimo Posted January 2, 2015 Share Posted January 2, 2015 For others coming here with the same problem: Solution can be found here:http://www.html5gamedevs.com/topic/3682-visual-studio-json-failed-to-load-resource-404/ Wolfos 1 Link to comment Share on other sites More sharing options...
Recommended Posts