Best way to sync a lot of objects
Options
Hello,
I am making 1v1, 2D, strategical, physic-based game, where players are trying to defeat the other player's castle by cannons, catapults, etc. At the same time there will be like 100 building wall stones, which have to be preciesly synced, because every destroyed stone will be counted. So, I want to ask, should I use Photon position sync, TrueSync or something else? I will be grateful for any kind of help
I am making 1v1, 2D, strategical, physic-based game, where players are trying to defeat the other player's castle by cannons, catapults, etc. At the same time there will be like 100 building wall stones, which have to be preciesly synced, because every destroyed stone will be counted. So, I want to ask, should I use Photon position sync, TrueSync or something else? I will be grateful for any kind of help
0
Best Answer
-
It seems this the ideal case for using TrueSync deterministic physics. This will avoid the need to sync anything except input. There might be performance issues to be tackled because TrueSync's physics uses FixedPoint numbers, which are a lot slower than floats (but needed for cross-platform determinism). You should try a small prototype to see if it fits your needs...
5
Answers
-
It seems this the ideal case for using TrueSync deterministic physics. This will avoid the need to sync anything except input. There might be performance issues to be tackled because TrueSync's physics uses FixedPoint numbers, which are a lot slower than floats (but needed for cross-platform determinism). You should try a small prototype to see if it fits your needs...
5 -
Sorry @erickpassos , I forgot to thank you, so thanks a lot! Because of your answer I am now building my game on TrueSync and except bad performance it is sure better, than PUN.
Sincerely, Voky0