Extend the functionality of merge_color to allow for any number of colors to interpolate between.

Example usage:

colors[5] = c_purple;                    // value 1.0
colors[4] = c_blue;                      // value 0.8
colors[3] = c_green;                     // value 0.6
colors[2] = c_yellow;                    // value 0.4
colors[1] = c_orange;                    // value 0.2
colors[0] = c_red;                       // value 0.0

// This will give you half way between Orange and Yellow.
value = color_lerp(colors, .3);  

Check out my other marketplace listings

Stat Panel

Speech Bubble

All Listings

Thanks for viewing!

End User Licence Agreement (EULA).

Changes in 1.0.0

initial commit

Version 1.0.0. Published July 29, 2014

Created with GameMaker: Studio v1.99.180

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Jeff J 09 September 2017


Short, sweet and to the point. Did exactly what I was looking for, and there is no bloat or unnecessary stuff - simple, easy and straight to the point. Love it!

Package contents

Loading, please wait

What is the issue?

Back to Top