The Color Update

In this weeks update, I have finally added color!

Code Additions:

  • 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.

Files 23 MB
Oct 09, 2020 27 MB
Oct 09, 2020 24 MB
Oct 09, 2020

Get Code Craft

Download NowName your own price

Leave a comment

Log in with to leave a comment.