• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Display image instead of SECONDS

Archive closed topics

Moderators: Internal error, Watchmens

Locked
0v3rl0rd
WF maker
Posts: 4
Joined: 18 Nov 2018, 13:19
Contact:

Display image instead of SECONDS

Post by 0v3rl0rd »

I created a simple BIP watchface and I wanted to make a "walking Mario".
The idea was to create it instead of "SECONDS ONES".

I'm using these tools:
- amazfitbiptools.1.0.3.1
- amazfit bip wf editor ilgruppotester v1024

The watchface shows up correctly in these tools but it doesn't work when uploaded to my BIP.

The problem is that the lower half of the mario picture is static, and the botom is "moving" but it cuts the rest of the line along from left to right of the BIP display.

Any suggestions to make it working?


Here is the link to my WF: Mario walk TEST
savethedinosaurs

Post by savethedinosaurs »

I've been trying to figure out simple animations with seconds too, and I have a few theories. If anyone knows more details or has corrections please comment:

1) There seems to be a pixel size limit vertically. Something like 40 pixels tall max, but I haven't tested this fully. (* * * EDIT: It's 24 pixels max for height, info via TXK below * * *)
2) You need to use both Seconds 'ones' and 'tens' and they need to be on the same horizontal lines (same Y value). You can use blank/transparent images for the 'tens' if you don't want it to display anything, but without the tens present the pixels won't update for either one. And it only updates along the Y lines that the tens occupy. (horizontally)
3) Like you said, it looks like it affects the full lines left/right, and it depends on the 'tens' Y position. Also it is only within that 40 pixel height.
4) It was mentioned in another thread that using seconds will drain the Bip battery faster because it runs all the code every second rather than only every minute :\

By the way, both of the wf editors have some issues that don't match up exactly with the Bip. For example, the ilgruppotester editor will give 'invalid code' errors preventing you from doing some things that the Bip can actually do. The Vlack editor also has some quirks like it shows some depth-sorting in the opposite way the Bip does (Activities). So try both editors if you run into problems.
Last edited by savethedinosaurs on 20 Nov 2018, 09:04, edited 2 times in total.
0v3rl0rd
WF maker
Posts: 4
Joined: 18 Nov 2018, 13:19
Contact:

Post by 0v3rl0rd »

Thank You for Your answer.

1) Pixel size limit vertically - I thought about it also, but as You can see from my WF, the picture that I try to "make it move" it's 32x30 pixels.

2) About using both "tens" and "ones" - I also figured out that without using tens, the ones won't display at all.
As for a blank "tens" - I uploaded a new version in which I made a transparent png of 32x30 pixels and I put it in the same XY as the "ones" - no success at all.

4) About battery - to be honest, at this point I don't care :D I'd just like to make it work, and than we'll see how does it affect battery life


Regarding the WF editors - yeah, I can see that the ilgruppotester editor has some bugs but I'm not that much into it to find out which bugs there are present. The same goes for the v1ack editor.


If You figure the solution to this problem please let me know.

Thank You once again :)
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post by TXK »

"Image for the seconds digits, height can not exceed 24 pixels. If it exceeds 24 pixels, it will be cut by the watch system。"
0v3rl0rd
WF maker
Posts: 4
Joined: 18 Nov 2018, 13:19
Contact:

Post by 0v3rl0rd »

TXK wrote: 20 Nov 2018, 01:12
"Image for the seconds digits, height can not exceed 24 pixels. If it exceeds 24 pixels, it will be cut by the watch system。"

It makes sense... I'll try that one later today.
It comes to my mind that it must have something to do with the slow refresh rate of the BIP :)

Can You tell me where You got that "24 pixels limit" info from? Any specification guide or something like that?
savethedinosaurs

Post by savethedinosaurs »

Thanks TXK. It's too bad it's such a small size. We can use that for animating parts of images, i guess. You could make Mario the original 1:1 pixel size, though it'll be pretty small.

Yeah BIP documentation would be really great to have!
savethedinosaurs

Post by savethedinosaurs »

I wonder if it's possible to modify the firmware and increase the size limit.
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post by TXK »

savethedinosaurs wrote: 20 Nov 2018, 10:49
I wonder if it's possible to modify the firmware and increase the size limit.
Not only the height limit, but also the following restrictions:

The whole row of seconds'digital height (from left to right), will be forced to clear all images, icons and watch pointers except the time number and background image.

Ten-digit and one-digit numbers of seconds must be on the same line, and two types must exist at the same time in order to work.

This is the result of my own test.
0v3rl0rd
WF maker
Posts: 4
Joined: 18 Nov 2018, 13:19
Contact:

Post by 0v3rl0rd »

savethedinosaurs wrote: 20 Nov 2018, 09:02
Thanks TXK. It's too bad it's such a small size. We can use that for animating parts of images, i guess. You could make Mario the original 1:1 pixel size, though it'll be pretty small.Yeah BIP documentation would be really great to have!
Ah, yes, that BIP documentation would be nice to have indeed...

About Mario... even that original Mario image is exactly 32x30 pixels xD
savethedinosaurs

Post by savethedinosaurs »

I meant those sprites of Mario are 2x sized. I shrunk them down to 1x. Mario will be very small, but you can try it:

Image

Image
limaalfa11

Post by limaalfa11 »

I am searching for somebody who can create for me watchface and help me to implement that to stratos. I know how it should look exactly - i have a picture. it's very simple design but the main problem is that instead of second i want to have figure, statue there, as on the picture. Do any one of you know if that is possible? Can anyone help me with this? Of course I can pay for that:) it's my dream to have like that watch
Spoiler
Image
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post by TXK »

Https://amazfitwatchfaces.com/bip/view/21915

Sorry, the number in seconds is still not supported to be higher than 24 pixels.

However, you can use the second pointer to refresh the large number of seconds.
Last edited by TXK on 20 Mar 2019, 11:38, edited 2 times in total.
User avatar
romstemp
WF maker
Posts: 54
Joined: 19 Jul 2018, 10:02
Has thanked: 9 times
Been thanked: 39 times

Post by romstemp »

TXK wrote: 19 Mar 2019, 09:18
Https://amazfitwatchfaces.com/bip/view/21915

The latest firmware version of the watch supports the seconds of the larger picture (the height of the picture can exceed 24 pixels)
I tested the last firmware (firmware 1.1.5.16) it's still show seconds image on the watchface only 24 pix.

Image

This watchFace can show the seconds in larger image because the maker use analog seconds to refresh screen.
Normally, the seconds image is on the screen according to the actual size but will display on the watchface only 24 pix.
But every time when the screen was refresh the seconds image will show full image

code ( Https://amazfitwatchfaces.com/bip/view/21915 )

Code: Select all

{
    "Background": {
        "Image": {
            "X": 0,
            "Y": 0,
            "ImageIndex": 0
        }
    },
    "Time": {
        "Hours": {
            "Tens": {
                "X": 107,
                "Y": 47,
                "ImageIndex": 1,
                "ImagesCount": 10
            },
            "Ones": {
                "X": 135,
                "Y": 47,
                "ImageIndex": 1,
                "ImagesCount": 10
            }
        },
        "Minutes": {
            "Tens": {
                "X": 107,
                "Y": 96,
                "ImageIndex": 11,
                "ImagesCount": 10
            },
            "Ones": {
                "X": 127,
                "Y": 96,
                "ImageIndex": 11,
                "ImagesCount": 10
            }
        },
        "Seconds": {
            "Tens": {
                "X": 165,
                "Y": 0,
                "ImageIndex": 21,
                "ImagesCount": 10
            },
            "Ones": {
                "X": 0,
                "Y": 0,
                "ImageIndex": 31,
                "ImagesCount": 10
            }
        },
        "AmPm": {
            "X": 162,
            "Y": 64,
            "ImageIndexAm": 22,
            "ImageIndexPm": 23
        }
    },
    "Activity": {
        "Steps": {
            "TopLeftX": 140,
            "TopLeftY": 154,
            "BottomRightX": 182,
            "BottomRightY": 163,
            "Alignment": "TopLeft",
            "Spacing": 2,
            "ImageIndex": 41,
            "ImagesCount": 10
        },
        "Pulse": {
            "TopLeftX": 140,
            "TopLeftY": 138,
            "BottomRightX": 164,
            "BottomRightY": 147,
            "Alignment": "TopLeft",
            "Spacing": 2,
            "ImageIndex": 41,
            "ImagesCount": 10
        }
    },
    "Date": {
        "MonthAndDay": {
            "Separate": {
                "Month": {
                    "TopLeftX": 126,
                    "TopLeftY": 7,
                    "BottomRightX": 141,
                    "BottomRightY": 16,
                    "Alignment": "TopLeft",
                    "Spacing": 2,
                    "ImageIndex": 51,
                    "ImagesCount": 10
                },
                "Day": {
                    "TopLeftX": 151,
                    "TopLeftY": 7,
                    "BottomRightX": 166,
                    "BottomRightY": 16,
                    "Alignment": "TopLeft",
                    "Spacing": 2,
                    "ImageIndex": 51,
                    "ImagesCount": 10
                }
            },
            "TwoDigitsMonth": true,
            "TwoDigitsDay": true
        },
        "WeekDay": {
            "X": 112,
            "Y": 20,
            "ImageIndex": 61,
            "ImagesCount": 7
        }
    },
    "Battery": {
        "Icon": {
            "X": 112,
            "Y": 145,
            "ImageIndex": 68,
            "ImagesCount": 6
        }
    },
    "AnalogDialFace": {
        "Seconds": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 56,
                "Y": 111
            },
            "Shape": [
                {
                    "X": -3,
                    "Y": -3
                },
                {
                    "X": 1,
                    "Y": -4
                },
                {
                    "X": 2,
                    "Y": 3
                },
                {
                    "X": -3,
                    "Y": 2
                },
                {
                    "X": -3,
                    "Y": -1
                }
            ]
        }
    }
}
-----------------------------------------------------------------------------------------------------------------

My test use "seconds one" + "analog seconds" to show seconds image over 24 Pix
Super Mario Version 1.0.3E12HRs_walk with seconds one + analog second.gif
Super Mario Version 1.0.3E12HRs_walk with seconds one + analog second.gif (39.46 KiB) Viewed 2890 times
https://amazfitwatchfaces.com/bip/view/10598
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post by TXK »

romstemp wrote: 20 Mar 2019, 02:55
TXK wrote: 19 Mar 2019, 09:18
Https://amazfitwatchfaces.com/bip/view/21915

The latest firmware version of the watch supports the seconds of the larger picture (the height of the picture can exceed 24 pixels)
I tested the last firmware (firmware 1.1.5.16) it's still show seconds image on the watchface only 24 pix.

Image

This watchFace can show the seconds in larger image because the maker use analog seconds to refresh screen.
Normally, the seconds image is on the screen according to the actual size but will display on the watchface only 24 pix.
But every time when the screen was refresh the seconds image will show full image

code ( Https://amazfitwatchfaces.com/bip/view/21915 )

Code: Select all

{
    "Background": {
        "Image": {
            "X": 0,
            "Y": 0,
            "ImageIndex": 0
        }
    },
    "Time": {
        "Hours": {
            "Tens": {
                "X": 107,
                "Y": 47,
                "ImageIndex": 1,
                "ImagesCount": 10
            },
            "Ones": {
                "X": 135,
                "Y": 47,
                "ImageIndex": 1,
                "ImagesCount": 10
            }
        },
        "Minutes": {
            "Tens": {
                "X": 107,
                "Y": 96,
                "ImageIndex": 11,
                "ImagesCount": 10
            },
            "Ones": {
                "X": 127,
                "Y": 96,
                "ImageIndex": 11,
                "ImagesCount": 10
            }
        },
        "Seconds": {
            "Tens": {
                "X": 165,
                "Y": 0,
                "ImageIndex": 21,
                "ImagesCount": 10
            },
            "Ones": {
                "X": 0,
                "Y": 0,
                "ImageIndex": 31,
                "ImagesCount": 10
            }
        },
        "AmPm": {
            "X": 162,
            "Y": 64,
            "ImageIndexAm": 22,
            "ImageIndexPm": 23
        }
    },
    "Activity": {
        "Steps": {
            "TopLeftX": 140,
            "TopLeftY": 154,
            "BottomRightX": 182,
            "BottomRightY": 163,
            "Alignment": "TopLeft",
            "Spacing": 2,
            "ImageIndex": 41,
            "ImagesCount": 10
        },
        "Pulse": {
            "TopLeftX": 140,
            "TopLeftY": 138,
            "BottomRightX": 164,
            "BottomRightY": 147,
            "Alignment": "TopLeft",
            "Spacing": 2,
            "ImageIndex": 41,
            "ImagesCount": 10
        }
    },
    "Date": {
        "MonthAndDay": {
            "Separate": {
                "Month": {
                    "TopLeftX": 126,
                    "TopLeftY": 7,
                    "BottomRightX": 141,
                    "BottomRightY": 16,
                    "Alignment": "TopLeft",
                    "Spacing": 2,
                    "ImageIndex": 51,
                    "ImagesCount": 10
                },
                "Day": {
                    "TopLeftX": 151,
                    "TopLeftY": 7,
                    "BottomRightX": 166,
                    "BottomRightY": 16,
                    "Alignment": "TopLeft",
                    "Spacing": 2,
                    "ImageIndex": 51,
                    "ImagesCount": 10
                }
            },
            "TwoDigitsMonth": true,
            "TwoDigitsDay": true
        },
        "WeekDay": {
            "X": 112,
            "Y": 20,
            "ImageIndex": 61,
            "ImagesCount": 7
        }
    },
    "Battery": {
        "Icon": {
            "X": 112,
            "Y": 145,
            "ImageIndex": 68,
            "ImagesCount": 6
        }
    },
    "AnalogDialFace": {
        "Seconds": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 56,
                "Y": 111
            },
            "Shape": [
                {
                    "X": -3,
                    "Y": -3
                },
                {
                    "X": 1,
                    "Y": -4
                },
                {
                    "X": 2,
                    "Y": 3
                },
                {
                    "X": -3,
                    "Y": 2
                },
                {
                    "X": -3,
                    "Y": -1
                }
            ]
        }
    }
}
-----------------------------------------------------------------------------------------------------------------

My test use "seconds one" + "analog seconds" to show seconds image over 24 Pix
Super Mario Version 1.0.3E12HRs_walk with seconds one + analog second.gif
https://amazfitwatchfaces.com/bip/view/10598

Sorry, the number in seconds is still not supported to be higher than 24 pixels.

However, you can use the second hand to refresh the large number of seconds.
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 2 guests