On Collide Event
* Please wait, loading source from GitHub ...
* __/_ ///
* / _/ \
* \_, __)
* | _\
* / :|
* / \ ;|-
View the code for this example:
//github.com/photonstorm/phaser-examples/blob/master/examples/arcade physics/on collide event.js.
Get the source and assets for every Phaser example from the Phaser Examples GitHub repository.
With literally hundreds of pieces of source code this is an invaluable resource to have available locally.
Online Code Editor
The Phaser Sandbox allows you to code games in your browser without having to download or install anything.