Closed oggnik closed 10 years ago
Utility.drawImage uses the position as the CENTER of the image, this is independent of what the image actually is. I think what might be causing the error is that once it has added the next piece, the image becomes bigger but it isn't shifted back anymore. Maybe...
Right now, the island is in the top left of the canvas. This causes pieces that are added to the top/left to be cut off, leading to bad results.