Posted October 09, 2020 by Developer Luke
#color #update #code
In this weeks update, I have finally added color!
Code Additions:
The color of an object is represented by a Vector value (3 numbers).
The first number is R, the amount of red in the color. The second number is G, the amount of green. The third color is B, the amount of blue.
The value of each value is from 0 to 1 for numbers, and 0 to 255 for integers. "Set Color" accepts singular number/integer values, but it will set all values to that one value, resulting in a grey color.
Random vectors can be used to generate random colors.
In the next few updates, I will be focusing on creating global functions and global variables, and more miscellaneous code functions.