Gritwork Posted March 1, 2015 Share Posted March 1, 2015 I'm trying to upload my HTML5 game I'm working on to test it on a mobile device. I'm trying to upload it to 000webhost using filezilla but even though it tests fine when checking on my desktop I can't seem to get it to work on the host site. All the assets and .js files are linked properly and I have them in a subfolder when I put it on but all I see is a white screen. Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted March 1, 2015 Share Posted March 1, 2015 need more details.. like URL. Quote Link to comment Share on other sites More sharing options...
Interactive Scripting Posted March 1, 2015 Share Posted March 1, 2015 Make sure you unzip the folder containing all your files and it should load. Try Google drive its fairly easy, and you can make a link on your website that would load a game from that google url. here is a brilliant tutorial http://yal.cc/hosting-html5-games-on-google-drive/ Quote Link to comment Share on other sites More sharing options...
Bilge Kaan Posted March 3, 2015 Share Posted March 3, 2015 Free hosts are really bad. Buy a host (they are not that expensive especially with coupons. I am using Godaddy) or just use clouds like google drive, dropbox to upload your game. Maybe you can use localhost for trying your game. Try Wamp. It is easy to use. I am also using this for testing. Quote Link to comment Share on other sites More sharing options...
speedshuttle Posted March 3, 2015 Share Posted March 3, 2015 I am experiencing similar problem. What I did is I have downloaded html5 page with save as complete page what includes everything (.js) in a separate directory. There's a manifest file along java script runtime . I think resource files are embedded inside java script as a part of construct 2 process. Yet when I upload everything and reference it from website I get blank page. the game is allegdedly free, so I am not sure whether I am doing something wrong, or the file has some sort of protection, or my server has some restrictions, or am I missing something. I couldn't find some official general recommendation on how html5 games should be uploaded and what they necessarily should contain.I know it all depends on specific case so I am going to post down links of what I was doing and what game is in question, so someone might help. ...... game is Killing Moon. it has been uploaded by developer here: http://www.kongregate.com/games/keyosjc/killing-moon that page practically iframes this page http://keyo.me/games/killingmoon/kongregate/index.html than I did this - 'save page as webpage complete' from Chrome and this is how I get one html document which references killing-moon_files which in turn contains bunch of .js scripts such as jquery pathfind and c2runtime.js so what I did is I updated references where needed and uploaded to my server http://www.crazyscarygames.com/games/killing-moon.html but it's not working from there. browser spins and keeps trying to load page until it stops leaving just a blank page But if I iframe index.html directly from kongregate's site everything works well. http://www.crazyscarygames.com/scary-games/killing-moon/ Any advise, plz? Generally, what's the idea of distributing html5 games and how to tell whether developer wants it or not, or how it wants it. It used to be simple with Flash. Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted March 3, 2015 Share Posted March 3, 2015 wtf!! isn't it stealing?? ask the developer if you can publish his/her game!! I am experiencing similar problem. What I did is I have downloaded html5 page with save as complete page what includes everything (.js) in a separate directory. There's a manifest file along java script runtime . I think resource files are embedded inside java script as a part of construct 2 process. Yet when I upload everything and reference it from website I get blank page. the game is allegdedly free, so I am not sure whether I am doing something wrong, or the file has some sort of protection, or my server has some restrictions, or am I missing something. I couldn't find some official general recommendation on how html5 games should be uploaded and what they necessarily should contain.I know it all depends on specific case so I am going to post down links of what I was doing and what game is in question, so someone might help. ...... game is Killing Moon. it has been uploaded by developer here: http://www.kongregate.com/games/keyosjc/killing-moon that page practically iframes this page http://keyo.me/games/killingmoon/kongregate/index.html than I did this - 'save page as webpage complete' from Chrome and this is how I get one html document which references killing-moon_files which in turn contains bunch of .js scripts such as jquery pathfind and c2runtime.js so what I did is I updated references where needed and uploaded to my server http://www.crazyscarygames.com/games/killing-moon.html but it's not working from there. browser spins and keeps trying to load page until it stops leaving just a blank page But if I iframe index.html directly from kongregate's site everything works well. http://www.crazyscarygames.com/scary-games/killing-moon/ Any advise, plz? Generally, what's the idea of distributing html5 games and how to tell whether developer wants it or not, or how it wants it. It used to be simple with Flash. Quote Link to comment Share on other sites More sharing options...
Rudrabhoj Bhati Posted March 5, 2015 Share Posted March 5, 2015 000webhost is not really a good host. Free shared hosts are too good to be true. But if you really want to go this way, I recommend byet host because of previous good exprience, but even they are notorious to supend you if you get too much traffic. I never exprienced it as I never get that traffic. A better solution in free would be use something more reliable like Google Drive. A nice article explaining how. Quote Link to comment Share on other sites More sharing options...
mxmlb Posted March 5, 2015 Share Posted March 5, 2015 how to tell whether developer wants it or not, or how it wants it Maybe by asking it to the developers ?! 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.