The Color Update
Code Craft » Devlog
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
Code Craft
Make Your Own Games
Status | In development |
Author | Developer Luke |
Genre | Educational, Adventure |
Tags | 3D, Creative, Unity |
Languages | English |
More posts
- Code MovementOct 04, 2020
- Saved ProjectsSep 29, 2020
- Control!Sep 29, 2020
- The Menu UpdateSep 18, 2020
Leave a comment
Log in with itch.io to leave a comment.