Re:Great Tower Defense Game on Canvas
by wanderr on Sunday November 07, 2010 @02:04AM
(#1878898)
In Firefox it always reported >40 fps, however I could see that it was dropping massive amounts of frames, to the point where creeps would be coming in the entrance and then be halfway across the screen.
I really didn't think these sorts of speeds were possible using Canvas, especially when you're completely redrawing the screen each time.
For what it's worth, I unminified the source (from frozendefense.compressed.js) and posted it as a github gist. It makes it easier to peruse.
https://gist.github.com/665991