Hello, In the game I'm making in my game loop I need some things to happen at certain time during the match every time
Like move counters to x position on 10 second mark, on 20 second mark change lighting, etc etc
And I need it to be tick accurate/happen for everyone at the same time
What's the best approach for it? Right now I can think of 2 approaches
-
make 1 big animation/timeline for my game loop that will fire events/ change the value of objects I need depending on the game clock and play things locally
-
Make a list of all the events and the time they need to be fired at and send them over the RPC (personally I don't think this is correct approach or this one get messy but I might be wrong)
Is there a better approach? Need help