Learning notes for Android (4)

Source: Internet
Author: User

In the game, we have no experience in setting up money. We can only use relative values for a simple test. At the same time, we have made some simple plans for the character display area and needed to display some information. We need to define how to deduct the money and the benchmark of the money, and upgrade the city's level, because all of these involve money inflation, which leads to an infinite amount of money for all people, as a result, it is easy to upgrade the city, and it turns around there.

The money system first went through a simple design, made a reference value for a city, multiplied by the number of land, and calculated it in 10 circles. Then, it made a simple addition and subtraction, after a few tests, I got the final amount of money for several roles. This round-robin fine-tuning is really troublesome, and it is not financial at all. It is hard to calculate the exact number. However, after many simple tests, I got a result that I thought was satisfactory.

The source of money is not only paid by others and rewarded by each circle, but there are also some lucky draws and other such prizes. However, such prizes are generally more than prizes, In order to consume the gold coins on hand.

It took a long time to reflect the city level, but I don't know how to reflect it. Finally, it takes a lot of time to render the image according to the star level.

In this process, the view is further understood.

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.