Tiled "Group Layers"

Hi,

I’m not sure if this is my code doing something wrong. Tiled (the editor) supports Group Layers, which visually allow you to group object and tile layers. I have never used them until now. The map exported as JSON then has instead of

 "layers":[
        {
         "data": ...

nested layers like

 "layers":[
        {
         "id":13,
         "layers":[
                {
                 "data":...

.
Are nested layers in Phaser 3 supported at all? Because now loading some JSON with nested layers as shown above results in map.layers to be empty.

Phaser 3 can’t parse groups yet. There’s already an issue on the Phaser repository, #4099, about this.

1 Like

Ah, thanks. That’s a bummer.