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

Collide Once Then Overlap


wordyAllen
 Share

Recommended Posts

Hello,

 

I just started with phaser and I think its great.  However, I'm trying to set it so my player bumps into an object once and then can pass it.  What I currently have is the player  bumping the object off screen. 

update: function() {	game.physics.arcade.collide(player, spriteGroup, this.removeCollision, null, this);},removeCollision: function(player, sprite){		game.physics.arcade.overlap(player, sprite);}

Any insight, tutorial, or reading material is appreciate.

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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