make_color_rgb

From ENIGMA

Jump to: navigation, search

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))

See also

Personal tools