Jump to content

Phaser Emitter on collision


Jack
 Share

Recommended Posts

Hi,

 

I just started to use phaser and for my first game i'm trying to do a basic Pong.

I achieved pretty much what i wanted : http://codepen.io/JackMilrin/pen/zGbWPj.

 

But there is one thing that i can't figure out.

The emitter that i have created is supposed to emit when the ball is colliding with the paddle. But after a few trades when the ball is a bit more speedy, the emitter isn't emitting at every hit.

It looks like he's waiting for the previous particules created to disappear before launching another ones.

 

Is there anyway to prevent that behaviour, and emit at each hit regardless the particle already present on the scene.

 

(Sorry if my english is a bit messy)

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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