Preview of game effect of crazy continuous watching game on Android (I)

Today, I finished Chapter 18 crazy watch in crazy Android handout by Mr. Li Gang, and learned how to write a simple Android crazy watch game.

Developing this popular little game is moderately difficult and can fully stimulate learning enthusiasm. It is a good choice for Android beginners. For the development of the game, we need to focus on mastering the interface analysis and data modeling capabilities of stand-alone games: game players seriously see the game interface, but what they see in the eyes of developers should be the data model. In addition, stand-alone games usually need a more beautiful interface, and the main interface of the game needs to be realized by customizing the view.

In addition to understanding the data model of the game interface, it is also necessary to judge whether the two blocks can be connected. In order to judge whether the two blocks can be connected, it is necessary to classify the positions of the two blocks, and then use different judgment algorithms for different situations. It is also necessary to analyze and deal with them in a structured way of thinking, This is also the key ability to learn this game development.

First, let's take a look at the running effect of the game, as shown below:

1. At the beginning of the game, you can click the "start" button to start the game

2. After clicking the "start" button, the timing text box will be displayed and the timing will start.

3. During the game

4. Game result: success or failure

For specific implementation steps, please refer to the following link:

My advanced journey of Android ------ > Android crazy watch the implementation of the game and develop the game interface (2)

My advanced journey of Android ------ > Android crazy continuous watching of the implementation state data model of the game (3)

My advanced journey of Android ------ > Android crazy watch the implementation of the game, load the interface pictures and realize the game activity (4)

My android advanced journey ------ > Android crazy watch game implementation game logic (5)

Of course: you can click the following link for free download: Android crazy Lianliankan game implementation source code

According to the suggestion, I should submit the code to GitHub. I think it makes sense. Therefore, I applied for a GitHub account in the afternoon and hosted the code, so you can also browse the source code directly in my GitHub and download the source code. Address: https://github.com/ouyangpeng/MyPictureMatching

The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>