LuoYunqing
[Abstract] The game, which is already one of the most popular entertainment, brings us a lot of fun.A lot of big games are great (plot, graphics, sound effects, etc.), but it takes time. So a simple, playable game is also very popular.This game is in Windows 7, with Visual Studio 2013 as the editor, in c + + as the scripting language, and a flying shooter game designed by the Unity3D game engine. Mainly implements a simple flight shooting, recruit, UI text display function, but not too much pains in the interface and the picture and sound effects, can realize the basic function of the game, and game for hardware requirement is not high also, entertainment and games also is better. It's a casual game that is simple and fun to play, and it's a great way to bring happiness to people.
[Key word] Game design, Unity3D, Flying shooter games
Thefirstchapterispreface
Development background:Since twenty-first Century, the development of the computer in all walks of life blossom everywhere. People use computer conveniently and quickly complete their daily needs, the development of the game is followed by the development of the computer. A simple, fun good game in addition to meet the needs of daily work spirit, also can bring profits. My idea is to let people work to relax, so the design of this machine, called "Astro fury" flight shooting game.
Research purpose and significance:Now there are a lot of flight shooting game on the market, but most of the games, to recharge, various means of profit, bring bad effects to the game experience. The main role and significance that I make of this game is to let people can relax the effect of playing the game.
Rlated development tools:
Script editor: Visual Studio 2013
The development of language: C++ language
Game engine: Unity3D
Thesecondchapterisfeasibilityanalysisanddemandanalysis
Technical feasibility analysis:
This game is a Unity3D game engine as the game framework, and then use the c++.VS2013 development can refer to the relevant knowledge to become familiar with.Unity3D is a fully integrated professional game engine in the VS2013 compiler environment, to use special technology easy, no problem.
Economic feasibility analysis:
The cost of the game is only the cost of developers, so the cost is not high.
Feasibility analysis of operation:
On the market of mobile phone games are able to meet the operating conditions.
Requirement analysis:
The game requires a game player control of the small plane, small plane is the value of life, can be fired bullets hit the enemy, and to avoid enemy aircraft bullets, if small aircraft was hit will reduce the value of life, life value is 0, the failure of the game. The game has five levels, level finally, there is a Boss, its life value is higher than that of other aircraft, can launch more bullets, if the game player control of the small plane finally destroyed Boss, the game victory.
When running the game to a small plane is flying out of the screen are detected, if the flying out of the screen, you also need to re set the position. Aircraft and aircraft, bullets and bullets. Aircraft and bullet collision detection. If a collision occurs, the game player small aircraft and enemy life were calculated to see if it is destroyed.
A small plane is flying straight, and Boss has its own mobile characteristics. At the same time, it is also necessary to check whether the enemy aircraft and the enemy bullets are flying out of the screen and do the same.
Thethirdchapteristhedesignofthegame
The game designed three types of aircraft, aircraft have the value of life can be fired, the aircraft was hit when the value of life is reduced, the value of life is reduced to 0 aircraft, aircraft were destroyed.
This game is a single PC casual game, simple is divided into four modules: display module, control module, data processing module, data storage module.
Each module and function:
Display module: the game process and the content displayed on the screen, the transmission control information and other game player input to the data processing module, display on the screen in the processed data.
Data processing module: the data sent by the control module is processed and transferred to the display module.
Control module: the course of the game, to identify a number of game player operation information input, the data transmission to the identification data processing module.
Data storage module: the number of enemy planes stored in each area, the location, the difficulty and other information.
Thefourthchapterofthegame
In the front is the logic and functional design of the game, and the implementation phase of the game will be based on the results of the previous, the abstract design into physical implementation.
Implementation step:
(1)Installation environment
(2)Create project
(3)Resource import
(4)Create game scenes.
(5)Perfabs fabrication.
(6)Add game objects
(7)Collision implementation
(8)Add UI
Thefifthchaptergametest
After the test, the game does not have what problem, design and implementation of the game.
參考文献
[1]Bjarne Stroustrup(著),裘宗燕(译 ).C++语言的设计和演化[M],北京:机械工业出版社,2002.
[2]王少峰.Visual Studio 数据库开发技术与工程实践[M].北京:人民邮电出版社,2009.
[3]钱乐秋,赵文耕,牛军钰.软件工程[M].北京:清华大学出版社,2007.
[4]伍俊良,宋编.C#课程设计与系统开发案例[M].北京:清华大学出版社,2010.
[5]王道义,乔陶鹏,李颖鹏,宁德强.Visual Studio 使用详解[M].北京:机械工业出版社,2009.