I want to make a visual reminder of the time left before I regain balance/equilibrium/anything.
Now this is easily done using a timer, set to an interval to match the precision I want. Because I want a gradient to refill an empty bar (full bar meaning 'balance back'), I'll use a 0.1 second timer.
The question is: what would be faster/less restraining for my system? One timer for each bar, or one timer coupled with a BroadcastPlugin?
My reason for using broadcasts is so I can use different plugins for different bars.
I'd like to know if using BroadcastPlugin would eat up loads of CPU, or if it is minimal.
(I'm also toying with the idea of having one timer to serve as a 'heartbeat' for different plugins. Is this viable, considering speed and such?)
Now this is easily done using a timer, set to an interval to match the precision I want. Because I want a gradient to refill an empty bar (full bar meaning 'balance back'), I'll use a 0.1 second timer.
The question is: what would be faster/less restraining for my system? One timer for each bar, or one timer coupled with a BroadcastPlugin?
My reason for using broadcasts is so I can use different plugins for different bars.
I'd like to know if using BroadcastPlugin would eat up loads of CPU, or if it is minimal.
(I'm also toying with the idea of having one timer to serve as a 'heartbeat' for different plugins. Is this viable, considering speed and such?)