There is a bug, when i continue, the big robot spawned, and when i killed it, nothing else spawned. And btw you can shoot left when looking right.. vise versa
Thank you for pointing that out :) I have appended that to the description of the program:
"I am not quite sure why, but the page has to be refreshed between every game, otherwise the music will be faulty, *the score counter will not work* and the enemies will not spawn"
You store pretty much everything as static variables, which will not act properly after resetting the game. Just change the score and background music to non-static variables, and you should be good.
A new version of this scenario was uploaded on Wed Jan 23 17:17:01 UTC 2013
Working off of the suggestion of MatheMagician (thank you very much again) I have limited the scope of the class variables to a local scope. Thus, the page does not need to be refreshed between games ><
2013/1/22
2013/1/22
2013/1/23
2013/1/23
2013/1/23
2013/1/23
2013/1/23
2013/1/23
2013/1/23