Open timcooper opened 11 years ago
@timcooper I know this is old, but i think rendering the rectangles on each tile will cause a high performance problem, because it has to redraw them on each frame plus redrawing the images of each tile. So it's better to have TileLayer to represent all the tiles.
The fact that is off to the side might be the real issue.
Using debug and debugFill with a TileLayer on the stage renders a single large rectangular collision mesh off to the side, rather than around the collision tiles.