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

    • CommentAuthorMSR
    • CommentTimeFeb 16th 2009 edited
     
    Hi,

    First of all, thanks for such a brilliant particle system. I've been using it for a little while now and have managed to get to grips with most stuff by reading here and in the documentation. However, I have a 'best practice' style question and another query I hope you can help with.

    Firstly, I am currently creating many different emitters, each with one particle each because they all have slightly different behaviors. Is this the correct thing to do or should I be using one emitter that creates many particles? The performance seems to be pretty good as it is.

    My other question is is it possible to make a TextField behave like a particle? I basically want some text to float within some constraints and can't work out how to do it.

    Thanks in advance for your help.
    • CommentAuthorRichard
    • CommentTimeFeb 17th 2009
     
    The image property of a particle can be any display object. Since a textfield is a display object, it should be fine to use that as a particle's image.
    • CommentAuthorRichard
    • CommentTimeFeb 17th 2009
     
    Re: your question - if it works, it's fine. Normally, if the differences are minor I'd try to make a single action with different parameters stored in each particle to account for the differences, but if what you're doing works that's what matters most.
    • CommentAuthorcadqc
    • CommentTimeNov 7th 2009
     
    Using a textfield as particle does not seem to be working...
    I tried extending TextField, MovieClip and Bitmap.

    TextField renders the textfield for a fraction of a second at first and then nothing is shown while converting the textfield into bitmap generates a square with the same width and height as the width of the textfield... the square has one color.

    any idea?

    thanks
    • CommentAuthorcadqc
    • CommentTimeNov 7th 2009
     
    nevermind, got it working.

    http://www.tink.ws/blog/embedding-fonts-in-as3/