- Home /
PUN how to make a networked timer
Hello i was wondering whats the best way to create a networked timer? everytime i tried to make a timer the time showed different on every players screen. Thanks!
I would say to RPC Call it and make it Sync with all players. Don't do it locally, but there's tutorials out there on the proper ways to RPC Call different ways, I forget exactly which one it is, but you can learn a lot of functionality from Quil18creates off Youtube with his FPS Tutorials.
It won't talk directly about Timers, however it will give you help with RPC Calling and how to do it the right way.
Answer by Kiwasi · Nov 04, 2014 at 01:17 AM
How accurate do you need the timer?
Time.time should be able to be used within the limits of internet latency. You can run a photon view to drive time from a single client. Or you could use a RPC call to start the timers, then continue to run them locally on all clients.
For something that is more accurate the you will need to look into lockstep networking.
Your answer
Follow this Question
Related Questions
Photon Cloud max players 1 Answer
Client Disconnect with message “Peer Created” - PUN 0 Answers
Photon timer issue 2 Answers
Get Photon View Id of gameobject. 2 Answers
hovering usernames with photon 1 Answer