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

    • CommentAuthoricd2k3
    • CommentTimeJun 1st 2010 edited
     
    Not sure if this is a bug or not, but I can't seem to get black particle colors to work:

    _emitter.addInitializer(new ColorInit(0x000000, 0x000000) );
    _emitter.addInitializer(new ColorInit(0x00000000, 0x00000000) );

    neither of those give me black particles... the closest I could get was dark grey using 0x3D3D3D00.
    • CommentAuthorwormdiet
    • CommentTimeJun 3rd 2010
     
    Your first two digits after the x control transparency. It's working, but you're telling the computer to make them all invisible.

    try using 0xFF000000 for you color codes.
    • CommentAuthoricd2k3
    • CommentTimeJun 3rd 2010
     
    Oooo ok for some reason I thought it was the last 2 digits that controlled transparency, tried 000000FF before too and that didn't work either haha. oops