Jump to content

Phaser Polygon Particle Emitter


Dolan
 Share

Recommended Posts

Is it possible to emit POLYGON particles in Phaser?

 

All I can see is SPRITE emitters. Look at the example below from the official Phaser website:

function preload() {    game.load.image('diamond', 'assets/sprites/diamond.png');}function create() {    game.physics.startSystem(Phaser.Physics.ARCADE);    emitter = game.add.emitter(0, 0, 100);    emitter.makeParticles('diamond');    emitter.gravity = 200;}

'diamond' is the key name of the Sprite.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...