Fork me on GitHub
Not signed in (Sign In)
    I am starting with Flint, it's nice the way how this works.
    I picked this as base to make my version:
    The particles works nice, but when I made a simple adjust:
    addInitializer( new ColorInit( 0xFF0000, 0xFFFFCC00 ) );
    When I just changed the first color as showed above, the particles doesn't works anymore.
    Just works when I put the first color as the same of showed in example.
    Why this happens? How I can get more colors as I need into this particle?
    Does anyone have a advice?Or saw this too?
    • CommentAuthorRichard
    • CommentTimeApr 30th 2013
    The colors are 32bit ARGB values - the first FF is the alpha value. So you probably want

    addInitializer( new ColorInit( 0xFFFF0000, 0xFFFFCC00 ) );