mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Detect if layer compression is used in a Tiled layer. Display warning and skip layer.
This commit is contained in:
parent
268b13392b
commit
b29a77f4a4
1 changed files with 11 additions and 7 deletions
|
@ -250,6 +250,10 @@ Phaser.TilemapParser = {
|
|||
}
|
||||
curl.data = bytes;
|
||||
}
|
||||
else if(curl.compression){
|
||||
console.warn('TilemapParser.parseTiledJSON - Layer compression is unsupported, skipping layer \'' + curl.name + '\'');
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
var layer = {
|
||||
|
|
Loading…
Reference in a new issue