LA1TV / Roses-CasparCG-Graphics

Location of CG assets for use during the Roses event
6 stars 8 forks source link

Add Score Progress bar to Roses #90

Closed danleedham closed 6 years ago

danleedham commented 6 years ago

I think I've finally built something that's finished enough to eb added.

User Toggles on Winning Progress which presents a bar on the left hand side .

Displays nothing when at zero, but as we'll be streaming after some points have already scored that's academic.

Works will josn and manual scores.

screen shot 2018-04-10 at 20 10 40

Tested on Caspar Server Beta 2.1.0. Not tested with specific video underneath so might want to change the color of the the 177.5, or pop it in a box etc.

danleedham commented 6 years ago

Is the the points to win likely to change across the weekend?

I had thought of using the fixtures data to count all the points available, then do the math but was worried that could lead to errors if the data wasn't perfect.

The available variable doesn't actually do anything, it was just if I wanted to use the current amount of points currently scored. I'll remove it for the absence of doubt.

Is the total points available not always (toWin x2 ) - 1 ?

stephenrob commented 6 years ago

We can look at possibly pulling the total points available from roseslive once i've evaluated the code but for now this can be merged in.