Yincognito wrote: ↑February 26th, 2024, 10:05 am
So, as far as I could tell, the issue has been COMPLETELY solved, correct? Using an Update of 1000 and a corresponding max value in the formula, that is. I don't like to let stuff half done, if by any chance that's the case.
P.S. Forgot to say earlier but the "960" value I suggested for the Update of 60 will vary from computer to computer, depending also on how busy the CPU is. This is why it was an approximation. Of course, neither Update nor the max value are set in stone, but they MUST suit / relate to one another, so that the timing math checks out.
Not completely, she's still having problems with the roundline desynchronizing after some time. To me, this might be due to the counter [MeasureBar] not starting from 0, it quickly jumps to 1 after clicking on the play button. Which makes the math incorrect. I don't really know how to make it start from 0 to be honest, maybe you could help with that.
Captura de pantalla (60).png
Actually, now that I say that, the fix should be changing MinValue=0 to MinValue=1 on [MeasureBar].
Carlota, intenta cambiando MinValue=0 a MinValue=1 y MaxValue=60 a MaxValue=61 en [MeasureBar] a ver si eso le quita lo ebrio.
Ya lo dejé andando un rato así y funciona bien:
Captura de pantalla (62).png
Olvidalo, causa problemas al pausar, ya encontré la solución, no me había percatado de el measure [CalcElapsedSeconds]. Se puede usar el valor de ese measure en lugar del counter. Haz lo siguiente:
Remplaza MeasureName con
MeasureName=CalcElapsedSeconds en [MeterSeconds]. Esto hará referencia al valor de el calculo del measure [CalcElapsedSeconds]. Te queda así:
Code: Select all
[MeterSeconds]
Group=Meters
Meter=Roundline
MeasureName=CalcElapsedSeconds
X=r
Y=r
StartAngle=(-PI/2)
RotationAngle=(2*PI)
LineStart=54
LineLength=58
LineColor=f9932e
Solid=1
AntiAlias=1
Ahora agrega
MinValue=0 MaxValue=60 a [CalcElapsedSeconds], debe quedar así:
Code: Select all
[CalcElapsedSeconds]
Group=Meters
Measure=Calc
Formula=Floor(MeasureElapsedTime / 10) % 60
RegExpSubstitute=1
Substitute="^(\d)$":"0\1"
MinValue=0
MaxValue=60
y borra [MeasureBar] por completo, ya no es necesaria.
También borra los bangs relacionados a [MeasureBar] en las variables ActionPlay y ActionPause (
[!EnableMeasure MeasureBar], [!UnpauseMeasure MeasureBar] y [!PauseMeasure MeasureBar])
Esto lo debe resolver de una vez por todas.
I didn't notice the CalcElapsedSeconds measure, the fix was just to use the Update=1000 and that measure instead of the counter for the roundline.
You do not have the required permissions to view the files attached to this post.