0

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

Community
  • 1
  • 1
Thijser
  • 2,625
  • 1
  • 36
  • 71
  • Do you try to reproducate' this problem with each canvas level? (eg. slice to layers, and re-test the drawing with each individual layer without the others). Debug tools what say? show any error (console, js debugger or anything? maybe a js waypont-tracer-debugger?) – huncyrus Jun 06 '14 at 14:20
  • What version of Crafty.js are you using? Because that a bug similar was solved in 6.1 of crafty. – Kevin Simper Jul 14 '14 at 15:33

0 Answers0