HelpWhat does this mean? C++ help

Posts 1–4 of 4 · Page 1 of 1
What does this mean? C++ help
Line 411: Color color = {float((100 - health) / 100.0), float((health) / 100.0), 0.0f, 0.8f};

Google for Colorpicker in Google.
Pick the color you want and have a look at R, G, B.

Make a new color struct: Color color {(<R value> / 255), (<G value> / 255), (<B value> / 255)};
So for Color Pink: Color color {(255 / 255), (0 / 255), (255 / 255)};

So im trying to make my wallhack glow pink in xCode (OS X) asked for help and this is what i got. can someone translate this into easier terms for a beginner to understand
They already said it really simple, you cant really dumb it down more. R means red, g means green, and yeah you guessed it B means blue. RGB ranges from 0 - 255, so if you want pink mix red and blue, Color color {(155 / 255), (0 / 255), (255 / 255)}; or "Color color {(255 / 255), (0 / 255), (255 / 255)};" like they put it.
the glow just stops working
Been over a week since last update/bump after no answers, marked as unresolved.

/Closed.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us