HI all,
Insted of using collision object to define collision i am using tiled map collision editor to mention the collision to the tile(as shown in collision.pgn) but its not working my player(here my player is the building) going through that tile(as shown in building.png) can some one tell me where i am doing it wrong.
still its passing my collision tile....
.
here is my code
update : function (dt) {
....
.....
.....
me.collision.check(this);
.......
.....
......
},
onCollision: function ( response) {
// Make the object solid
return true;
}