Open ssammileex opened 9 years ago
I cloned your repository and it doesn't run on my computer either. The page just sits there loading.
Didn't we run into this issue already, or was that someone else? I wonder if you have a global variable or function somewhere named location
with a lowercase "l"... that would certainly cause a problem.
Update: No apparently that is not the problem... it must be something else.
I have the same code saved to my laptop and that is working... I cannot figure out why it is not working when you pull it from git....
It also says that Foyer();, which is the start of the game, is not defined but it is in the file location.js
So you latest commit fixed one issue and at least the game loads up now.
However, as you noted, there are other problems. One is that you have a typo in a script tag (mainGame.html) that prevents the locations.js file from loading. That also causes the undefined Foyer
problem. An image is also not loading for me, but that is simply because you did not add it to the GitHub repository.
What is the typo in the script tag?
Take a look, you should be able to spot it.
I am not quite sure why my program is not working on github.. all my files say they have been updated. On my laptop it is working perfectly fine, but I tried downloading the zip to make sure you could access it okay and it is not working from git. Would you mind looking at my files and see if I am missing anything?