Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


tips:dynamiccolor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tips:dynamiccolor [2015/01/22 02:35] – [Examples] rahul_pawatips:dynamiccolor [2015/01/22 02:43] – [Introduction] rahul_pawa
Line 30: Line 30:
 Hexadecimal is a number system that uses base 16, instead of the base 10 that our decimal number system uses. This means the numbers 0-15 can be represented by a single digit, to represent those numbers past 9, alphabet characters are used (i.e. 10 in decimal is A in hexadecimal, 11 is B, 12 is C, 13 is D, 14 is E, and 15 is F). Hexadecimal is a number system that uses base 16, instead of the base 10 that our decimal number system uses. This means the numbers 0-15 can be represented by a single digit, to represent those numbers past 9, alphabet characters are used (i.e. 10 in decimal is A in hexadecimal, 11 is B, 12 is C, 13 is D, 14 is E, and 15 is F).
  
-We can use LUA code in Watchmaker to set the color of an object depending on any of the variables availableand we can even use the variable in the color code itself by using the string functions available to us.+In Watchmaker, you can insert code into the color field by selecting the color field of an object, then tapping the 6 digit color code directly under the check mark. This will open up the standard variable list you see when editing other fields. From here you can use any variable you want to create conditions that will result in different colors, or even create a color that depends on a variable.
  
  
tips/dynamiccolor.txt · Last modified: 2016/07/05 19:32 by wmissimer