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

    • CommentAuthorJolyon
    • CommentTimeNov 10th 2008
     
    I'm hoping Flint might be able to save me a lot of headache.

    Is it possible to have an emitter as a stage instance and then animate it?

    I'd like to be able to animate my emitter along a complex path.

    Cheers.


    Jolyon
    • CommentAuthorRichard
    • CommentTimeNov 10th 2008
     
    Hi Jolyon

    You can't create an emitter as a stage instance, but it does have x and y properties so a lot of animation scripts would work with it.

    Alternatively, you could animate the renderer - it's a little unconventional but would work. The renderer is a Sprite, so it exists on the display list. The emitter is rendered in the coordinate space of the renderer so moving the renderer would move the emitter relative to other display objects.