I want to use frames from a spritesheet as particles for my emitter.
I load my spritesheet with :
game.load.spritesheet('particles_sheet', 'http://stuff.lck.io/luckyslot/sprite_sheet.png', 50, 50, 6);
var emitter = game.add.emitter(game.world.centerX, canvas_height, 80);
And i need some code to load the right frame at random :
emitter.makeParticles('particles_sheet');
Any idea?