Pagina 1 di 1

Watchface Capabilities Questions

Inviato: 01 mag 2020, 20:20
da Xenrid
Hello,

I'm in the process of switching from a Pebble Time to an Amazfit Bip. One of the reasons I chose the Bip was because it has several recreations of my favorite Pebble Time watchface, called "Enigma". Enigma is a fairly minimal watchface, that's basically just 5 rows and 4 columns of numbers, with the top and bottom rows being only partially visible and containing dummy numbers that don't represent actual data. When the time changes, the applicable columns scroll like the dials on a slot machine to transition to the new time. I was a bit disappointed to find that the recreations of the Enigma watchface for the Bip don't have this slick animation effect so I started looking at how they are made and working on my own 12hr version with numbers closer to the Pebble Time version. This has left me with several questions.
  • Is there any way to create animations? Ideally, I'd just like to incrementally change Y values for numbers, but I haven't found any watch faces that do this, which I could use as a reference. I did find the following example json code for the Mi Band 4, but I don't know if the Bip is capable of using it, so please let me know if there is a Bip watchface using this that I could look at:

    Codice: Seleziona tutto

      "Other": {
        "Animation": {         //this is where cool animations go. depending on image size, color and quantity the watch face can be laggy and drain battery faster
          "AnimationImage": {
            "X": 0,
            "Y": 20,
            "ImageIndex": 30,
            "ImagesCount": 10,
            "X3": 0
          },
          "Speed": 0,
          "RepeatCount": 1000,
          "x2": 200
        }
      },
  • Is there any way to use milliseconds? I imagine this would be hard on battery life, but if there is no way to do true animations on the Bip, using graphics changes by seconds will be too slow to create smooth transitions.
  • Is there a way to trigger events at certain time transitions? The original Enigma would scroll Y values for numbers independently for minutes ones, minutes tens, hours ones, and hours tens whenever their values changed.
  • Is there a way specify leading zeroes for step count without resorting to just placing them on a background image and covering them with subsequent numbers? Something similar to the code used to display 2 digits for months and days would be ideal, but I'm guessing nothing like this exists for step count:

    Codice: Seleziona tutto

    "TwoDigitsMonth": true,
    "TwoDigitsDay": true
  • Is there a way to specify Z-index values for watchface elements, or are there any elements that appear on top of time graphics? For that matter, what is the default Z-index order for watchface elements? Alternatively, can unique graphical elements be created? The original Enigma watchface has darkened areas at the top and the bottom of the display, which I'm attempting to achieve via a checkerboard pattern with a Z-index that puts it on top of everything else visible. The Bluetooth graphic looks like it is on top of steps and day/month, but not on top of the time. I did find "DrawingOrder" in a few places, but no explanation of how it works or what "1234" means, just warnings that it doesn't work with the Mi Band 4:

    Codice: Seleziona tutto

    "DrawingOrder": "1234"
  • Is there a way to create two separate time displays without resorting to graphics tricks? When I tried add a second hour display, the first one disappeared. I was hoping to use something like this to create the dummy numbers at the top and bottom of the watchface, but I imagine there would be use for this if someone wanted a watchface that showed two different time zones or to show both 24hr and 12hr time.
I'm guessing a lot of this just isn't possible on the Bip, but I plan on getting my version of the Enigma watchface as close as possible either way, so advice, direction, or examples on any of these items would be greatly appreciated.

Re: Watchface Capabilities Questions

Inviato: 02 mag 2020, 08:27
da TXK
Your wish is hard to achieve. Because the watch system doesn't support the function you like. All the available functions are on the existing dial. There are no more undiscovered features.

1、BiP watch supports unlocking animation, but there is no [simple] third-party unpacking and packaging tool available. There is only one official complex production tool:
https://bbs.huami.com/thread-24721-1-1.html
Standard for making dial resources.zip
(1.02 MiB) Scaricato 51 volte
2、There are some very skilled dials available:
https://amazfitwatchfaces.com/bip/view/34444
https://amazfitwatchfaces.com/bip/view/26467
https://amazfitwatchfaces.com/bip/view/7825

Re: Watchface Capabilities Questions

Inviato: 02 mag 2020, 10:02
da RoughEden
Hi... i’ve got problem too when trying to replace the face. Mine is Trex.. everytine i want to change the face, the app crashed. Tis problem started today. 😔

Re: Watchface Capabilities Questions

Inviato: 08 mag 2020, 03:25
da Xenrid
Hey TXK,
Thanks for the response and the links. I'm not terribly surprised to hear that what I want to do is hard or impossible to achieve on the Bip. If I'm understanding correctly, you're saying that the Bip supports animations for "unlocking", but packing and unpacking watchfaces containing such animations is not supported by any of the simple third party tools like AmazfitBipTools. It is only possible to create watchfaces containing such animation via the official and complex production tool, for which you provided a link (thank you!). Is that correct?

I've used tools to (passably) translate the forum thread and the documentation for the tool into my native (English) language. The translated version of the document says "Up to two sets of animations can be supported", which would probably indicate that this feature wouldn't of be much use for my intended purposes anyway, as I would need to create, at the very least, separate scrolling animations for 0-9. Two animations wouldn't cut it unless there were some way to start and stop the animation at specific frames. I'd much prefer a way to manipulate placement values for static images at set intervals, but that capability doesn't appear to exist. I'll continue to peruse through the documentation and other included files to see if I can make sense of something useful in it, but my expectations are low.

The "skilled dials" you linked to are nice. Thank you for pointing me to them. They do seem to use the trick of layering images on top of other images to produce the desired effect. I wish there was a more elegant way achieve the same results, but we can only use the tools we have been given in the end. I'm still not clear on the default drawing order works or what the difference is between "1234" vs "4321", but now I'm guessing this indicates whether higher numbers appear on top of lower ones or lower numbers appear on top of higher ones. I guess I'll have to experiment to verify this.

If anyone has answers to any of my other questions, I'd still really appreciate the help. I'd especially like to know if there is a way to create leading zeroes for steps without layering images on top of each other, but I'm guessing from TXK's response that neither this nor any of the other capabilities I've enquired about are supported.

As I stated earlier, when I have the time, I'll at least complete and release a version of the Enigma watch face with numbering closer to the Pebble Timer version; maybe even a couple of versions. I'll just be a little sad that it doesn't include the slick transition animations from the original. If I can figure out the unlock animation stuff though I'll include something using it, so if anyone can point me to better documentation or examples, that would be great.