animation slower the longer game is played
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.
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
Hopes it solves your problem. If it doesn't don't hesitate to ask again !