Some Question About Online Quiz Game

hi everyone, I'm in trouble creating quiz system.

In this game, quiz have to display by one character.

But playing online, the sentence cannot synchronize well.

And the speed of displaying is change per player.

To display by character, I used coroutine and RPC.

Give some solution, please.

Answers

  • I would just send the entire sentence as a event or RPC, when the player(s) get the event, store the sentence as a string, and then locally run a coroutine to display each letter of that stored sentence, in theory every player may not see the same letter at the exact same time due to framerate at that point, but trying to sync each letter over the network seems more costly and slower to do since there would be network delay with each letter/RPC and each letter is a new message to the server, which you probably dont want to do