saf66/393-project — Issue #2: Redrawing entire canvas is inefficient
Author: saf66
Created: 2011-11-11 03:46:47+00:00
State: open

In Game.movePiece the entire canvas is redrawn whenever the mouse is moved. This is obviously very inefficient, but I can't think of any other solution at the moment. I tried using ctx.save() and ctx.restore(), but they did absolutely nothing.