Unite 2017 Dry-cleaning Sync article _unity

Source: Internet
Author: User

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




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.