• 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.
     

Questions regarding StepsProgress/Heart

Archive closed topics

Moderators: Internal error, Watchmens

Locked
Besiuk
WF maker
Posts: 1
Joined: 14 Jul 2019, 15:08
Contact:

Questions regarding StepsProgress/Heart

Post by Besiuk »

Hi everyone,

I've downloaded a couple of watch faces to understand how things work, and I'm now in the process of creating one by myself.
So what I'm trying to achieve is to recreate the classic Splinter Cell HUD as the HeartBeat & Step Counter.

This is how it looks in game:
sc-ingame.png
sc-ingame.png (73.22 KiB) Viewed 433 times
And this is what I got so far:
splinter-cell-en_packed_animated.gif
splinter-cell-en_packed_animated.gif (103.32 KiB) Viewed 433 times
There are some show stoppers I don't really understand.
  • Are the Step Counter segments limited to a specific number? I've created 18 segments, but it only shows 16.
  • Is there any chance to just move one segment (along coordinates) instead of adding more?
  • What for is the Heart->Scale parameter? Does it just show the bpm as a visual segment? Would like to use it as a single segment as well.
Also, I'm getting rendering errors as soon as I add my step function. Here is my code for that part, maybe someone will see an obvious error I missed:

Code: Select all

"StepsProgress": {
		"Linear": {
			"StartImageIndex": 87,
				"Segments": [
					{
					  "X": 14,
					  "Y": 174
					},
					{
					  "X": 19,
					  "Y": 174
					},
					{
					  "X": 24,
					  "Y": 174
					},
					{
					  "X": 29,
					  "Y": 174
					},
					{
					  "X": 34,
					  "Y": 174
					},
					{
					  "X": 39,
					  "Y": 174
					},
					{
					  "X": 44,
					  "Y": 174
					},
					{
					  "X": 49,
					  "Y": 174
					},
					{
					  "X": 54,
					  "Y": 174
					},
					{
					  "X": 59,
					  "Y": 174
					},
					{
					  "X": 64,
					  "Y": 174
					},
					{
					  "X": 69,
					  "Y": 174
					},
					{
					  "X": 74,
					  "Y": 174
					},
					{
					  "X": 79,
					  "Y": 174
					},
					{
					  "X": 84,
					  "Y": 174
					},
					{
					  "X": 89,
					  "Y": 174
					},
					{
					  "X": 94,
					  "Y": 174
					},
					{
					  "X": 99,
					  "Y": 174
					} 
			]
		}
	},
Maybe someone of you already figured out some of my questions, so thanks in advance ;)
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 »

I haven't done the progress bar of MI BAND 4. I've done it in other dial systems before. It seems that only 16 segments are supported.

The number of fragment images needs to be as large as the number of coordinate groups.

Heart - > Scale is another parameter that can be understood by referring to the code of other dials.
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 1 guest