Wolfos Posted December 20, 2014 Report 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. Quote Link to comment Share on other sites More sharing options...
Wolfos Posted January 1, 2015 Author Report 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. Quote Link to comment Share on other sites More sharing options...
Massemassimo Posted January 2, 2015 Report 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.