Closed AnnonymousNerd87 closed 2 months ago
The first thing I notice is that you don't have a player.js file
I think the issue is the extra closing bracket on line 424 of player.js
I have a player.js file, I just updated it a bit.
I can restore it now, see if it helps
There's a syntax error in your modified player.js preventing it from running
Where is your player.js file? (I'm in github pages)
@landgreen it isn't loading due to a syntax error, but it does exist https://github.com/AnnonymousNerd87/AnnonymousNerd87.github.io/blob/master/js/player.js
I just restored the wipe canvas function I accidentally deleted, testing now
nope, still not working
let me revert the whole player.js file to an original version
I didn't make too much edits in my version, so it should help
@landgreen it isn't loading due to a syntax error, but it does exist https://github.com/AnnonymousNerd87/AnnonymousNerd87.github.io/blob/master/js/player.js
Oh so if you have a syntax error it's hidden in dev tools? I didn't know that.
Yeah, if scripts fail to run it won't show them in the sources tab
I just fixed the syntax error, saving now
it works!
thanks landgreen and kgurchiek, I hadn't noticed the syntax error
this saved me a lot of trouble
man I love indie devs
I recently forked n-gon and made a few dumb changes (the physics for some stuff is different), while removing some smart ones (ammo management, death), and everything was running smoothly. I had made a github pages page (?) and it had worked before, but after committing the changes and waiting for the upload the github pages link went down for a while, then when it came back up only the index.html loaded, so when I tried to start the game nothing happened. I didn't even touch the index.html until then so I don't know what went wrong. Here is the link to the repo: https://github.com/AnnonymousNerd87/AnnonymousNerd87.github.io I have already invited you as a collaborator so we can try to fix it.
not expecting a response soon, I know school days aren't the best time.