

Now we can test that the color of text with temperature changes when we click on it. This will ensure that these two values will continually change. Thus we say that if mode 1 is to change to 2, otherwise to 1. The command for the script is: var_mode = var_mode = 1 and 2 or 1 G o into the Tap action and select Run Script: Now we have to make the var_mode change when we click on the temperature. Thus we say: if var_mode is equal to one, use green, otherwise red. Let's go to the text layer with the temperature and change the Color property: var_mode = 1 and '00ff00' or 'ff0000' This is how we have created a variable that tells us what mode we are using. G o down and select Script and write a simple line here: var_mode = 1 Press icon of watch in the left down corner. Now it will be a little more complicated. What if we wanted the color to change with the actual temperature when we click on it? (I believe you will be able to handle the color based on the temperature yourself.) Now, when you click on the weather icon, the pre-installed weather forecast application starts. We are going to the weather icon, properties, Tap action - well, but the weather is not there! So we select Watch: Select application and find Weather. The weather icon we've created could also do something, like a detailed forecast. So 0-30% will be red, 31-85% white and over 85% green. If the battery is above 85%, use green (R G B), if not more than 30%, use white, otherwise red. If we want the motion to be smooth, we will change the Rotation property setting so that instead of > 30 and 'ffffff' or 'ff0000' We see that the second hand jumps in seconds. When we leave the editor, we can check how the watchface piece looks. Only preset values for hours, minutes, and seconds are meaningful for rotation. If you're curious and click on that feature, you can explore what's all about. We see that they have a preset Rotation property. Výběr ručiček Select hands Vlastnosti Properties Rotace Rotation Minutová Minute hand Sekundová Second hand We see that we are nicely composed next to each other, respectively, above each other. Select " Numbers " at the beginning, then press " + " again to select " Hour + Minute markers " Press the "+" button, a list of the elements we can use appears:
#Elements ok on facer creator not on gear s3 install#
