https://construct3.ideas.aha.io/ideas/C3-I-172
and for the behavior, in-case anyone is interested:
- Code: Select all
Cnds.prototype.CompareTilesAt = function (tx, ty, cmp, t)
{
var tile = this.inst.getTileAt(tx, ty);
if (tile !== -1)
tile = (tile & TILE_ID_MASK);
var tileArray = t.split(",");
var tileCmp = false;
for(var i=0; i<tileArray.length; i++){
if(cr.do_cmp(tile, cmp, parseInt(tileArray[i]))){tileCmp=true; break;}
}
return tileCmp;
};
as far as I can tell from my own uses, it works well.