tips:tapcolor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tips:tapcolor [2015/03/30 19:15] – [Explanation] jt3 | tips:tapcolor [2015/03/30 19:31] – [Explanation] jt3 | ||
---|---|---|---|
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], | ||
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. | ||
Line 37: | Line 39: | ||
Add or remove colors by simply adding or removing colors in the var_color1 array, and changing the function to ensure that the maximum number matches the number of colors. | Add or remove colors by simply adding or removing colors in the var_color1 array, and changing the function to ensure that the maximum number matches the number of colors. | ||
+ | |||
+ | One last thing: | ||
tips/tapcolor.txt · Last modified: 2015/04/24 05:16 by jt3