July 5, 15 12:16 A.M. Thinking Essays

Source: Internet
Author: User

Now the design part is the data stored in the damage calculation. As for the attribute storage problem of hero in Tauren, I conceived it this way. Create a scene of Gamemanager, and then create a series of methods here, my current project is not related to the link network server, so can only use local storage, then I am now using gamestate, Because the character upgrade will cause the property to change repeatedly and therefore need to repeatedly modify the storage properties, so I will modify the stored data in the process of all put into the method, the params value is defined as the change needs to store the value, so that the data can be more convenient to access. At present, the concept of the first appearance, tomorrow on the Gamemanager code.

July 5, 15 12:16 A.M. Thinking Essays

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.