Make Color Rgb

This function returns a color value.
The "red" argument indicate the red component in the color,
The "green" argument indicate the green component in the color,
The "blue" argument indicate the blue component in the color.

The value of the red, green and blue argument must be a number in this range 0-255.

make_color_rgb(red,green,blue)

You can mix this function with the draw_set_color() function.
This allows you to draw a lot more colors than the built-in colors in Game Maker.

draw_set_color(make_color_rgb(red,green,blue))
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License