running craftyjs (via canvas) and redrawing figuers creates weird lines

159 Views Asked by At

We are working on a browser/JavaScript based game where sprites are regulary redrawn, however doing so creates weird lines after each redraw. We could of course let the hole view redraw after each frame however that would kill performance quite badly. Is there any other way to fix this?

enter image description here

So we are using crafty to draw in isometric view a number of sprites on a canvas, when deleting these sprites weird lines appear and we are looking for a way to net let them appear.

Any suggestion would be helpful as are comments re

0

There are 0 best solutions below