Problems to be solved in mobile game development

Source: Internet
Author: User

Mobile games is now a lot of teenagers are more enthusiastic about the small game, now engaged in mobile phone game development of people are more and more, to smooth the development of mobile games, developers need to solve the problem or more. The following is a detailed introduction to the mobile game development process should be focused on the problem to solve.

 First, problem: volume problem. The worst case scenario for a mobile game is that you can't turn off or lower the game volume right away in a public setting. For a time, everyone knows that you prefer to act violent in mobile games, which may have a certain effect on your career. What is the problem? By default, the volume buttons of most Android devices can control the ringing volume. During the development of mobile games your app must set the volume button to a super-class state so that it remains valid while the game is running. In the development process of mobile game to set these keys to control the game volume, you need to call Setvolumecontrolstream. As previously mentioned, what you need to do is to add these keys to the mobile game architecture so that users can control the audio in a standard and appropriate way.

second, the problem: the back key. mobile game development process to take into account, I am playing mobile games, accidentally press the back button. This may be the following bad situation: (1) mobile phone game directly out, the player lost the current game state, causing its abnormal anger (game State Note: solution See issue 1). (2) Mobile games have no response. What is the problem? We already know the problem of the 1th situation. In essence, this is a kind of data loss phenomenon. So where is the problem with the 2nd situation? The back key is an essential part of the Android navigation paradigm. If the back key does not allow the game to return to the previous screen of the active class (game state Note: or mobile game Class), there must be some reason, for example, that the active file does not have the ability to store sketches. Solutions If a user is in the process of developing a mobile game, it is natural to render a dialog box confirming user behavior, such as "Are you sure you want to quit now?" The Little monster looks hungry. ”

From the above article you can know the mobile phone game development process should focus on the problem to solve. Hope that the content of this article for you want to engage in mobile phone game development of people better mobile game development can have a certain degree of help.

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.