schell / aeson-tiled

Aeson instances for Tiled map editor types
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Embedded tileset tiles don't parse #9

Closed isovector closed 2 years ago

isovector commented 2 years ago

The tilesetTiles field appears to always be empty. Here's some sample JSON:

...
 "tilesets":[
        {
         "columns":8,
         "firstgid":1,
         "image":"..\/tilesets\/basic.png",
         "imageheight":240,
         "imagewidth":128,
         "margin":0,
         "name":"basic",
         "spacing":0,
         "tilecount":120,
         "tileheight":16,
         "tiles":[
                {
                 "id":0,
                 "properties":[
                        {
                         "name":"walkable",
                         "type":"bool",
                         "value":false
                        }]
                }, 
...

Notice that tiles is a list of {"id": ..., ...} objects, not a map itself.

dpwiz commented 2 years ago

This repository is kinda archived, please file this at its new home.

(for some reason the issue section was disabled there, which is now fixed)

isovector commented 2 years ago

Done. Probably worth archiving this repo properly to avoid future confusion though!

schell commented 2 years ago

I will put this in archive/read-only mode and link to the new repo in the readme. Thanks all!