/phaser-cameras-example

An example on creating split screen / multiple cameras with Phaser through RenderTextures

Primary LanguageJavaScript

phaser-cameras-example

An example on creating split screen / multiple cameras with Phaser through RenderTextures

Running

Live view

You can view this example right now in your browser here

Electron

If you have Electron installed globally, you can run 'electron .' in the root directory of this example to give it a try.

Web Server

You can also add this directory to a web server to try it.

Example

lib/game.js and lib/camera.js are fairly heavily commented to explain things as best as I could.