Get Text Colors


red = GenGetTextRed(text)

green = GenGetTextGreen(text)

blue = GenGetTextBlue(text)

alpha = GenGetTextAlpha(text)

These functions return the color settings for the given text. Values returned will be 0 - 100 and may have a fractional component. The alpha is used to set how transparent a text is. Normally all these functions will return 100 percent. If the colors are set to any lower value then the text is tinted by the removal of color.


Game Engine Overview







Become a Patron