o0TarZan0o Posted March 27, 2014 Share Posted March 27, 2014 Well, I just know phaser framework some days, I am reading its get started, phaser requires developer must run websites/apps under web server, it isn't so hard to make it, just some clicks to active apache, I wonder if we have to run apps with web server, clients can run our apps without web server? Link to comment Share on other sites More sharing options...
drhayes Posted March 27, 2014 Share Posted March 27, 2014 Yup, even in development you're going to need to run with a web server. If you're developing in Chrome, for example, it won't let you make XmlHttpRequests when accessing a page at a "file://" domain because it considers almost everything outside of the current directory a different domain. Once the game is made I'm pretty sure you'll still need to serve it somehow since the loader is still using XHR to load the assets. There are different ways to package up the game once it's done, however: node-webkit for a desktop app, CocoonJS for mobile, etc. Is that what you're asking? Link to comment Share on other sites More sharing options...
o0TarZan0o Posted March 27, 2014 Author Share Posted March 27, 2014 Well, really I don't have knowledge enough to understand what you saying, what's a pity, I can focus for my need by giving a simple question. If I want make a game 2d like Mario for mobile, I can do it without care web server? Link to comment Share on other sites More sharing options...
Rocco Posted March 27, 2014 Share Posted March 27, 2014 look here -> http://www.html5gamedevs.com/topic/5107-problem-with-loading-image/ Link to comment Share on other sites More sharing options...
Recommended Posts