摘要
运用Android手机开发的技术,结合基本游戏开发原理,设计与实现飞行射击的游戏。首先,介绍了开发平台,接着,对游戏进行需求分析和总体设计,设定游戏架构为MVC模式,分为图形绘制系统、数据同步系统、碰撞检测系统、自动射击系统和用户输入系统。最后,重点介绍了游戏各个子系统的设计、核心算法和游戏代码的优化。
Combined with the basic principles of game development, flight shooting game is designed by using technology of An-droid mobile phone development. The development platform is introduced first. Then requirements analysis and system design are discussed. The development mode is set to MVC architecture. The system is divided into a graph drawing system, data synchroniza-tion system, collision detection system, automatic fire system and user input system. Finally, the game focuses on the design of each system, the core algorithm and optimization of game code.
出处
《微型电脑应用》
2014年第6期13-15,共3页
Microcomputer Applications