make_color_rgb
From ENIGMA
This template shows that the function has not been fully documented. Please remove this template if you have finished documenting the function. Please refer to the Function:Documentation page if you are unaware of the format preferably used when documenting functions. Note importantly that all Game Maker functions should be tagged with the template {{Function:GM}} and ENIGMA functions should be tagged with the template {{Function:ENIGMA}}.
Notation
make_color_rgb(red,green,blue)
Description
Returns a color based off the Red, Green and Blue arguments. Useful in functions like draw_set_color or draw_<insert shape name here>_color
Parameters
- List parameters with a description of each.
Return Values
Document return values.
Example Call
//Should draw a nice horizontal line with sea-like colors.
draw_line_color(0,100,100,100,make_color_rgb(0,200,100),make_color_rgb(0,100,200))
draw_line_color(0,100,100,100,make_color_rgb(0,200,100),make_color_rgb(0,100,200))
See also
- make_color_hsv(hue, saturation, value) Makes a color, but using Hue, Saturation and Value instead.
- draw_line_color