Android happy Snake Game Development tutorial-01 Project Overview, android-01
1. Project Overview
Snake is a classic game and suitable for learning. This tutorial will work with you on an Android version of the Snake game. I have uploaded the completed cases to app Bao. You can download them and try again. To distinguish it from other greedy snakes, I name it "Happy greedy snakes ".
Application tips:
Http://sj.qq.com/myapp/detail.htm? ApkName = net. chengyujia. happysnake
The last two documents are faster, haha.
Everyone should know how to play it, but I 'd like to mention it more. Use the arrow keys on the screen to control the forward direction of the snake. Each time a snake eats a food, its body will grow by a point and its forward speed will also increase. When a snake's head hits a wall or body, the game ends, and the score is the number of foods it eats.
2. Development Environment
Android Studio 2.0 +
3. Prerequisites
This tutorial requires the following preparations:
1. Java basics;
2. Activity and layout files;
3. Commonly Used layout LinearLayout, commonly used controls such as TextView, ImageView, And Button;
4. Data Storage SharedPreferences.
With the above preparations, you can continue the following courses.