Skip to content

Instantly share code, notes, and snippets.

@muzudho
Last active June 5, 2017 21:48
Show Gist options
  • Save muzudho/b46daf01ab78e7b8b5f8c65bc6b12c3d to your computer and use it in GitHub Desktop.
Save muzudho/b46daf01ab78e7b8b5f8c65bc6b12c3d to your computer and use it in GitHub Desktop.
Tiled Map Editor でタイルに地面フラグを設定しようぜ ref: http://qiita.com/muzudho1/items/1cb926c980b8327f093d
※前略
"tileheight":32,
"tilesets":[
{
"columns":32,
"firstgid":1,
"image":"..\/RunAndJump\/Assets\/Resources\/Sprites\/Textures\/Stage_32x32.png",
"imageheight":1024,
"imagewidth":1024,
"margin":0,
"name":"\u5404\u7a2e\u8a70\u3081\u5408\u308f\u305b",
"spacing":0,
"tilecount":1024,
"tileheight":32,
"tileproperties":
{
"32":
{
"Collision":true
},
"33":
{
"Collision":true
},
"34":
{
"Collision":true
},
"35":
{
"Collision":true
}
},
"tilepropertytypes":
{
"32":
{
"Collision":"bool"
},
"33":
{
"Collision":"bool"
},
"34":
{
"Collision":"bool"
},
"35":
{
"Collision":"bool"
}
},
"tilewidth":32,
"transparentcolor":"#000000"
}],
"tilewidth":32,
"type":"map",
"version":"2017.05.26",
"width":30
}
※前略
"renderorder":"right-down",
"tileheight":32,
"tilesets":[
{
"firstgid":1,
"source":"tileset1.json"
}],
"tilewidth":32,
"type":"map",
"version":"2017.05.26",
"width":30
}
{ "columns":32,
"image":"..\/RunAndJump\/Assets\/Resources\/Sprites\/Textures\/Stage_32x32.png",
"imageheight":1024,
"imagewidth":1024,
"margin":0,
"name":"\u5404\u7a2e\u8a70\u3081\u5408\u308f\u305b",
"spacing":0,
"tilecount":1024,
"tileheight":32,
"tileproperties":
{
"32":
{
"Collision":true
},
"33":
{
"Collision":true
},
"34":
{
"Collision":true
},
"35":
{
"Collision":true
}
},
"tilepropertytypes":
{
"32":
{
"Collision":"bool"
},
"33":
{
"Collision":"bool"
},
"34":
{
"Collision":"bool"
},
"35":
{
"Collision":"bool"
}
},
"tilewidth":32,
"transparentcolor":"#000000",
"type":"tileset"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment