Jump to content

Destroying group child in overlap handler produces an error


Recommended Posts

I'm using following code:

game.physics.arcade.overlap(this.clientsSprites, this.movingBeerMugsSprites, this.overlapHandler, null, this);overlapHandler: function(client, mug) {    this.clientsSprites.remove(client, true);},

this.clientsSprites.remove produces an error "Cannot read property 'exists' of undefined phaser.js:58329"

Phaser is latest version.


Anyone faced it?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...