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

CodeCraft.zip 23 MB
Oct 09, 2020
CodeCraftLinux.zip 27 MB
Oct 09, 2020
CodeCraft.app.zip 24 MB
Oct 09, 2020

Get Code Craft

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.