http://www.kisence.com/2017/05/17/unite-2017-gan-huo-zheng-li-tong-bu-pian/
Unite 2017 Dry Cleaning Sync article
May 17, 2017
Some of the speeches made by Unite 2017 were sorted out.
This article has two parts of frame synchronization and state synchronization.
The content continues to organize.
Frame Sync
Advantages
1. High development Efficiency (note: Especially for some operational details performance requirements of the game)
2. To achieve a stronger sense of shock
3. Steady flow consumption
4. Native Support Offline combat
5. Small video files
Disadvantages
1. High Network requirements
2. Anti-plug ability is weak
3. Disconnection time is very long
4. Logic can optimize more difficult
Implementation Essentials
1. The logical part goes to float the number
2. The component makes the frame Synchronization request transformation
3. Logic has nothing to do with "me"
4. Consistent random number
5. Ability to locate and sync
6. Local interpolation smoothing and performance separation
7.TCP replaced with UDP
Reference Games
1.DOTA
2. Storm hero
3. The Glory of Kings
State Sync
Advantages
1. Very High Security
2. Greater adaptability to network bandwidth and jitter
3. The disconnection is quicker than the connection
4. Client computing is significantly reduced
Disadvantages
1. Development efficiency relative to frame synchronization (note: Especially for some operational details performance requirements of the game)
2. It is difficult for him to make action-type game to strike the sense and accuracy
3. Traffic will increase with the complexity of the game, such as the number of characters
4. Additional development of off-line combat function required
5. Large video files
Implementation Essentials
1. Shadow following algorithm
2.TCP performance is acceptable
3. Send only the data from the client's perspective
4. Double buffer list and frame add and delete
Reference Games
1.dota2
2.LOL
3. Lookout pioneer
Tips
1. There are some places in China where UDP is not connected.
2. The same frequency forward data and exercise