speedcontrol / nodecg-speedcontrol

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.
MIT License
44 stars 34 forks source link

Add better source for the next run(s) #84

Open zoton2 opened 4 years ago

zoton2 commented 4 years ago

Currently we have the runDataActiveRunSurrounding which you can use to check for the next run's ID, but when you switch run it'll update, so if you were referencing this on a graphic, for example an "intermission", the next game then becomes incorrect. Currently in my bundles I wait until the timer has finished for the current run, then update the upcoming run for the intermission so it tends to be correct, but that's my own logic and I'm not sure if I should put that in this bundle or leave it out, or if there's some better logic than that.

zoton2 commented 4 years ago

In my esa-layouts bundle, I have included extension side logic that attempts to automatically set which run is the next run (same as above but also includes a couple other safety checks), but I also have a dashboard panel that can help override that setting if needed (see screenshot below). I'm wondering if it would be useful to bring that over to this bundle? image