The journey to getting started with j2_2d games (7) is far from enough. What do you think?

Source: Internet
Author: User
7. What do you think?
The game has taken shape. Just make yourself a cup of coffee. Well, forget it. Caffeine is not good for the next generation.
After reading all the above, what do you think? Do not say no. You must be as excited as I do with the excitement and numerous questions of completing clone. The question about gameplay, game engines, and so on comes one after another. You may even wonder if there is a market for such a game? Let's get bored before going to bed.
System architecture
In the future, our games will not go straight as they are now. We need a welcome page, loading waiting, help, screen switching, and so on. At that time, our Navigate was not the current one.
By the way, let's talk about the problem of screen switching. We are writing mobile games, but mobile phones are not just playing games. When we receive text messages and answer the phone, the operation of the game is interrupted, and our main program is running in a thread, he will not stop, and in startApp, we cannot directly switch the game screen to gamecanvas. You need to record the screen just now and write the corresponding interrupt and recovery programs for each screen.
Game Architecture
Whether to separate model from view and introduce mvc is a question to be considered.
Game Module
I have mentioned more than once the state machine. In my eyes, gameObject is a state machine. It communicates with the outside world based on fixed interfaces and constantly changes its state. Our game is too simple, so it is not designed as a state machine. Observe a game that you think is good, and you will find some clues to figure out the implementation behind it. Every time I open tft, there is always a very comfortable feeling. I can't imagine how to complete such a work without good encapsulation and design.
Bug?
There should be many, such as planes that can fly out of the boundary.
......
No matter whether you agree or not, the games on mobile phones are not as good as I have 486 games. There is no sound and light effect (I think it is also called sound), there is not a large screen, there is no good computing speed, and there is not enough memory space; this has plagued you and me with numerous developers' headaches. So frankly speaking, it is too far away from all the good tomorrow. We are also lacking in our creativity. We are constantly repeating some small games we have played on pc. So now you are not greedy for money. To be honest, if you are a player, you will be willing to spend money to buy a mobile game with just a nice name? Therefore, if you are a developer and a creative person, you should think carefully. What you are dealing with is far less than a gb mobile device. Even ten years later, when the mobile phone computing speed reaches the current pda level, the small screen remains a problem. In addition, operators regard mobile applications as a magic weapon to make money. I always feel that they want to students, but they do not have an open platform... The development threshold is too high, and the consumption threshold is too high... We do not want another mms
However, a mobile phone is a mobile communication device and must take full advantage of its expertise to survive. The network is the only life-saving device! I do not advocate that standalone applications do not have a market, but that standalone games need a good paid platform and service platform to survive. Network applications are also why you and I were eager to join this industry, right ??

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.