This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Demo at http://codepen.io/anon/pen/gbXoXm | |
var game = new Phaser.Game(800, 600, Phaser.AUTO); | |
game.state.add('main', {create: create}); | |
game.state.start('main', true, false); | |
var emitter; | |
function create() { | |
var pSize = game.world.width / 12.5; | |
var bmpd = game.add.bitmapData(pSize, pSize); |