Close #51 : Set 'blocksvision = false' on a tile's properties to make it see through on a collision layer

This commit is contained in:
2014-07-12 10:31:07 -07:00
parent a62f30ba5c
commit e530233cde
4 changed files with 93 additions and 5 deletions

View File

@@ -344,7 +344,7 @@
{
"sprite_can_see_lightmeter":"0.15",
"sprite_canmove":"false",
"sprite_facing":"up",
"sprite_facing":"down",
"sprite_group":"townsfolk-guard",
"sprite_has_treasure":"true",
"sprite_name":"townsfolk-guard-2"
@@ -352,8 +352,8 @@
"type":"AI",
"visible":true,
"width":0,
"x":320,
"y":608
"x":672,
"y":384
},
{
"gid":3544,
@@ -719,6 +719,25 @@
},
"spacing":0,
"tileheight":32,
"tileproperties":
{
"107":
{
"blocksvision":"false"
},
"109":
{
"blocksvision":"false"
},
"110":
{
"blocksvision":"false"
},
"111":
{
"blocksvision":"false"
}
},
"tilewidth":32
},
{
@@ -854,6 +873,13 @@
},
"spacing":0,
"tileheight":32,
"tileproperties":
{
"121":
{
"blocksvision":"false"
}
},
"tilewidth":32
},
{