mirror of
https://github.com/wassname/phaser.git
synced 2026-08-13 12:30:11 +08:00
Preparing for 1.0.6 release, but moving physics changes to dev.
This commit is contained in:
@@ -112,8 +112,15 @@ Phaser.TilemapRenderer.prototype = {
|
||||
layer.tileWidth,
|
||||
layer.tileHeight
|
||||
);
|
||||
|
||||
if (tilemap.tiles[this._columnData[tile]].collideNone == false)
|
||||
{
|
||||
layer.context.fillStyle = 'rgba(255,255,0,0.5)';
|
||||
layer.context.fillRect(this._tx, this._ty, layer.tileWidth, layer.tileHeight);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this._tx += layer.tileWidth;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user