Jump to content

Collide Once Then Overlap


Recommended Posts



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


  • Recently Browsing   0 members

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