phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
36.94k stars 7.08k forks source link

Phaser.Particles.Arcade.Emitter in 2.0 (p2 vs Arcade Physics) #480

Closed georgiee closed 10 years ago

georgiee commented 10 years ago

Just a frankly reminder not to forget to migrate the particle emitter to p2. It's not working in the current 1.2 branch.

I'm using this monkey patch for now. Works for my current simple use case, https://gist.github.com/georgiee/9210520

photonstorm commented 10 years ago

Yes it's on my list :) I'm not sure if I will use a p2.Particle or a p2.Rectangle for the objects it emits yet. Maybe I'll make it a constructor option. a Particle would be much more efficient, but may not give the desired results, where-as in some cases it would be fine.

photonstorm commented 10 years ago

Closing as I've started work on it already.