The Color Update
In this weeks update, I have finally added color!
- Color value
- Set Color
- Random vectors
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.
Get Code Craft
Leave a comment
Log in with itch.io to leave a comment.