photonstorm/phaser — pull request #160 by cocoademon (2013-11-02 06:13:07+00:00)
Title: Add a postUpdate function to plugins

This plugin function is called after world.postUpdate, which is responsible for setting up the camera.

This allows plugins like this Shake plugin: https://gist.github.com/cocoademon/7276093

(In the example, the camera position is restored in postRender, as Phaser appears to base some physics on camera.displayObject.position)