I am looking for ideas on how best to execute this.
We are doing a live lottery system for a client. There will be a YouTube Live stream, a chat box, etc, and an estimated 200 or so people watching.
When a name is drawn, I want everyone’s client to update at more or less the same time, with a flashy and satisfying animation (courtesy of Lottie). I also want it to be as light as possible (on the server) because again, there will possibly be 200 or so people on at the same time. We’ve had about 200 people on a Bubble site at the same time in the past but never doing something as interactive as this.
The method I’m considering:
“Do when condition is true” that looks for a new item being appended to the end of a list, relative to either when the page was first loaded or when the previous item was drawn.
When it detects this, it will temporarily hide the last item of the “winners” RG so as not to spoil the winner before the animation plays, then play the animation, then reveal the winner and unhide the last item of the RG.
Any ideas to make this better?
Thanks!