Handling Collisions In Phaser
Oct 18, 2020
In most modern video games, collisions happen all the time. A game object colliding with another game object can give points, lose lives, win the round, etc.
In Phaser 3, there are a few physics engine to choose from but they all handle collisions between game objects. The example below uses arcade physics for the sprites. The arcade physics engine in Phaser is meant for simple physics. The matter
physics engine in Phaser allows for more complex physics, like adding friction to collisions for emulation more realistic physics.