Jump to content

My Game is not loading from a server but loads in the localhost.


Recommended Posts


Hi,

I have developed ,which is running well in a local machine and also in the LAN, but when the files are uploaded
to the server it stops loading at 86% ,when I see the console there are errors that some resources are missing.
But I have uploaded all files.

 

Please give the solution for me.

 

P.S : I have used cocos2d-html5 as the library.

Link to comment
Share on other sites

If you lookup the URLs of the resources that do not load and try to load them directly in your browser, are you getting a 404?
If so, take a look if the problematic files have really been uploaded to the correct location, or maybe landed in a wrong folder.

Link to comment
Share on other sites

Be careful you aren't getting caught out by a case-sensitive web server. If you are running Windows locally then "PLAYER.png" and "player.png" will both be seen as the same file. But most proper web servers (running on Linux/etc) will give you a 404 if the file is called "PLAYER.png" but the code looks for "player.png".

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...