Phaser.js tutorial
Step 14: Add particle emitters for enemy trails