Contact Callbacks
This Example is using the Phaser Box2D Plugin .
/*
* Please wait, loading source from GitHub ...
*
* ______
* //o__o\\
* ( (oo) )
* netpork!
*
*/
Phaser Version:
2.19.1 - Phaser CE
2.19.0 - Phaser CE
2.18.0 - Phaser CE
2.17.0 - Phaser CE
2.16.2 - Phaser CE
2.16.1 - Phaser CE
2.16.0 - Phaser CE
2.15.1 - Phaser CE
2.15.0 - Phaser CE
2.14.0 - Phaser CE
2.13.3 - Phaser CE
2.13.2 - Phaser CE
2.13.1 - Phaser CE
2.13.0 - Phaser CE
2.12.1 - Phaser CE
2.12.0 - Phaser CE
2.11.1 - Phaser CE
2.11.0 - Phaser CE
2.10.6 - Phaser CE
2.10.5 - Phaser CE
2.10.4 - Phaser CE
2.10.3 - Phaser CE
2.10.2 - Phaser CE
2.10.1 - Phaser CE
2.10.0 - Phaser CE
2.9.4 - Phaser CE
2.9.3 - Phaser CE
2.9.2 - Phaser CE
2.9.1 - Phaser CE
2.9.0 - Phaser CE
2.8.8 - Phaser CE
2.8.7 - Phaser CE
2.8.6 - Phaser CE
2.8.5 - Phaser CE
2.8.4 - Phaser CE
2.8.3 - Phaser CE
2.8.2 - Phaser CE
2.8.1 - Phaser CE
2.8.0 - Phaser CE
2.7.10 - Phaser CE
2.7.9 - Phaser CE
2.7.8 - Phaser CE
2.7.7 - Phaser CE
2.7.6 - Phaser CE
2.7.5 - Phaser CE
2.7.4 - Phaser CE
2.7.3 - Phaser CE
2.7.2 - Phaser CE
2.7.1 - Phaser CE
2.7.0 - Phaser CE
2.6.2 - Kore Springs
2.6.1 - Caemlyn
2.6.0 - Fal Moran
2.5.0 - Five Kings
2.4.9 - Four Kings
2.4.8 - Watch Hill
2.4.7 - Hinderstap
2.4.6 - Baerlon
2.4.5 - Sienda
2.4.4 - Amador
2.4.3 - Coramen
2.4.2 - Altara
2.4.1 - Ionin Spring
2.4.0 - Katar
2.3.0 - Tarabon
2.2.2 - Alkindar
2.2.1 - Danabar
2.2.0 - Bethal
2.1.3 - Ravinda
2.1.2 - Whitebridge
2.1.1 - Eianrod
2.1.0 - Cairhien
2.0.7 - Amadicia
2.0.6 - Jornhill
2.0.5 - Tanchico
2.0.4 - Mos Shirare
2.0.3 - Allorallen
2.0.2 - Ghealdan
2.0.1 - Lyrelle
2.0.0 - Aes Sedai
1.1.6 - Shienar
1.1.5 - Saldaea
1.1.4 - Kandor
Theme:
Ambiance
Chaos
Chrome
Cloud9 Day
Cloud9 Night
Cloud9 Night Low Color
Clouds
Clouds Midnight
Cobalt
Crimson Editor
Dawn
Dreamweaver
Eclipse
Github
Idle Fingers
Katzenmilch
KR
Kuroir
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on Dark
Solarized Dark
Solarized Light
Terminal
Textmate
Tomorrow
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night Eighties
Twilight
Vibrant Ink
XCode
Font Size:
View the code for this example:
//github.com/photonstorm/phaser-examples/blob/master/examples/box2d/contact callbacks.js .
Add the full power of Box2D Physics to your Phaser 2 games
User Friendly API
Fully Documented
Getting Started Guide
90 Code Examples
Ropes, Springs, Joints and More
For Phaser 2 / CE only
Download
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.
The powerful editor features Phaser code assists, JavaScript snippets and lots of the features you've come to love in editors like Sublime and Brackets.