Jump to content

Having a hard time uploading HTML5 game


Gritwork
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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:
 
 
that page practically iframes this page
 
 
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
 
 
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.
 
 
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.
Link to comment
Share on other sites

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:
 
 
that page practically iframes this page
 
 
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
 
 
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.
 
 
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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...