animation slower the longer game is played

edited August 2013 in Support
Hi,
I have made my first game based mainly on the tutorial and ThunderFight20xx. Everything works pretty well, but it I am finding after playing for about 2 minutes that the animations start to freeze and stick on the screen.

My script is http://www.dancingintheair.com/website/js/xwinggame.js

and then game can be accessed from this page http://www.dancingintheair.com/website/pages/xwing.html

it is all part of a uni assignment I am completing in designing and interactive site and the game has become one of my main interactive features.

I have played the game on Firefox and Safari where it runs well for 2 minutes and then the above problem occurs, testing on IE 9 & 10 and Google Chrome the problem almost starts immediately.

Any thoughts and suggestions would be greatly appreciated.

Comments

  • Accepted Answer
    I couldn't reproduce the issue but I didn't tried very long. However I found an error in your code that was present in my version of the game: the exact description and the solution can be found in this issue on github: https://github.com/onaluf/gameQuery/issues/17

    Hopes it solves your problem. If it doesn't don't hesitate to ask again !
Sign In or Register to comment.