metalslug87 Posted September 20, 2016 Share Posted September 20, 2016 Hello :), is it possible to detect an event when whole player body intersects with ladder tile ? Not only part of it ? (see the attachment below) I am also searching for effective ladder climb example in some phaser platform game Link to comment Share on other sites More sharing options...
drhayes Posted September 20, 2016 Share Posted September 20, 2016 You can define a processCallback on the Arcade.collide method to check that the player sprite is completely within the ladder sprite and only run the collide handler if it returns true. Check out the documentation for http://phaser.io/docs/2.6.2/Phaser.Physics.Arcade.html#collide. Link to comment Share on other sites More sharing options...
metalslug87 Posted September 28, 2016 Author Share Posted September 28, 2016 Thanks! I will try this out Link to comment Share on other sites More sharing options...
Recommended Posts