Jump to content

outOfBoundsKill not working anymore?

Chupup Games

Recommended Posts

I want the group members get killed, when they leave the screen,

but 'outOfBoundsKill' doesn't seem to work. (Phaser 2.0)


I made a console.log and saw that the members don't get killed even if they leave the screen boundary

this.blocks = game.add.group();        this.blocks.createMultiple(20, 'tiles', 2);        game.physics.enable(this.blocks, Phaser.Physics.ARCADE);        this.blocks.setAll('outOfBoundsKill', true);
Link to comment
Share on other sites


  • Recently Browsing   0 members

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