tips:tapcolor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:tapcolor [2015/03/30 19:46] – [Changing Color Through Tap Action] jt3 | tips:tapcolor [2015/04/24 05:16] (current) – [Explanation] jt3 | ||
---|---|---|---|
Line 3: | Line 3: | ||
A feature that's becoming more and more common, especially with paid watches that can't be edited, is the ability to change the color of an item or items on your watch face via tap action. | A feature that's becoming more and more common, especially with paid watches that can't be edited, is the ability to change the color of an item or items on your watch face via tap action. | ||
- | ===== Examples | + | ===== Example |
==== Main Script ==== | ==== Main Script ==== | ||
Line 19: | Line 19: | ||
- | ==== Color Field of Object ==== | + | ==== Color Field of Object(s) ==== |
| | ||
==== Tap Action ==== | ==== Tap Action ==== | ||
Line 28: | Line 28: | ||
We start in the main script by initializing our variables. | We start in the main script by initializing our variables. | ||
- | Let's take a closer look at that " | + | Let's take a closer look at that " |
- | In an array, we determine which value we want like this: var_color1[1], | + | Since, in an array, a variable can have multiple values, we determine which value we want like this: var_color1[1], |
In the script, we set up a function that acts as a toggle. | In the script, we set up a function that acts as a toggle. |
tips/tapcolor.txt · Last modified: 2015/04/24 05:16 by jt3