Hello,
I can't figure out how to check if my player runs into a tile generated by the Tile Map Editor.
I tried to check if my player collides with the tileType 1:
var collided = $("#player").collision("#tilemap,."+ $.gameQuery.tileTypePrefix + 1 );
if(collided.length > 0){
...
}
Comments
$("#player").collision("#tilemap, .gQ_tileType_0").each(function(){
alert("Success");
});