oliversb Posted May 8, 2017 Share Posted May 8, 2017 I am trying to find an efficient way to collide only with left or right world bounds. I have tried copying and editing the collideWorldBounds method into something that supports it and including it in the update method of object instances but I find it just gets stuck on the edge of the screen. Maybe this is because there is a specific order of how things are being processed in Phaser? How do I could I create an efficient method for collideWorldBounds that lets me choose specific sides of the screen? Thanks Link to comment Share on other sites More sharing options...
samme Posted May 8, 2017 Share Posted May 8, 2017 See Phaser.Physics.Arcade#checkCollision Link to comment Share on other sites More sharing options...
oliversb Posted May 10, 2017 Author Share Posted May 10, 2017 On 08/05/2017 at 7:38 PM, samme said: See Phaser.Physics.Arcade#checkCollision Ah I thought this was for general collision but reading this it seems not. Thanks Link to comment Share on other sites More sharing options...
samme Posted May 10, 2017 Share Posted May 10, 2017 I know, the name sounds like that, but it's really only about the world bounds. Link to comment Share on other sites More sharing options...
Recommended Posts