My student has created a very complex program that is beyond my ability to help.
Here’s the link:
What’s supposed to happen:
Mario moves to the right through the side scroller game using arrow keys
What’s happening:
So far, every time I go close to the end of the game, somewhere around mario.x = 2500 - 3000, or if I hit question blocks farther in the game, code.org freezes and says the page is unresponsive.
What I’ve tried:
I have tried deleting sprites once i’ve gone past them (lagFix() ), i’ve checked for loops that would break it in the hitQuestion() function and the rest of the code, but I don’t even have an idea if its my actual game or just something to do with code.org. (Also, DO NOT use the wasd keys, A and D zoom you around the map for testing, use the arrow keys)