Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthorgraxbishop
    • CommentTimeSep 26th 2011
     
    Hi there,

    I would like to know how to add a new particle to an existing emitter once it has started.

    What I currently have is an emitter set up so that it creates a number of particles (which have graphics added to them using ImageClass) using the Blast class. What I would like to do is add more particles (with graphics) into the emitter when something happens, for example a mouse click.

    I thought that the emitter method addParticle() that I found in the online docs would do the job. However, it didn't. I searched through the code and I cannot seem to find that method within the Flint Particle framework.

    Am I missing something obvious?

    Thanks in advance,

    Grax
    • CommentAuthorRichard
    • CommentTimeOct 16th 2011 edited
     
    It sounds like you were using an old version of the library, and the docs for a newer version. Does it work with the current release?