1 decade ago by ansimuz
Hi
I want to detect when an entity touches the collision map on the oneway tiles (the one with the arrows on weltmeister). I am using the handleMovementTrace and it only works on the solid tiles.
Its there a workaround or a im missing something?
I want to detect when an entity touches the collision map on the oneway tiles (the one with the arrows on weltmeister). I am using the handleMovementTrace and it only works on the solid tiles.
Its there a workaround or a im missing something?
handleMovementTrace: function(res){
this.parent(res);
if(res.collision.x || res.collision.y){
this.kill();
}
}
