kothic / kothic-js

Kothic JS — a full-featured JavaScript map rendering engine using HTML5 Canvas
http://kothic.org
BSD 2-Clause "Simplified" License
451 stars 46 forks source link

Use single instance of Kothic instead creation of new one for each tile #36

Closed Miroff closed 13 years ago

Miroff commented 13 years ago

Now, each tile creates own instance of Kothic. I've tried to share Kothic instance, but it caused some kind of race-condition issue. We should remove all shared state from Kothic to allow simultaneous tiles rendering.

Miroff commented 13 years ago

Fixed. The problem was in shared CollisionBuffer