Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Collision within a Group


TomFiveThumbs
 Share

Recommended Posts

Yes, it is possible!

 

Just add this to your update function:

game.physics.arcade.collide(group);

In action: http://examples.phaser.io/_site/view_full.html?d=arcade%20physics&f=group+vs+self.js&t=group%20vs%20self

 

 

Dang it! I was trying game.physics.arcade.collide(group, group);

 

So close!

 

thanks Zenryo

Link to comment
Share on other sites

  • 1 year later...
 Share

  • Recently Browsing   0 members

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