So here’re the codes below from json map file generated from tiled map editor. So my
question is what the gids in objects table refer to.
{ “height”:25,
“infinite”:false,
“layers”:[
{
“draworder”:“topdown”,
“name”:“Object Layer 1”,
“objects”:[
{
“gid”:1,
“height”:477,
“id”:1,
“name”:"",
“rotation”:0,
“type”:"",
“visible”:true,
“width”:798,
“x”:9,
“y”:481
},
{
“gid”:2,
“height”:50,
“id”:2,
“name”:"",
“rotation”:0,
“type”:"",
“visible”:true,
“width”:98,
“x”:809,
“y”:148
}],
“opacity”:1,
“type”:“objectgroup”,
“visible”:true,
“x”:0,
“y”:0
}],
“nextobjectid”:3,
“orientation”:“orthogonal”,
“renderorder”:“right-down”,
“templategroups”:[],
“tiledversion”:“2017.10.11”,
“tileheight”:20,
“tilesets”:[
{
“firstgid”:1,
“source”:“untitled.tsx”
},
{
“firstgid”:2,
“source”:“untitled2.tsx”
}],
“tilewidth”:40,
“type”:“map”,
“version”:1,
“width”:25
}