Jump to content

Pause / Stop Emitter?


Pixelguy
 Share

Recommended Posts

Hey guys!

 

I started playing around with phaser a few days ago and started my first little project and it's quite fun! :)

 

However I have a problem finding any documentation for available functions. So for understanding the emitter I jumped into the Emitter.js and read the source code. Although it's well commented, it feels a bit strange so just scroll though the code.. Am I missing something obvious? :ph34r:

 

So to my specific question:

Is there a way to pause an emitter?

I've build a little spaceship and want an emitter to be active only while the ships engines is running (While a button is pressed down)

 

What's the best approach here?

 

Thanks in advanced! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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