To the fire as to the platform I add the collider property but when the fire touches the mosaic it does not detect the collision, how can I detect or berify the collision of the fire with the mosaic?
if it can be it is code please. code here: bomberman - CodeSandbox
The pattern for this is
this.physics.add.overlap( group, tilemapLayer, function collide(sprite, tile) { // sprite overlapped a colliding tile … }, function process(sprite, tile) { return tile.collides; }, this );